Dom4j Versions Save

flexible XML framework for Java

version-2.1.4

1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/dom4j/dom4j/compare/version-2.1.3...version-2.1.4

version-2.1.3

4 years ago

Improvements

  • Added new factory method org.dom4j.io.SAXReader.createDefault(). It hase more secure defaults than new SAXReader(), which uses system XMLReaderFactory.createXMLReader() or SAXParserFactory.newInstance().newSAXParser(). SAXReader.createDefault() disable parsing of external entities in the SAX parser.

version-2.0.3

4 years ago

Branch 2.0.x for Java 1.5 aligned with branch 2.1.x.

Improvements

  • Added new factory method org.dom4j.io.SAXReader.createDefault(). It hase more secure defaults than new SAXReader(), which uses system XMLReaderFactory.createXMLReader() or SAXParserFactory.newInstance().newSAXParser(). SAXReader.createDefault() disable parsing of external entities in the SAX parser.

version-2.1.1

5 years ago

Bug fix release.

Potential breaking changes

  • If you use some optional dependency of dom4j (for example Jaxen, xsdlib etc.), you need to specify an explicit dependency on it in your project. They are no longer marked as a mandatory transitive dependency by dom4j.
  • Following SAX parser features are disabled by default in DocumentHelper.parse() for security reasons (they were enabled in previous versions):
    • http://xml.org/sax/properties/external-general-entities
    • http://xml.org/sax/properties/external-parameter-entities

Fixed issues

  • #28 Possible vulnerability of DocumentHelper.parseText() to XML injection (reported by @s0m30ne)
  • #34 CVS directories left in the source tree (reported by @ebourg)
  • #38 XMLWriter does not escape supplementary unicode characters correctly (reported by @abenkovskii)
  • #39 writer.writeOpen(x) doesn't write namespaces (reported by @borissmidt)
  • #40 concurrency problem with QNameCache (@jbennett2091)
  • #43 and #46 all dependencies are optional (reported by @Zardoz89 and @vmassol)
  • #44 SAXReader: hardcoded namespace features (reported by @philippeu)
  • #48 validate QNames (reported by @mario-areias)

version-2.1.0

6 years ago

Minimum supported version of Java for this branch upgraded to Java 8. Added support for build with Java 9.

version-2.0.2

6 years ago

This release contain only bug-fixes:

  • StringIndexOutOfBoundsException in XMLWriter.writeElementContent() (#26)
  • TreeNode has grown some generics

version-2.0.1

6 years ago

This release contain only bug-fixes:

  • QName serialization fix (#17)
  • DocumentException initialize with nested exception (#20)
  • Accidentally occurring error in a multi-threaded test (#14)

version-2.0.0

8 years ago
  • compatibility with W3C DOM Level 3 → compatible with Java 5+
  • use Java generics

dom4j-2.0.0-RC1

8 years ago
  • sources can be build with JDK 1.5 or newer (implements W3C DOM Level 3)
  • all classes and interfaces are generified

dom4j-1-3

8 years ago

Released on March 14, 2002.