[ANNOUNCEMENT]: XML Commons External 1.4.01 now available

Michael Glavassevich <[email protected]> Wed, 16 Dec 2009 17:15:26 -0500
Newsgroups gmane.text.xml.commons.devel,gmane.comp.apache.commons.general,gmane.text.xml.announce
Message-ID <OFA42BF113.DC327809-ON8525768E.006D5A3B-8525768E.007A433E__48555.2512611777$1261002195$gmane$org@ca.ibm.com>
--0__=0ABBFC1DDFFEDCAB8f9e8a93df938690918c0ABBFC1DDFFEDCAB
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: quoted-printable



Hi everyone,

The XML Commons team is pleased to announce that version 1.4.01 of XML
Commons External is now available. This release updates the XML APIs to=

JAXP 1.4 and also introduces the StAX 1.0 and the Element Traversal API=
s.
XML Commons External 1.4.01 will be included in the upcoming release of=

Xerces-J 2.10.0.

Specifically, the changes introduced in this release are:

* Added classes and method signatures introduced by JAXP 1.4.

* Added the StAX 1.0 API (JSR 173). Sources based off of the distributi=
on
from Apache Geronimo.

* Added the Java Language Binding for the Element Traversal API
(org.w3c.dom.ElementTraversal).

* Added default implementations to SchemaFactory for the XML Schema 1.0=
 and
1.1 language identifiers.

* Fixed bugs in SchemaFactory and XPathFactory which caused them to alw=
ays
use the system ClassLoader when searching for META-INF/services files
instead of the ClassLoader that would be used to load the concrete fact=
ory
class.

* Updated each of the JAXP factory classes so that they treat an empty
string value for their system property as if it had not been set.
Previously the factories would make a futile attempt to create an insta=
nce
of a class named "" and then fail.

* Fixed the FactoryFinders so that they no longer catch and ignore
ThreadDeath and serious VM errors such as an OutOfMemoryError or a
StackOverflowError.

* Fixed the default implementation of DatatypeFactory.createDurationDay=
Time
(long) so that it behaves according to the JAXP specification. Previous=
ly
it was just delegating to DatatypeFactory.newDuration(long) which has
different behaviour than the createDurationDayTime method.

* Corrected the default implementations of
DatatypeFactory.newDurationYearMonth() and
DatatypeFactory.newDurationDayTime() so that they behave according to t=
he
JAXP specification. These methods must reject lexical values which are =
not
valid instances of xs:yearMonthDuration and xs:dayTimeDuration. They we=
re
not doing so before.

* Fixed bugs which could cause NullPointerExceptions to be thrown from =
the
default implementations of Duration.getYears(), Duration.getMonths(),
etc...

* Fixed bugs in the DatatypeFactory.newDurationDayTime() and
DatatypeFactory.newDurationYearMonth() methods where BigIntegers were b=
eing
created for DatatypeConstants.FIELD_UNDEFINED values instead of assigni=
ng
the value to null in the Duration.

* Implemented minor performance improvements in XMLGregorianCalendar.eq=
uals
() and Duration.equals(). If the given object is "this" object return t=
rue
immediately.

* Eliminated an unnecessary conversion to String in Duration.multiply(i=
nt).

* Updated the File to URI conversion code in StreamResult so that it is=

consistent with StreamSource.

* Fixed miscellaneous typographical errors in the Javadocs.

The source and binary distributions are available for download here:
http://xerces.apache.org/mirrors.cgi

For more information please visit: http://xml.apache.org/commons/

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [email protected]
E-mail: [email protected]=

--0__=0ABBFC1DDFFEDCAB8f9e8a93df938690918c0ABBFC1DDFFEDCAB
Content-type: text/html; charset=US-ASCII
Content-Disposition: inline
Content-transfer-encoding: quoted-printable

