[lxml-dev] relaxNQ errors

Curtis Scheer Curtis at DAYCOS.com
Mon May 7 22:49:05 CEST 2007


Thanks for the help, so far I am quite impressed with this library.

-----Original Message-----
From: Stefan Behnel [mailto:stefan_ml at behnel.de] 
Sent: Monday, May 07, 2007 3:20 PM
To: Curtis Scheer
Cc: lxml-dev at codespeak.net
Subject: Re: [lxml-dev] relaxNQ errors

Hi,

Curtis Scheer wrote:
> New to the lxml library so forgive me if I missed this in the
> documentation, I am trying to validate an xml file against RelaxNG. The
> function relaxing() appears to only returned a 1 or 0 based on whether
> it is valid. Is there a way I can get the specific error as to why it
> failed?

Please refer to the in in-development docs of lxml, they are much easier to
read.

http://codespeak.net/lxml/dev/validation.html

Hope it helps,
Stefan

_______________________________________________
lxml-dev mailing list
lxml-dev at codespeak.net
http://codespeak.net/mailman/listinfo/lxml-dev


More information about the lxml-dev mailing list