[ANNOUNCEMENT]: XML Commons External 1.3.05 now available

Michael Glavassevich <[email protected]> Thu, 17 Dec 2009 01:50:14 -0500
Newsgroups gmane.text.xml.commons.devel,gmane.comp.apache.commons.general,gmane.text.xml.announce
Message-ID <OFE2A001AE.F5F4F144-ON8525768F.0024FAD1-8525768F.00258F1D__11052.3536838175$1261056374$gmane$org@ca.ibm.com>
--0__=0ABBFC1CDFB77C418f9e8a93df938690918c0ABBFC1CDFB77C41
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.3.05 of XML
Commons External is now available. This is a maintenance release of the=

JAXP 1.3 APIs which were included in Xerces-J 2.7.0 to Xerces-J 2.9.1.

Specifically, the changes introduced in this release are:

* 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.

* 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.

* 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.

* 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__=0ABBFC1CDFB77C418f9e8a93df938690918c0ABBFC1CDFB77C41
Content-type: text/html; charset=US-ASCII
Content-Disposition: inline
Content-transfer-encoding: quoted-printable

<html><body>
<p><tt>Hi everyone,</tt><br>
<br>
<tt>The XML Commons team is pleased to announce that version 1.3.05 of =
XML Commons External is now available. </tt><tt>This is a maintenance r=
elease of the JAXP 1.3 APIs which were included in Xerces-J 2.7.0 to Xe=
rces-J 2.9.1.<br>
</tt><tt><br>
Specifically, the changes introduced in this release are:</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>* 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>* 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>* 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__=0ABBFC1CDFB77C418f9e8a93df938690918c0ABBFC1CDFB77C41--