[ANNOUNCEMENT]: Apache Xerces-J 2.10.0 now available

Michael Glavassevich <[email protected]> Fri, 18 Jun 2010 23:08:18 -0400
Newsgroups gmane.comp.apache.commons.general,gmane.text.xml.announce
Message-ID <OFC6902615.F6CD5F3B-ON85257747.000EDEA1-85257747.00113E1F__35549.425884574$1276920934$gmane$org@ca.ibm.com>
--0__=0ABBFDD4DF9D58318f9e8a93df938690918c0ABBFDD4DF9D5831
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: quoted-printable



Hi all,

The Apache Xerces project team is pleased to announce that version 2.10=
.0
of Apache Xerces-J is now available.

Xerces-J 2.10.0 can be downloaded at: http://xerces.apache.org/mirrors.=
cgi:

This release introduces experimental support for the XML Schema 1.1
Structures and Datatypes (December 2009) Working Drafts (see
Xerces-J-bin.2.10.0-xml-schema-1.1-beta.zip). It also contains an
implementation of the parser related portions of JAXP 1.4, including
partial support for StAX 1.0 (javax.xml.stream.events only) and a compl=
ete
implementation of the DOM Element Traversal API. It contains fixes for
several bugs which were present in Xerces-J 2.9.1, as well as a few oth=
er
enhancements and performance improvements.

Specifically, the changes introduced in this release are:

* Added experimental support for XML Schema 1.1 (refer to the documenta=
tion
for a list of features supported). [Ken Cai, John Chan, Mukul Gandhi,
Hiranya Jayathilaka, Khaled Noaman, Kun Xu]

* Implemented enhancements to javax.xml.validation that were introduced=
 by
JAXP 1.4, including support for StAXSource/StAXResult as an input/outpu=
t to
the JAXP Validator, StreamResult as an output to the JAXP Validator and=

StAXSource as an input to the SchemaFactory. [Michael Glavassevich]

* Added support for the StAX 1.0 event API (javax.xml.stream.events).
[Michael Glavassevich, Lucian Holland]

* Added support for the Element Traversal API
(org.w3c.dom.ElementTraversal). [Michael Glavassevich]

* Implemented a property for starting schema assessment from a specific=

element declaration and enhanced the existing property for starting sch=
ema
assessment from a type definition to accept a javax.xml.namespace.QName=
 as
a value. [Michael Glavassevich]

* Added a property for specifying the locale to use when reporting erro=
r
and warning messages. [Michael Glavassevich]

* Added support for matching multi-digit back references in regular
expressions. [Khaled Noaman]

* Added a method to the ItemPSVI interface in the XML Schema API to exp=
ose
error messages corresponding to the error codes that were already avail=
able
in the PSVI. [Michael Glavassevich]

* Implemented native support for UTF-16. [Michael Glavassevich]

* Improved usability of the XML Schema API by updating XSNamedMap and a=
ll
of the list type interfaces to extend java.util.Map and java.util.List
respectively. [Michael Glavassevich]

* Improved performance by eliminating excessive calls to
XMLSchemaValidator.findSchemaGrammar() when processing local elements w=
ith
no namespace. [Michael Glavassevich]

* Improved recovery from schema loading errors. [Sandy Gao]

* Improved performance of Element.getBaseURI() when the depth of the no=
de
to the document root is longer. [Ludger B=FCnger]

* Implemented several improvements in the DOM implementation to help th=
e
garbage collector reclaim objects which are no longer reachable by the
application but were held on to strongly by the Document node. [Ludger
B=FCnger]

* Improved the messages reported for minOccurs/maxOccurs related schema=

validation errors. [Michael Glavassevich]

* Fixed problems with regular expression matching where the parser woul=
d
hang or cause a stack overflow exception. [Khaled Noaman]

* Fixed a problem where the LSParser repeatedly overwrote a text node c=
hild
of an element (rather than appending) when there are multiple text node=
s in
the input. [Michael Glavassevich]

