The dom4j team is pleased to announce the dom4j 1.6 release!
http://dom4j.org
dom4j: the flexible XML framework for Java
Changes in this version include:
New Features:
o Added a methods to SAXReader allowing to specify the encoding used when
reading XML sources. Thanks to Filip Jirsak.
o Added a setXMLEncoding(String) method to the Document interface.
o Added a SingletonStrategy class for managing singletons. This allows to use
different strategies for singletons, like: one instance per VM, one
instance per thread, ... This change removed the usage of ThreadLocals.
Fixed bugs:
o Removed a static OutputFormat field from AbstractBranch. This can cause
problems if multiple threads are using the asXML() method simultaniously.
Thanks to John Plaxton.
o Fixed a whitespace problem with the pretty-print OutputFormat. Thanks to
Brett Porter.
o Fixed a bug in the DefaultElement.setContent(List) method that caused
incorrectly resetting the parent of the nodes in the list. Thanks to Peter
Schaefer.
o Fixed a problem in AbstractDocument.asXML() when an encoding was specified
on the Document. Thanks to Pieter Valcke.
o The DefaultNamespace.isReadOnly() method now returns false. This fixes
issues with cloning this Node.
o Fixed a bug in Stylesheet when an xpath expressions was used to select the
nodes. Thanks to Brett Porter.
Changes:
o Changed the DocumentHelper.parseText(String) method to make sure that the
XML encoding is always set (if known) on the returned Document, even if the
used SAXParser doesn't provide a way to retrieve that encoding.
o Modified SAXEventRecorder to accomodate sax events generated when writing a
DOMDocument.
o Updated DocumentFactory to create the instance untill the first time it is
needed. Thanks to Brian Topping.
Removed features:
o Removed persistence package and sub-package.
Have fun! -The dom4j team
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ dom4j-user mailing list dom4j-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dom4j-user