GNOME Bugzilla – Bug 595792
Relax-NG parser internal error due to externalRef (regression)
Last modified: 2017-06-12 19:06:10 UTC
Created attachment 143562 [details] testcase With libxml2 2.7.4 (under Linux and Mac OS X), I get an internal error from the Relax-NG parser with the attached testcase. 2.7.3 has no problems on this example. $ 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 Note: the .rng files have been generated from .rnc files with trang.
Okay, found and fixed in git, thanks for raising the issue ! I added the test to the regression suite, thanks ! Daniel