Re: [xml] accessing Parser-Ctxt in SAX based schema validation



Hi,


Daniel Veillard wrote:

Is there any other way for accessing line numbers in the parsed xml? If no, any chance to get the patch included in the distribution?

  getting the global xmlError, i would assume it get updated
    http://xmlsoft.org/html/libxml-xmlerror.html#xmlGetLastError

yes, this works too


Patch makes some sense, except inlining a public function and not checking
the input parameter. Took a bit longer to push than expected du to some documentation extraction problems, now fixed...

commited in revision 3738,

Thanks for the corrections and the commit,

 Holger





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