Hi everyone, 

The Xerces-J team is pleased to announce that version 2.8.0 of Xerces-J is 
now available.

This release introduces several new validation related features and 
provides enhancements to the XML schema annotation support. All of the 
schema component interfaces in the XML Schema API now have a 
getAnnotations() method which returns a list of XSAnnotations. This 
includes annotations on particles and attribute uses which were previously 
"lost". In addition, in this release we implemented support for 
pretty-printing in the LSSerializer, repaired the 
warn-on-undeclared-elemdef feature which had been broken for several 
releases and fixed many other bugs.

Specifically, the changes introduced in this release are:

* Added a getAnnotations() method to each of the component interfaces in 
the XML Schema API (including XSParticle and XSAttributeUse) and 
implemented the support for the new methods. [Neil Delima] 

* Implemented a property for starting schema assessment from a specific 
type definition. [Peter McCracken] 

* Implemented features for disabling ID/IDREF, unparsed entity and 
identity constraint checking. [Peter McCracken] 

* Implemented a feature which instructs the schema validator to ignore 
xsi:type attributes until a global element declaration has been found. 
[Peter McCracken] 

* Modified the JAXP Validation API implementation so that it propagates 
features set on the SchemaFactory to the Schemas created from the factory 
and in turn ValidatorHandlers and Validators constructed from those Schema 
objects (as clarified by JAXP 1.4). [Peter McCracken] 

* Implemented the DOM Level 3 Load and Save format-pretty-print parameter. 
[Matěj Kraus] 

* Fixed the warn-on-undeclared-elemdef feature which had been broken for 
many releases. [Michael Glavassevich] 

* Implemented a feature which allows the parser to process DTDs containing 
large content models which under normal operation may cause a 
StackOverflowError to occur. [Michael Glavassevich] 

* Improved the performance and memory usage of 
XSAnnotation.writeAnnotation(). [Michael Glavassevich] 

* Implemented XML Schema erratum E2-66. [Sandy Gao] 

* Fixed bugs in the implementation of Document.normalizeDocument() which 
caused DTD validation to fail in numerous scenarios. [Michael 
Glavassevich] 

* Fixed a bug where schema validation performed in 
Document.normalizeDocument() was adding default attributes without setting 
their owner element or firing mutation events. [Michael Glavassevich] 

* Fixed a bug which caused the JAXP 1.2 method for schema validation to 
fail when the parser is reused. [Michael Glavassevich] 

* Fixed a bug which caused a ClassCastException to be thrown when adopting 
a node from a deferred DOM into a non-deferred DOM. [Michael Glavassevich] 


* Fixed the dtdjars build target which had been broken for several 
releases. [Michael Glavassevich] 

* Improved identity constraint error messages. [George Cristian Bina] 

* Fixed various bugs and made various improvements. [Nathan Beyer, Dave 
Brosius, Sandy Gao, Michael Glavassevich, Matěj Kraus, Peter McCracken]

For more information please visit: http://xerces.apache.org/xerces2-j/

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [EMAIL PROTECTED]
E-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to