I develop an application using libxml2 to parse (large) XML files.
To help people locating semantic errors in their input files I
recently added support for printing out line numbers. This seems to
be restricted to the first 65535 lines, however.
What I do have is a node context, and if there is
On Wed, Feb 14, 2007 at 10:34:42AM +0100, Stefan Froehlich wrote:
I develop an application using libxml2 to parse (large) XML files.
To help people locating semantic errors in their input files I
recently added support for printing out line numbers. This seems to
be restricted to the first
On Wed, Feb 14, 2007 at 04:57:02AM -0500, Daniel Veillard wrote:
| long int *errorLines;
| long int errorCount;
| xmlNodePtr node;
| [...]
| errorLines[errorCount] = xmlGetLineNo(node);
xmlGetLineNo is declared long, which is fine, but it passes back
(struct _xmlNode*)-line, which
On Wed, Feb 14, 2007 at 11:05:27AM +0100, Stefan Froehlich wrote:
On Wed, Feb 14, 2007 at 04:57:02AM -0500, Daniel Veillard wrote:
| long int *errorLines;
| long int errorCount;
| xmlNodePtr node;
| [...]
| errorLines[errorCount] = xmlGetLineNo(node);
xmlGetLineNo is declared
On Wed, Feb 14, 2007 at 12:00:25PM +0100, Stefan Froehlich wrote:
On Wed, Feb 14, 2007 at 05:12:44AM -0500, Daniel Veillard wrote:
[line numbers only up to 16 Bit]
Completely out of luck?
Keep your own counter as you traverse the tree based in the 16bits
values.
How can I? I don't
On Wed, Feb 14, 2007 at 12:12:17PM +0100, Stefan Froehlich wrote:
Only to justify the need for this, perhaps it will encourage to include
long line numbers in a future revision:
This has been explained many times in the past. This is an API and ABI
breakage, I just Can't Do That , at least
Hi Daniel,
This has been explained many times in the past. This is an API and ABI
breakage, I just Can't Do That , at least not for libxml2, and there is
no plan for libxml3.
In a way it is strange that an open source library can be just as
constrained as a closed source library in this
On Wed, Feb 14, 2007 at 10:30:58PM +1100, Michael Day wrote:
Hi Daniel,
This has been explained many times in the past. This is an API and ABI
breakage, I just Can't Do That , at least not for libxml2, and there is
no plan for libxml3.
In a way it is strange that an open source
Hello again Daniel, and all,
Apologies in advance if this is too long, but this is about as briefly
as I can describe the issue clearly.
The company I work for is standardizing on XML as the means for
representing various types of data, our configuration files being one of
them. We
Will Sappington wrote:
I’m new to XML, but based on a recommendation and my own analysis
after the fact, XPath seemed a reasonable way to replicate this
functionality in XML because it allows you to directly access specific
elements. I’ve had some trouble implementing this, mostly due to a
On Wed, 2007-02-14 at 11:58 -0500, Will Sappington wrote:
The company I work for is standardizing on XML as the means for
representing various types of data, our configuration files being one
of them. We currently use what we call an application profile, just a
hierarchical structure of
Any hint on how to keep the DTD in the XML file when saving it, please?
Thanks in advance! -Ross
On Tue, 2007-02-13 at 14:34 -0500, Ross Mohn wrote:
Hi,
I'm working on a small app that reads in data from an xml file, makes
some changes, then I want to save the xml file again. I validate the
John Dennis wrote:
On Wed, 2007-02-14 at 11:58 -0500, Will Sappington wrote:
The company I work for is standardizing on XML as the means for
representing various types of data, our configuration files being one
of them. We currently use what we call an application profile, just a
hierarchical
On Wed, Feb 14, 2007 at 01:49:30PM -0500, Ross Mohn wrote:
Any hint on how to keep the DTD in the XML file when saving it, please?
Thanks in advance! -Ross
I don't know because I don't understand, libxml2 always saves it by
default.
Daniel
--
Red Hat Virtualization group
-Original Message-
From: Rush Manbert [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 14, 2007 4:50 PM
To: Will Sappington
Cc: John Dennis; xml@gnome.org
Subject: Re: [xml] Proper way to use XML (not library specific)
snip
I think your original post mentioned some difficulty due
Hello,
the page Downloads for libxml2 and libxslt points to the CVS of the
project. However, it seems the project is switched to SVN a time ago.
Am I right? If yes, how I can get the latest sources?
--
Oleg Parashchenko olpa@ http://xmlhack.ru/ XML news in Russian
http://uucode.com/blog/
16 matches
Mail list logo