xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Elliotte Rusty Harold <elharo AT ibiblio.org>
- To: XOM interest <xom-interest AT lists.ibiblio.org>
- Subject: [[XOM-interest] ] 1.4.1 released
- Date: Wed, 29 Apr 2026 13:48:50 +0000
I've posted the latest release of XOM in the usual location:
https://xom.nu
This release is fully Java API compatible. It should be a drop-in
replacement for all versions since 1.0.
The primary motivator for 1.4.1 was updating Jaxen to 2.0.1 to resolve
some edge conditions in XPath processing:
* The round() function now correctly returns negative zero for values
between -0.5 and -0.0.
* The number() function rejects some strings Java recognizes as a
number but XPath does not.
* No longer throw NoSuchElementException when evaluating an XPath
expression with multiple predicates and more nodes than predicates.
Furthermore, I've implemented reproducible builds. Builds should now
be byte-per-byte reproducible as long as you use the same JDK to
build.
In addition, there are a couple of small new features and improvements
ParsingException.getMessage() now includes the line and column number
where the error occurred, if that information is available.
I also hardened internal DTD subset construction against malformed SAX
declaration callbacks by validating declaration names and rejecting
malformed declaration fragments supplied by untrusted parsers. This
has no impact when using trusted parsers like Xerces or the JDK's
bundled parser.
Enjoy!
--
Elliotte Rusty Harold
elharo AT ibiblio.org
- [[XOM-interest] ] 1.4.1 released, Elliotte Rusty Harold, 04/29/2026
Archive powered by MHonArc 2.6.24.