www.alphaworks.ibm.comwww.ibm.com/developerwww.ibm.com

Home

XML4J Readme
Xerces Readme
Installation

Samples
API JavaDoc
XNI Manual
FAQs

Features
Properties

Release Info
Migration details
Limitations
Report a Bug

Xerces 2.0.0
  This is the first production-quality release of the Xerces2 Java XML parser. We are confident that it also marks the stabilization of the XNI API, although changes in XNI are still possible. As well as these XNI improvements and extensions, a host of bugs and limitations that existed in Xerces 2.0.0beta4 have been fixed in this release.
  • add:Implemented support for UCS-4 and UCS-2 encodings. [Neil Graham]
  • add: Added ability to override default parser configuration. [Andy Clark]
  • add:Implemented DOM Level 3 isEqualNode() method [Arnaud Le Hors]
  • add:Implemented namespace fixup during serialization of DOM tree. [Elena Litani]
  • add:Added implementation for new Xerces features validation/schema/normalized-value and validation/schema/element-default [Elena Litani]
  • add:Implemented current-element-node property [Ted Leung]
  • add:Added internal subset string to DOM. [Andy Clark]
  • add:Added support for warn-on-duplicate-attdef xerces feature validation/warn-on-duplicate-attdef [Neeraj Bajaj]
  • update: Added an interface, XMLResourceIdentifier, for describing the physical location of XML resources (external entities, schemas etc.) for use in grammar caching and entity resolution. Updated XMLEntityResolver, XMLLocator, XMLDocumentHandler, XMLDocumentFragmentHandler, and XMLDTDHandler to use this new interface consistently instead of unwieldy lists of Strings in various callbacks. [Neil Graham]
  • update: Updated Xerces Native Interface to add augmentations to document fragment handler, DTD handler, and the DTD content model handler interfaces. Additional methods were also renamed and/or modified. [Andy Clark]
  • update: Updated Xerces Native Interface to add methods to Augmentations, XMLAttributes, and modify PSVI interfaces. [Elena Litani]
  • update: Cleaned up separation between DOMParser and DeferredDOM by moving part of the code from createDeferredElement back into the parser, this has several benefits including to only have to walk the list of attributes once [Arnaud Le Hors]
  • update:Provided support for fundamental facets in DV implementation [Neeraj Bajaj, Sandy Gao]
  • fix: Moved schema simple type error messages to the property file to enable localization. [Sandy Gao]
  • fix: Fixed various bugs related to the dependency between schema documents. [Sandy Gao]
  • fix: Modified URI resolution strategy so that Windows network paths are recognized. [Sandy Gao]
  • fix: Fixed various bugs related to schema components traversal and validation. [Sandy Gao]
  • fix: Fixed a bug in the ui.DOMParserSaveEncoding sample. [Joerg Vogel, Neil Graham]
  • fix: Modified XMLDTDScanner to synchronize start/end entity calls. Fixed XMLDocumentScannerImpl so it always checks settings for load-external-dtd feature. Modified implementation of setDocumentHandler(): now user can change document handler during the parse. [Elena Litani]
  • fix: Fixed DOM L2 bugs: synchronization for entity reference nodes, cloning of attribute node, report of event phases. [Arnaud Le Hors, Elena Litani]
  • fix: Fixed a bug in XMLDocumentFragmentScannerImpl occuring when a ] is encountered at the end of an entity. [Arnaud Le Hors]
  • fix:Fixed misc. SAX bugs. [Lisa Martin]
  • fix:Fixed JAXP implementation of schemaLanguage property. [Edwin Goei]
  • fix:Massive Javadoc fixes. [Ted Leung, Neeraj Bajaj, Rahul Srivastava]
  • fix:Fixed external-schemaLocation and external-noNamespaceSchemalocation properties related bug (# 5768) [Gopal Sharma]
  • fix:Fixed namespaces and namespace-prefixes related SAX bug. [Rahul Srivastava]
  • fix:Corrected features documentation for string-interning feature. [Rahul Srivastava]
  • fix:Fixed the bug in which duplicate attribute definitions were not ignored and error was reported for ID datatype and Notation. [Neeraj Bajaj]
  • fix:Fixed the bug where 'locale' value was not set for StandardParserConfiguration. [Takuki Kamiya, Neeraj Bajaj]

Xerces 2.0.0 (beta4)
  This release fixes a number of bugs, introduces more changes to the Xerces Native Interface, provides partial experimental DOM Level 3 implementation, and includes full XML Schema support.
  • add: Implemented schema particle derivation restriction checking [Lisa Martin]
  • add: Added checking for schema constraint cos-element-consistent [Lisa Martin]
  • fix: resolved misc. SAX2 bugs [Lisa Martin]
  • add: Added implementation of DOMInputSource, DOMError, DOMLocator and wrappers for entity resolver and error handler (DOM Level 3). [Gopal Sharma, Elena Litani]
  • add: Added implementation of DOMWriter, DocumentLS, DOMImplementationLS and new features support for save and load: create-cdata-nodes, split-cdata-sections (DOM Level 3). [Rahul Srivastava, Elena Litani]
  • add: Added implementation of DOMBuilder, DOMASBuilder and partial implementation of ASModel. Add support for a new feature "include-comments" (DOM Level 3). [Pavani Mukthipudi, Neil Graham, Elena Litani]
  • add: Added Augmentations interface to core XNI interfaces and PSVI interfaces as an extension to XNI (unstable). Added DOM Level 3 interfaces to xerces.dom3 package. Modified samples accordingly. [Elena Litani]
  • add: Implemented split of xerces.jar file into an API-only jar file (xmlParserAPIs.jar) and a jarfile containing only the API implementation (xercesImpl.jar). [Neil Graham]
  • update: Modified XNI document handler interface to include Augmentations as an extra parameter on each parser event. Modified XMLAttributes interface to include getter methods for augmentations. [Elena Litani]
  • add: Implemented PSVI support in Xerces and added PSVIWriter, PSVIParser and PSVIConfiguration sample files. [Arun Yadav, Elena Litani, Sandy Gao]
  • add: Added "external-schemaLocation" and "external-noNamespaceSchemaLocation" properties. [Sandy Gao]
  • add: New schema simple type interface and implementation. It fixes various bugs in the old implementation, and provides enough information for PSVI support. [Sandy Gao, Neeraj Bajaj]
  • update: Internalize all symbols in SymbolTable using java.lang.String#intern(). Now applications can compare the symbols by reference. [Sandy Gao]
  • add: Added "schema-full-checking" feature, and implemented "Unique Particle Attribution" constraint. [Sandy Gao]
  • fix: Changed the default configuration to standard parser configuration (that does not include XML Schema validator), modified how and when the pipeline is constructed. [Elena Litani]
  • fix: Changed XML Schema validation behavior back to validate only if the http://xml.org/sax/features/validation feature is true. Note: XML Schema validation is off by default. [Andy Clark]
  • fix: Added constructor to new DTDXSParserConfiguration so it can share settings from a parent configuration. [Andy Clark]
  • fix: The parser no longer wraps RuntimeException with XNIException in the parse method. [Andy Clark]
  • fix: Fixed cloneNode() for Entity, EntityReference and DocumentType. Fixed importNode() of EntityReference nodes which mistakenly carried the old value. Fixed handling EntityReference node subtrees that left the node empty in non deferred DOM. [Arnaud Le Hors]
  • fix: Added missing default attribute values in the DOM and fixed double entity value bug in deferred DOM. [Andy Clark]
  • fix: Fixed getElementById() in the DOMParser. Bound namespace attributes to http://www.w3.org/2000/xmlns/ (DOM only). [Elena Litani]
  • fix:Various documentation fixes. [Andy Clark, Elena Litani]
  • add: Added more DOM Level 3 interfaces to xerces.dom3 package. Implemented DOMImplementationRegistry (DOMImplementationSource really), Node.set/getTextContent(), Node.isSameNode(), Node.getInterface(), Node.set/getUserData(). Extended dom.mem.Test to test these additions. [Arnaud Le Hors]
  • add: Added ASBuilder sample to the DOM samples package to show how to use the new DOM level 3 ASBuilder interface to implement a form of grammar caching. [Sandy Gao]
  • fix: Enabled the parser to process documents encoded in EBCDIC and UTF-16. [Neil Graham]

Xerces 2.0.0 (beta3)
  This release fixes a number of bugs, introduces some changes to the Xerces Native Interface, and is the first Xerces2 release to include XML Schema validation support. Please note that the XML Schema validation code was completely rewritten for Xerces2 and should be considered alpha at this time.
  • add: Redesigned and rewrote XML Schema validation code. Also updated standard parser configuration to include the XML Schema validator in the document pipeline by default. [Sandy Gao, Lisa Martin, Neil Graham, Elena Litani, Rahul Srivastava, Gopal Sharma, Pavani Mukthipudi, Neeraj Bajaj]
  • add: Added new default parser configuration that includes DTD and XML Schema validators (DTDXSParserConfiguration). Implemented dynamic validation for both validators. [Sandy Gao, Elena Litani]
  • fix: Synced up javax.xml.parsers package with latest code from xml-commons module and various bug fixes. [Edwin Goei]
  • fix: DOM/ DOMParser bug fixes. [Ted Leung, Andy Clark, Elena Litani, Arun Yadav]
  • fix: Fixed newline normalization bug. Previously, the sequence #x0A #x0D was being converted to #x0A instead of #x0A #x0A per section 2.11 of the XML 1.0 specification. Thanks to Aleksander Slominski for the bug report. [Andy Clark]
  • update: Added getter methods to XMLParserConfiguration interface and added filter interfaces for components that consume and produce document and DTD information. [Andy Clark]
  • fix: Fixed DTD scanner from reporting entity boundaries appearing inside of markup declarations. Entity boundaries appearing in the content model of an element declaration is still reported, though. [Andy Clark]
  • update: Simplified XMLAttributes interface by removing the methods related to entities appearing in attribute values. [Andy Clark]
  • update: Changed the XMLDTDHandler defined in XNI to add a non-normalized value parameter to the internal element declaration callback. Also implemented the non-normalized value for attribute values. [Andy Clark]
  • fix: Fixed bug in entity manager that would never resolve IANA encoding names to Java encoding names properly. (Bug #3449) [Pavani Mukthipudi]
  • fix: Fixed bug in SAX parser that was not forwarding external entity declarations in the DTD. (Bug #3392) [Neeraj Bajaj]
  • add: Separated the XMLDocumentScannerImpl class so that it derives from XMLDocumentFragmentScannerImpl which enables an application to parse document fragments. [Andy Clark]
  • add: Ported the deferred DOM implementation from the Xerces 1.x codebase. [Arnaud Le Hors]

Xerces-J 2.0.0 (beta2)
  This is primarily a bug fix release. However, a new XNI interface and additional documentation have been added.
  • fix: Fixed bug for when namespace bindings were added as default attributes from the DTD. [Andy Clark]
  • fix: Fixed Xerces2 standard components to properly recognize and use the features and properties that they are documented to accept. [Andy Clark]
  • add: Added documentation to the XNI Manual for re-using the Xerces2 parser components. [Andy Clark]
  • update: Moved Xerces 1.x to "xerces_j_1" branch and moved Xerces2 to the main trunk of the "xml-xerces" module. [Arnaud Le Hors]
  • fix: Improved ability of document and DTD scanners to perform pull parsing. [Andy Clark]
  • fix: Fixed bug where namespace binder would turn an emptyElement callback into startElement and endElement callbacks. [Andy Clark]
  • update: Updated standard parser configuration to separate DTD validation and namespace binding in the parsing pipeline. [Andy Clark]
  • remove: Removed old XML Schema code that was not being used. This code is intended to be replaced by either a port of the Xerces 1.x XML Schema implementation or by a re-designed, re-implemented XML Schema implementation. [Andy Clark]
  • fix: Fixed bug in scanner that allowed the built-in entity references to be sent via XNI. The default value for this feature should have been false. [Andy Clark]
  • fix:Fixed several SAX bugs. [Andy Clark]
  • update: Synchronized DOM implementation code from Xerces 1.x codebase. [Andy Clark]

Xerces-J 2.0.0 (beta)
  First beta release of the Xerces2 code. Besides numerous bug fixes, this release has changes and additions to XNI. The new XNI parser configuration framework has been added in this release. Refer to the XNI Manual for complete information.
  • add: Added document and DTD scanner interfaces to XNI to allow parser configuration pipelines to be constructed generically. [Andy Clark]
  • fix: Fixed bug in DTD grammar for mixed content models that was building the wrong validation content model. [Sandy Gao]
  • update: Removed SAX dependency from XNI framework. Now the only dependence on external API such as SAX is in the implementation of the AbstractSAXParser and DOMParser so that legacy code doesn't break. [Andy Clark]
  • update: Rewrote existing documentation, added XNI information, cleaned up stylesheets, and converted some docs to use custom DTDs. [Andy Clark]
  • fix:DTD method ordering problem for INCLUDE/IGNORE sections. [Petr Kuzel]
  • update:Improved DFA build-time performance. [ATOZAWA@jp.ibm.com]
  • update:Synchronized with Xerces 1.3.0 [Arnaud Le Hors]

Xerces-J 2.0.0 (alpha)
 Initial alpha release of Xerces2 code.