These five tests started failing with libxml2 >=2.13.5:
FAIL: examples/bigxml-embed
FAIL: examples/bigxml-embed-ref
FAIL: examples/bigxml-relaxng
FAIL: examples/bigxml-well-formed
FAIL: examples/bigxml-xsd
File test-suite.log is attached.
If anyone finds time to research this in more detail, please share your findings — thank you!
I suspect these issues are related to issue #134. Testing with libxml2-2.14.5, nearly the entire test suite fails.
Last edit: Loren M. Lang 2025-08-19
I had a bug in my script that caused the failure in my last comment. I've actually confirmed the same exact 5 tests fail on both 2.13.x and 2.14.x.
I've confirmed that the tip of all branches from 2.9.x to 2.12.x past the test suite without issue and the change in 2.13.x is the same as reported in #134. XMLStarlet fails with the following error on those tests:
couldn't read file '-'
- - invalid
I can confirm that this and #134 are the same issue. I tracked it down to some of the libxml2 functions for opening xml readers no longer supporting reading from stdin.
I've opened a PR to patch it in Gentoo Linux, which makes the tests pass (here: https://github.com/gentoo/gentoo/pull/44621).
I'm not sure it's the right fix, feedback is welcome.