RE: [xml] Finding a node's line number



My fault. I created the XML files with XmlSpy and forgot that in default it
terminates lines with CR only.
After setting XmlSpy to insert CRLF it works fine. Many thanks.



-----Original Message-----
From: Daniel Veillard [mailto:veillard redhat com] 
Sent: Sunday, May 09, 2004 4:14 PM
To: Israel Ganor
Cc: 'xml gnome org'
Subject: Re: [xml] Finding a node's line number


On Sun, May 09, 2004 at 03:57:26PM +0200, Israel Ganor wrote:
How can I get the real line number?

(I'm using win32 libxml2 2.6.7).

  Works fine on Linux. No idea where this comes from on your 
side, could be a library problem or an instance problem. Add 
an error in the file, check that xmllint gives the right line 
number on it, triple check your instance line termination, 
etc ... In a nutshell investigate, because the problem is 
yours until you can give us a reproductible failure case.

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://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]