On Mon, Jul 07, 2008 at 02:57:25PM +0200, Ralf Junker wrote:
> Daniel Veillard wrote:
> 
> >This may depend on the API used, i.e. whether you're on SAX1 or SAX2 
> >underneath.
> 
> I am using xmlReadFile(), which is supposed to use SAX2 underneath (if I am 
> not mistaken).

  yes, that's the new APIs, good :-)

> >It seems xmlSAX2TextNode() forgets to set the line, can you check the
> >enclosed patch fixes it for you ?
> 
> Yes, the patch appears to work well. It makes xmlGetLineNo() return proper 
> line numbers for XML_TEXT_NODE nodes where it returns just 0 (zero) without 
> the patch.

 okay, commited to SVN rev 3751

   thanks !

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
[EMAIL PROTECTED]  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to