You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Michael Glavassevich <mr...@ca.ibm.com> on 2006/11/23 21:38:38 UTC

[ANNOUNCEMENT]: Xerces-J 2.9.0 now available

Hi everyone, 

The Xerces-J team is pleased to announce that version 2.9.0 of Xerces-J is 
now available. As of this release, Xerces' distribution includes the Xalan 
serializer. Xerces and Xalan now share a common serialization codebase. 
The DOM Level 3 serialization support which was in Xerces was migrated 
into the Xalan serializer and Xerces' native serializer was deprecated. 
You can find details on the rationale for this change here [1] in the 
archives. In this release we also upgraded the xml-commons resolver to 
v1.2 (which provides support for OASIS XML Catalogs v1.1), introduced a 
few minor features and fixed several bugs.

Specifically, the changes introduced in this release are:

* Migrated the DOM Level 3 serialization support onto a common 
serialization codebase shared with Xalan and deprecated Xerces' native 
serializer. [Neil Delima, Michael Glavassevich] 

* Upgraded the xml-commons resolver to v1.2. This new version of the 
resolver adds support for OASIS XML Catalogs v1.1. [Michael Glavassevich] 

* Created a new parser configuration which uses a memory sensitive 
SymbolTable which can handle usage scenarios where the names in the XML 
documents being parsed are mostly unique. The internalized strings stored 
in this SymbolTable are softly reachable and may be cleared by the garbage 
collector in response to memory demand. [Peter McCracken] 

* Updated the schema loader so that it can now process schema documents 
with an XML 1.1 declaration. [Michael Glavassevich] 
 
* Fixed several bugs in the checking of schema type restrictions that 
involve substitution groups. [Lucian Holland, Ignacio Hernandez-Ros] 

* Fixed a bug in Xerces' regular expression support where patterns 
containing "$" and "^" were being interpreted as anchors in a schema 
context. [Chris Carman]

* Fixed a bug in the XPath matcher for identity constraints which allowed 
steps containing NCName:* to select element or attribute names which do 
not match the specified namespace. [Michael Glavassevich] 

* Fixed a bug in the XPath parser for identity constraints which caused 
field and selector XPaths containing the non-abbreviated form of the child 
and attribute axes to be reported as invalid. [Michael Glavassevich] 

* Fixed a bug which allowed the JAXP SchemaFactory to mutate a user 
supplied DOM input. [Michael Glavassevich] 
 
* Fixed a bug which caused the JAXP 1.2 method for schema validation to 
produce DTD validation errors when XInclude processing is enabled. 
[Michael Glavassevich] 

* Fixed various bugs and made various improvements. [Nathan Beyer, George 
Cristian Bina, Michael Glavassevich, Jacob Kjome, Grant McDonald]

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

[1] http://marc.theaimsgroup.com/?l=xalan-dev&m=107593381313807&w=2

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

---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


Re: [ANNOUNCEMENT]: Xerces-J 2.9.0 now available

Posted by Michael Glavassevich <mr...@ca.ibm.com>.
Klaus Malorny <Kl...@knipp.de> wrote on 11/24/2006 03:40:16 AM:

> Michael Glavassevich wrote:
> > Hi everyone, 
> pecifically, the changes introduced in this release are:
> > 
> > * Migrated the DOM Level 3 serialization support onto a common 
> > serialization codebase shared with Xalan and deprecated Xerces' native 

> > serializer. [Neil Delima, Michael Glavassevich] 
> > 
> 
> Hi,
> 
> do I understand this correctly that there is no longer an "offical" 
> support for 
> a SAX based serializer or do I miss something?

There's been one in JAXP for a very long time. Take a look at 
SAXTransformerFactory.newTransformerHandler() [1] and TransformerHandler 
[2].

If for some reason you need a lower level API, you could always use the 
Xalan serializer (which ships with Xerces now) [3] directly. It evolved 
from Xerces' serializer, has been better maintained and over the years 
there's been a significant effort to improve its performance and fix bugs.

> Regards,
> 
> Klaus
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
> For additional commands, e-mail: j-users-help@xerces.apache.org

[1] 
http://xerces.apache.org/xerces2-j/javadocs/api/javax/xml/transform/sax/SAXTransformerFactory.html#newTransformerHandler()
[2] 
http://xerces.apache.org/xerces2-j/javadocs/api/javax/xml/transform/sax/TransformerHandler.html
[3] 
http://xml.apache.org/xalan-j/apidocs/org/apache/xml/serializer/package-summary.html


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

---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org


Re: [ANNOUNCEMENT]: Xerces-J 2.9.0 now available

Posted by Klaus Malorny <Kl...@knipp.de>.
Michael Glavassevich wrote:
> Hi everyone, 
pecifically, the changes introduced in this release are:
> 
> * Migrated the DOM Level 3 serialization support onto a common 
> serialization codebase shared with Xalan and deprecated Xerces' native 
> serializer. [Neil Delima, Michael Glavassevich] 
> 

Hi,

do I understand this correctly that there is no longer an "offical" support for 
a SAX based serializer or do I miss something?

Regards,

Klaus

---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org