[xml] XML::LibXML not returning DTD validation errors



I'm using Perl binding to XML::LibXML 0.99 on Solaris.

XML::LibXML is parsing my XML doc and an externally referenced DTD.

+ If the XML doc contains an error, it spits out the error to the console.
+ If the DTD contains an error, it does the same.
- If the XML doesn't conform to the DTD, the is_valid method returns 0, but
I'm not sure how to get at descriptive error text.

Can you help?

Thanks.

Matt

p.s. I'm not on this list (yet), so please include my email address in your
reply.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]