BizTalk Utilities CV ,   Jobs ,   Code library
 
Go to the front page to continue learning about XML or select below:

Contents

ReBlogger Contents

Previous posts in XML

 
 
Page 16063 of 17517

Introducing xmlidfilter: A SAX XMLFilter for xml:id Processing

Blogger : Java Web Services and XML Community Announcements
All posts : All posts by Java Web Services and XML Community Announcements
Category : XML
Blogged date : 2005 Jan 19

xmlidfilter: A SAX XMLFilter for xml:id Processing

The xml:id Filter is a SAX 2 XMLFilter that performs xml:id processing. It is a complete implementation within the constraints imposed by SAX and the caller:

  • If the SAX Attributes does not support the isDeclared() method, the filter cannot distinguish between an undeclared xml:id attribute and an xml:id attribute erroneously declared as CDATA.
  • If the SAX Locator used does not support the getXMLVersion() method, the filter assumes that all xml:id values must be valid XML 1.0 NCNames. (If the method is available, it tests for valid XML 1.1 NCNames when XML 1.1 is used.)
  • The filter uses a hash to keep track of ID values that have been seen. If the caller selects a limited hash size, then duplicate ID values may not be detected.

The current release is 0.9 from 18 Nov 2004. It implements the 9 November 2005 Working Draft of xml:id.


Read comments or post a reply to : Introducing xmlidfilter: A SAX XMLFilter for xml:id Processing
Page 16063 of 17517

Newest posts
 

    Email TopXML