Menu

#135 [1.6.1] Five tests are failing with libxml2 >=2.13.5

all
open
nobody
None
5
2025-11-14
2025-06-13
No

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!

1 Attachments

Discussion

  • Loren M. Lang

    Loren M. Lang - 2025-08-19

    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
  • Loren M. Lang

    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

     
  • Thomas Jespersen

    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.

     

Log in to post a comment.