<html><body>
<p><tt>Hi everyone,<br>
<br>
The XML Commons team is pleased to announce that version 1.4.01 of XML =
Commons External is now available. This release updates the XML APIs to=
 JAXP 1.4 and also introduces the StAX 1.0 and the </tt><tt>Element Tra=
versal API</tt><tt>s. XML Commons External 1.4.01 will be included in t=
he upcoming release of Xerces-J 2.10.0.</tt><br>
<br>
<tt>Specifically, the changes introduced in this release are:</tt><br>
<br>
<tt>* Added classes and method signatures introduced by JAXP 1.4.</tt><=
br>
<br>
<tt>* Added the StAX 1.0 API (JSR 173). Sources based off of the distri=
bution from Apache Geronimo.</tt><br>
<br>
<tt>* Added the Java Language Binding for the Element Traversal API (or=
g.w3c.dom.ElementTraversal).</tt><br>
<br>
<tt>* Added default implementations to SchemaFactory for the XML Schema=
 1.0 and 1.1 language identifiers.</tt><br>
<br>
<tt>* Fixed bugs in SchemaFactory and XPathFactory which caused them to=
 always use the system ClassLoader when searching for META-INF/services=
 files instead of the ClassLoader that would be used to load the concre=
te factory class.</tt><br>
<br>
<tt>* Updated each of the JAXP factory classes so that they treat an em=
pty string value for their system property as if it had not been set. P=
reviously the factories would make a futile attempt to create an instan=
ce of a class named &quot;&quot; and then fail.</tt><br>
<br>
<tt>* Fixed the FactoryFinders so that they no longer catch and ignore =
ThreadDeath and serious VM errors such as an OutOfMemoryError or a Stac=
kOverflowError.</tt><br>
<br>
<tt>* Fixed the default implementation of DatatypeFactory.createDuratio=
nDayTime(long) so that it behaves according to the JAXP specification. =
Previously it was just delegating to DatatypeFactory.newDuration(long) =
which has different behaviour than the createDurationDayTime method.</t=
t><br>
<br>
<tt>* Corrected the default implementations of DatatypeFactory.newDurat=
ionYearMonth() and DatatypeFactory.newDurationDayTime() so that they be=
have according to the JAXP specification. These methods must reject lex=
ical values which are not valid instances of xs:yearMonthDuration and x=
s:dayTimeDuration. They were not doing so before.</tt><br>
<br>
<tt>* Fixed bugs which could cause NullPointerExceptions to be thrown f=
rom the default implementations of Duration.getYears(), Duration.getMon=
ths(), etc...</tt><br>
<br>
<tt>* Fixed bugs in the DatatypeFactory.newDurationDayTime() and Dataty=
peFactory.newDurationYearMonth() methods where BigIntegers were being c=
reated for DatatypeConstants.FIELD_UNDEFINED values instead of assignin=
g the value to null in the Duration.</tt><br>
<br>
<tt>* Implemented minor performance improvements in XMLGregorianCalenda=
r.equals() and Duration.equals(). If the given object is &quot;this&quo=
t; object return true immediately.</tt><br>
<br>
<tt>* Eliminated an unnecessary conversion to String in Duration.multip=
ly(int).</tt><br>
<br>
<tt>* Updated the File to URI conversion code in StreamResult so that i=
t is consistent with StreamSource.</tt><br>
<br>
<tt>* Fixed miscellaneous typographical errors in the Javadocs.</tt><br=
>
<br>
<tt>The source and binary distributions are available for download here=
: </tt><tt><a href=3D"http://xerces.apache.org/mirrors.cgi">http://xerc=
es.apache.org/mirrors.cgi</a></tt><br>
<br>
<tt>For more information please visit: </tt><tt><a href=3D"http://xml.a=
pache.org/commons/">http://xml.apache.org/commons/</a></tt><br>
<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__=0ABBFC1DDFFEDCAB8f9e8a93df938690918c0ABBFC1DDFFEDCAB--