Re: [xml] xmlValidityErrorFunc how-to?



On Fri, Oct 10, 2003 at 12:59:11PM +0200, Petr Novak wrote:
So, is any way how to obtain pointer to xmlNode in whitch error was occured
during validation? (not only string with error message with element name)

  Currently it's hard, you'd have to work with the parser context too
and do a lot of guessing.
  In 2.6.0 it will be provided by the error reporting framework,
check CVS if you want to see the new code.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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