xml-commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Glavassevich <mrgla...@ca.ibm.com>
Subject [ANNOUNCEMENT]: XML Commons External 1.3.04 now available
Date Thu, 23 Nov 2006 20:28:00 GMT
Hi everyone, 

The XML Commons team is pleased to announce that version 1.3.04 of XML 
Commons External is now available. This release adds Java Language 
Bindings for SAC 1.3 (The Simple API for CSS), SMIL and SVG 1.1 and 
contains several fixes and improvements to the JAXP 1.3 APIs.

Specifically, the changes introduced in this release are:

* Added Java Language Bindings for SAC 1.3 (The Simple API for CSS), SMIL 
and SVG 1.1. These three packages that were formerly published by Apache 
Batik are now included in the new xml-apis-ext.jar.

* Added SchemaFactoryLoader. This class was removed from the JAXP 1.3 
specification before it was finalized but was mistakenly included in Java 
5. It only exists here (and in JAXP 1.4) for compatibility reasons. 
Applications should avoid using it. 

* Added a serialVersionUID to TransformerException to restore 
serialization compatibility. It had been broken by a previous modification 
to this class. 

* Serialization compatibility of QName was broken in JAXP 1.3 when the 
serialVersionUID changed from -9120448754896609940 (which was the original 
one introduced in JAX-RPC 1.0) to 4418622981026545151. Restored the 
original serialVersionUID and provided a system property called 
org.apache.xml.namespace.QName.useCompatibleSerialVersionUID which will 
select 4418622981026545151 as the serialVersionUID when the property is 
set to "1.0". 

* Added a readObject() method to QName to allow older versions of the 
class which didn't have a prefix field to be deserialized correctly. 

* Fixed bugs in the factory finding algorithm used by SchemaFactory and 
XPathFactory for META-INF/services files. Previously these files were 
being read as if they were properties files. The correct format of a 
service file is a newline-separated list of unique concrete provider-class 
names.

* Made the behaviour of the jaxp.debug property consistent across all of 
the FactoryFinder classes. If the value of the property is "false" then 
the debug field is set to false. 

* Modified the FactoryFinder and SecuritySupport classes to prevent them 
from being extended or instantiated.

* Eliminated the creation of temporary Boolean objects in the 
SecuritySupport classes.

* Eliminated the creation of short lived StringBuffer and String objects 
in each of the FactoryFinder classes. The debug print method calls were 
creating instances of StringBuffer and String which were never read.

* Modified the SAX XMLReaderFactory and ParserFactory so that they use a 
PrivilegedAction (through the SecuritySupport class) for looking up system 
properties.

* Fixed errors in the usage examples for the JAXP 1.3 Validation and XPath 
APIs. Namespace-awareness needs to be set to true on the 
DocumentBuilderFactory.
 
* Fixed the Implementation-Vendor and Implementation-URL entries in the 
xml-apis.jar manifest.

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

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org

Mime
View raw message