a better mousetrap, and the world will
a path to your door."
provide a complete, Java-based solution for accessing, manipulating,
and outputting XML data from Java code. Read more about our project
18.104.22.168 is available! This release contains a few fixes including a security fix:
Get JDOM Here!
JDOM 2.x versions are a significant reworking of the JDOM API to enhance it with Generics, and
other Java Language features introduced with Java 5. JDOM 2.x is fully supported for
use with Java 6 or Java 7, and is also compatible with Java 5 with a few restrictions.
See the full
Statement on Supported Versions and Dependencies
To facilitate the deployment of JDOM 2.x, the entire JDOM package has been renamed.
If you are migrating to JDOM 2.x from previous JDOM versions you will need to change
your package imports from org.jdom.* to org.jdom2.*
JDOM 1.x to JDOM 2.x migration guide is available.
JDOM 1.x versions are operating in maintenance mode only and only
bug fixes will be considered for future 1.x releases. The only reason to continue using
JDOM 1.x is for compatibility with older Java versions (back to Java 1.2).
New features are being considered for JDOM2 though. If you want to be
involved, or have suggestions or questions, please write in to the
mailing list and check out the
Get JDOM Here!
- Fixes Issue 156 - Report prolog whitespace
- Fixes Issue 161 - org.jdom2.contrib.input.scanner. ElementScanner#parse(InputSource) fails with java.lang.NullPointerException: No parent for filter
- Fixes Issue 165 - AbstractReaderXSDFactory: SchemaFactory needlessly managed as a thread-global
- Fixes Issue 171 - Fix for NPE on null attribute name
- Fixes Issue 173 - Element.getContentSize() gives different result with CDATA between v1.1 and v2.0.6
- Fixes Issue 189 - Security warning: CVE-2021-33813
- Note: Now built with JDK 1.8.0_151-b12 rather than JDK 1.7.0_75-b13 which 2.0.6 used (still targets 1.5 using source/target flags)
We've succeeded in our mission with an API that's been through years
of design and development and a codebase that is rock solid.
JSR-102? That's a good question. It hasn't been a priority for
us. We seem to be doing pretty well on our own, it turns out.
If you are wondering
what Jason has been doing lately, he's working on
MarkMail. It's a searchable email archive system.
You can try searching the JDOM lists at
2.0.x versions are out, and work is starting on identifying what new features can be added
to a future 2.1.x release series. If you have comments, questions, or suggestions for something
that is, or should be, in a 2.1.x release, please write in to
jdom-interest. Current features being considered are improved
XPath support (XPath 2.0) and updated XSLT processing, and also an extended StAX Handling API.