[xml/sgml-pkgs] Bug#546442: libxml2: Relax-NG parser internal error due to externalRef (regression)
Vincent Lefevre
vincent at vinc17.org
Sun Sep 13 09:38:21 UTC 2009
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rngref.tar.gz
Type: application/x-tar-gz
Size: 471 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20090913/2e52e087/attachment.bin>
More information about the debian-xml-sgml-pkgs
mailing list