[lxml-dev] Details of XML Validation errors with lxml
Stefan Behnel
stefan_ml at behnel.de
Mon May 14 14:37:06 CEST 2007
Stefan Behnel wrote:
> Eric Garin wrote:
>> I've found a bit by chance how to render the line number error but I
>> would like for example to be abble to give to the users the offset (or
>> position in line) where the error occur.
>
> Sadly, this information is not provided by libxml2
Sorry, looks like I was mistaken here. This information *is* provided by
libxml2 in some contexts, so I'll try to make it available at the lxml API level.
Please check the SVN trunk (becoming lxml 1.3) to see how things advance.
Stefan
More information about the lxml-dev
mailing list