* Fixed an infinite loop in XMLScanner which could allow remote attacke=
rs
to launch a denial of service attack (CVE-2009-2625). [Michael
Glavassevich]

* Fixed a bug in XSDateTime where getXMLGregorianCalendar() would lose
precision for fractional digits and insert time-zones where there are n=
one.
[Michael Glavassevich]

* Fixed a bug in the DOM implementation where a static text Node field =
in
AttrImpl broke thread-safety of mutations in independent documents from=

within an event listener. This was also a potential memory leak. [Ludge=
r
B=FCnger]

* Fixed a bug in the SoftReferenceSymbolTable which could cause it to g=
et
stuck in an infinite loop. [Anli Shundi]

* Fixed a bug which could cause an ArrayIndexOutOfBoundsException to be=

thrown when adopting a node from a deferred DOM. [Michael Glavassevich]=


* Fixed various bugs and made various improvements. [Nathan Beyer, Dave=

Brosius, Ludger B=FCnger, Arthur De Magalhaes, Mukul Gandhi, Sandy Gao,=

Michael Glavassevich, Khaled Noaman]

A complete list of JIRA issues resolved in this release is available he=
re:
http://s.apache.org/zUd

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]=

--0__=0ABBFDD4DF9D58318f9e8a93df938690918c0ABBFDD4DF9D5831
Content-type: text/html; charset=ISO-8859-1
Content-Disposition: inline
Content-transfer-encoding: quoted-printable

<html><body>
<p><tt>Hi all,</tt><br>
<br>
<tt>The Apache Xerces project team is pleased to announce that version =
2.10.0 of Apache Xerces-J is now available.</tt><br>
<br>
<tt>Xerces-J 2.10.0 can be downloaded at: </tt><tt><a href=3D"http://xe=
rces.apache.org/mirrors.cgi">http://xerces.apache.org/mirrors.cgi</a></=
tt><br>
<br>
<tt>This release introduces experimental support for the XML Schema 1.1=
 Structures and Datatypes (December 2009) Working Drafts (see </tt><tt>=
Xerces-J-bin.2.10.0-xml-schema-1.1-beta.zip)</tt><tt>. It also contains=
 an implementation of the parser related portions of JAXP 1.4, includin=
g partial support for StAX 1.0 (javax.xml.stream.events only) and a com=
plete implementation of the DOM Element Traversal API. It contains fixe=
s for several bugs which were present in Xerces-J 2.9.1, as well as a f=
ew other enhancements and performance improvements.</tt><br>
<br>
<tt>Specifically, the changes introduced in this release are:</tt><br>
<br>
<tt>* Added experimental support for XML Schema 1.1 (refer to the docum=
entation for a list of features supported). [Ken Cai, John Chan, Mukul =
Gandhi, Hiranya Jayathilaka, Khaled Noaman, Kun Xu]</tt><br>
<br>
<tt>* Implemented enhancements to javax.xml.validation that were introd=
uced by JAXP 1.4, including support for StAXSource/StAXResult as an inp=
ut/output to the JAXP Validator, StreamResult as an output to the JAXP =
Validator and StAXSource as an input to the SchemaFactory. [Michael Gla=
vassevich]</tt><br>
<br>
<tt>* Added support for the StAX 1.0 event API (javax.xml.stream.events=
). [Michael Glavassevich, Lucian Holland]</tt><br>
<br>
<tt>* Added support for the Element Traversal API (org.w3c.dom.ElementT=
raversal). [Michael Glavassevich]</tt><br>
<br>
<tt>* Implemented a property for starting schema assessment from a spec=
ific element declaration and enhanced the existing property for startin=
g schema assessment from a type definition to accept a javax.xml.namesp=
ace.QName as a value. [Michael Glavassevich]</tt><br>
<br>
<tt>* Added a property for specifying the locale to use when reporting =
error and warning messages. [Michael Glavassevich]</tt><br>
<br>
<tt>* Added support for matching multi-digit back references in regular=
 expressions. [Khaled Noaman]</tt><br>
