Xerces2 Changelog

New in version 2.11.0

December 2nd, 2010
  • This version expands on Xerces' experimental support for XML Schema 1.1 by providing implementations for the simplified complex type restriction rules (also known as subsumption), xs:override, and a few other XML Schema 1.1 features.
  • It introduces experimental support for XML Schema Component Designators (SCD).
  • It fixes several bugs that were present in 2.10.0 and also includes a few other minor enhancements.

New in version 2.10.0 (June 20th, 2010)

  • Added experimental support for XML Schema 1.1 (refer to the documentation for a list of features supported). [Ken Cai, John Chan, Mukul Gandhi, Hiranya Jayathilaka, Khaled Noaman, Kun Xu]
  • add: Implemented enhancements to javax.xml.validation that were introduced by JAXP 1.4, including support for StAXSource/StAXResult as an input/output to the JAXP Validator, StreamResult as an output to the JAXP Validator and StAXSource as an input to the SchemaFactory. [Michael Glavassevich]
  • add: Added support for the StAX 1.0 event API (javax.xml.stream.events). [Michael Glavassevich, Lucian Holland]
  • add: Added support for the Element Traversal API (org.w3c.dom.ElementTraversal). [Michael Glavassevich]
  • add: Implemented a property for starting schema assessment from a specific element declaration and enhanced the existing property for starting schema assessment from a type definition to accept a javax.xml.namespace.QName as a value. [Michael Glavassevich]
  • add: Added a property for specifying the locale to use when reporting error and warning messages. [Michael Glavassevich]
  • add: Added support for matching multi-digit back references in regular expressions. [Khaled Noaman]
  • add: Added a method to the ItemPSVI interface in the XML Schema API to expose error messages corresponding to the error codes that were already available in the PSVI. [Michael Glavassevich]
  • add: Implemented native support for UTF-16. [Michael Glavassevich]
  • update: Improved usability of the XML Schema API by updating XSNamedMap and all of the list type interfaces to extend java.util.Map and java.util.List respectively. [Michael Glavassevich]
  • update: Improved performance by eliminating excessive calls to XMLSchemaValidator.findSchemaGrammar() when processing local elements with no namespace. [Michael Glavassevich]
  • update: Improved recovery from schema loading errors. [Sandy Gao]
  • update: Improved performance of Element.getBaseURI() when the depth of the node to the document root is longer. [Ludger Bünger]
  • update: Implemented several improvements in the DOM implementation to help the garbage collector reclaim objects which are no longer reachable by the application but were held on to strongly by the Document node. [Ludger Bünger]
  • update: Improved the messages reported for minOccurs/maxOccurs related schema validation errors. [Michael Glavassevich]
  • fix: Fixed problems with regular expression matching where the parser would hang or cause a stack overflow exception. [Khaled Noaman]
  • fix: Fixed a problem where the LSParser repeatedly overwrote a text node child of an element (rather than appending) when there are multiple text nodes in the input. [Michael Glavassevich]
  • fix: Fixed an infinite loop in XMLScanner which could allow remote attackers to launch a denial of service attack (CVE-2009-2625). [Michael Glavassevich]
  • fix: Fixed a bug in XSDateTime where getXMLGregorianCalendar() would lose precision for fractional digits and insert time-zones where there are none. [Michael Glavassevich]
  • fix: 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. [Ludger Bünger]
  • fix: Fixed a bug in the SoftReferenceSymbolTable which could cause it to get stuck in an infinite loop. [Anli Shundi]
  • fix: Fixed a bug which could cause an ArrayIndexOutOfBoundsException to be thrown when adopting a node from a deferred DOM. [Michael Glavassevich]
  • fix: Fixed various bugs and made various improvements. [Nathan Beyer, Dave Brosius, Ludger Bünger, Arthur De Magalhaes, Mukul Gandhi, Sandy Gao, Michael Glavassevich, Khaled Noaman]