GNOME Bugzilla – Bug 117001
xmllint --relaxng svg11.rng => RNG internal error
Last modified: 2017-06-12 19:07:07 UTC
Hi With the latest Windows version (libxml2-2.5.7.win32\util\xmllint) I get: C:\del>wget -q http://www3.sppd.ne.jp/lena/relax-ng/svg11/svg11-relaxng-20030117.zip C:\del>mkdir svg11rng C:\del>paext -p"svg11rng" svg11-relaxng-20030117.zip [...unzipping...] C:\del>wget -q http://www.w3.org/TR/SVG11/images/shapes/rect01.svg C:\del>jing svg11rng/svg11.rng rect01.svg C:\del>xmllint --relaxng svg11rng/svg11.rng rect01.svg RNG internal error trying to compile attribute RNG internal error trying to compile attribute RNG internal error trying to compile attribute RNG internal error trying to compile attribute RNG internal error trying to compile attribute [...repeat...] The RNG is not an official W3C schema, but Jing seems to digest it OK. Tobi
Found the problem, the bug was introduced while implementing the compilation as regexp (internally) of subpart of Relax-NG schemas. This now works: gnome:~/tmp/svg11 -> ../../XML/xmllint --noout --nowarning --relaxng svg11.rng rect01.svg http://www.w3.org/Graphics/SVG/1.1/DTD/svg-style.mod:75: validity warning: Attribute space of element style: already defined type %ContentType.datatype; #REQUIRED ^ rect01.svg validates gnome:~/tmp/svg11 -> The warning is just related to the SVG DTD. thanks a lot for the report, it's now fixed in CVS, Daniel
Daniel > thanks a lot for the report, Happy to be of help :) > it's now fixed in CVS, Great! Tobi
This should be closed by release of libxml2-2.5.9, thanks, Daniel