[xml/sgml-pkgs] Bug#419091: More information on RelaxNG validation bug

brian m. carlson sandals at crustytoothpaste.ath.cx
Tue May 29 06:36:01 UTC 2007

I have compiled libxml2 with RelaxNG debugging (change the #if 0 to #if
1 in relaxng.c) and produced a debugging log[0] with DocBook 5.0CR4 on
the test document.

The interesting part (for this bug) comes around line 11832, where it
claims that "Validating element imagedata failed".  The group
db.imageobject.content can contain three types of imagedata:
db.imagedata, db.imagedata.mathml, and db.imagedata.svg.  libxml2
proceeds to try validating against the last of these, fails because it
does not contain an svg:svg, and promptly gives up.

Unfortunately, there are two other alternatives that it neglected to
consider in totality, the first of which is the valid one.


[0] http://crustytoothpaste.ath.cx/~bmc/files/free/dump/xmldump

brian m. carlson / brian with sandals: Houston, Texas, US
+1 713 440 7475 | http://crustytoothpaste.ath.cx/~bmc | My opinion only
Screw you, AACS LA: 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
OpenPGP: RSA v4 4096b 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20070529/0cd72fa6/attachment-0001.pgp 

More information about the debian-xml-sgml-pkgs mailing list