On Thu, Nov 03, 2005 at 11:51:17AM +0000, Jonathan Cooper wrote: > Using the libxml2 module directly says that the file is invalid (curious, > since jing says it's valid when using the same schema, and it looks fine > to me). Trying to find out which element 'fails' is tricky, since > calling LineNumber() on the xmlTextReaderLocator object passed to my > error handler causes a segfault :(
Ranting here about libxml2 is fine, but is garanteed to have no effect whatsoever. If you have bugs to reports, that's the way: http://xmlsoft.org/bugs.html I didn't know locator were even provided at the Python level I have no idea what you did. Using the reader to validate RNG may introduce difficulties. What does xmllint --relaxng foo.rng foo.xml says ? And don't report this here, either on bugzilla or on the libxml2 mailing-list, follow the steps explained on that page if you want to see progresses. Daniel -- Daniel Veillard | Red Hat http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ _______________________________________________ XML-SIG maillist - XML-SIG@python.org http://mail.python.org/mailman/listinfo/xml-sig