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. HTH. [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
signature.asc
Description: Digital signature