logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: Details of XML Validation errors with lxml: msg#00020

Subject: Re: Details of XML Validation errors with lxml

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


<Prev in Thread] Current Thread [Next in Thread>