Package: libxml2 Version: 2.7.4.dfsg-1 Severity: important XML files that validated in the past no longer validate due to an internal error in the Relax-NG parser. I've attached a simple testcase. The archive contains the .rnc files, the corresponding .rng files (converted from the .rnc files with trang) and a .xml file. I get the following error:
$ xmllint --relaxng rngref.rng rngref.xml rngref-ext.rng:5: element ref: Relax-NG parser error : Internal error: reference has content in CheckReference tcont Relax-NG schema rngref.rng failed to compile <?xml version="1.0"?> <root> <t>foo</t> </root> zsh: exit 5 xmllint --relaxng rngref.rng rngref.xml -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores) Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/dash Versions of packages libxml2 depends on: ii libc6 2.9-26 GNU C Library: Shared libraries ii zlib1g 1:1.2.3.3.dfsg-15 compression library - runtime Versions of packages libxml2 recommends: ii xml-core 0.12 XML infrastructure and XML catalog libxml2 suggests no packages. -- no debconf information
rngref.tar.gz
Description: application/tar-gz