<br>
<tt>* Added a method to the ItemPSVI interface in the XML Schema API to=
 expose error messages corresponding to the error codes that were alrea=
dy available in the PSVI. [Michael Glavassevich]</tt><br>
<br>
<tt>* Implemented native support for UTF-16. [Michael Glavassevich]</tt=
><br>
<br>
<tt>* Improved usability of the XML Schema API by updating XSNamedMap a=
nd all of the list type interfaces to extend java.util.Map and java.uti=
l.List respectively. [Michael Glavassevich]</tt><br>
<br>
<tt>* Improved performance by eliminating excessive calls to XMLSchemaV=
alidator.findSchemaGrammar() when processing local elements with no nam=
espace. [Michael Glavassevich]</tt><br>
<br>
<tt>* Improved recovery from schema loading errors. [Sandy Gao]</tt><br=
>
<br>
<tt>* Improved performance of Element.getBaseURI() when the depth of th=
e node to the document root is longer. [Ludger B=FCnger]</tt><br>
<br>
<tt>* Implemented several improvements in the DOM implementation to hel=
p the garbage collector reclaim objects which are no longer reachable b=
y the application but were held on to strongly by the Document node. [L=
udger B=FCnger]</tt><br>
<br>
<tt>* Improved the messages reported for minOccurs/maxOccurs related sc=
hema validation errors. [Michael Glavassevich]</tt><br>
<br>
<tt>* Fixed problems with regular expression matching where the parser =
would hang or cause a stack overflow exception. [Khaled Noaman]</tt><br=
>
<br>
<tt>* Fixed a problem where the LSParser repeatedly overwrote a text no=
de child of an element (rather than appending) when there are multiple =
text nodes in the input. [Michael Glavassevich]</tt><br>
<br>
<tt>* Fixed an infinite loop in XMLScanner which could allow remote att=
ackers to launch a denial of service attack (CVE-2009-2625). [Michael G=
lavassevich]</tt><br>
<br>
<tt>* Fixed a bug in XSDateTime where getXMLGregorianCalendar() would l=
ose precision for fractional digits and insert time-zones where there a=
re none. [Michael Glavassevich]</tt><br>
<br>
<tt>* Fixed a bug in the DOM implementation where a static text Node fi=
eld in AttrImpl broke thread-safety of mutations in independent documen=
ts from within an event listener. This was also a potential memory leak=
. [Ludger B=FCnger]</tt><br>
<br>
<tt>* Fixed a bug in the SoftReferenceSymbolTable which could cause it =
to get stuck in an infinite loop. [Anli Shundi]</tt><br>
<br>
<tt>* Fixed a bug which could cause an ArrayIndexOutOfBoundsException t=
o be thrown when adopting a node from a deferred DOM. [Michael Glavasse=
vich]</tt><br>
<br>
<tt>* Fixed various bugs and made various improvements. [Nathan Beyer, =
Dave Brosius, Ludger B=FCnger, Arthur De Magalhaes, Mukul Gandhi, Sandy=
 Gao, Michael Glavassevich, Khaled Noaman]</tt><br>
<br>
<tt>A complete list of JIRA issues resolved in this release is availabl=
e here: <a href=3D"http://s.apache.org/zUd">http://s.apache.org/zUd</a>=
</tt><br>
<br>
<tt>For more information please visit: </tt><tt><a href=3D"http://xerce=
s.apache.org/xerces2-j/">http://xerces.apache.org/xerces2-j/</a></tt><b=
r>
<br>
<tt>Michael Glavassevich<br>
XML Parser Development<br>
IBM Toronto Lab<br>
E-mail: [email protected]</tt><br>
<tt>E-mail: [email protected]</tt></body></html>=

--0__=0ABBFDD4DF9D58318f9e8a93df938690918c0ABBFDD4DF9D5831--