[xml] Beginner's question about xPath

2005-06-30 Thread ABeylin
Hi, I cannot figure out how to use xPath without loading the entire XML into memory. Let me start of by saying that the document is stored in a proprietary format, so I have to use our functions to read the data from the files. I would like to use xPath without having to load entire XML into

Re: [xml] current state of validating against Schemas

2005-06-30 Thread Frans Englich
On Monday 27 June 2005 09:04, Kasimier Buchcik wrote: Hi, On Sun, 2005-06-26 at 17:51 -0400, Daniel Veillard wrote: On Sun, Jun 26, 2005 at 02:47:45PM -0500, Rob Benton wrote: Hey guys I have been looking through a lot of the old messages in the archive about validation using schemas.

Re: [xml] current state of validating against Schemas

2005-06-30 Thread Kasimier Buchcik
Hi Frans, On Wed, 2005-06-29 at 22:38 +, Frans Englich wrote: On Monday 27 June 2005 09:04, Kasimier Buchcik wrote: [...] 4. The complex content model cannot be built in some cases [3] [...] A follow up question: how does xmllint's current schema state relate to the Schema for

Re: [xml] current state of validating against Schemas

2005-06-30 Thread Frans Englich
On Thursday 30 June 2005 12:23, Kasimier Buchcik wrote: Hi Frans, On Wed, 2005-06-29 at 22:38 +, Frans Englich wrote: On Monday 27 June 2005 09:04, Kasimier Buchcik wrote: [...] 4. The complex content model cannot be built in some cases [3] [...] A follow up question: how does

[xml] Bugzilla: xmllint garbles output from UFT-16 DocBook xml-files

2005-06-30 Thread Kenneth Johansson
Hi, This is my first post tothis list. I've posted a bug at Bugzilla which I hope you can help me with. Best regards, /Kenneth http://bugzilla.gnome.org/show_bug.cgi?id=309215 libxml2 | general | Ver: 2.6.19 Summary: xmllint garbles output from UFT-16 DocBook xml-files Product: libxml2

Re: [xml] Beginner's question about xPath

2005-06-30 Thread Liam R. E. Quin
On Wed, 2005-06-29 at 15:39 -0400, [EMAIL PROTECTED] wrote: I cannot figure out how to use xPath without loading the entire XML into memory. This is an implementation-specific question, and for libxml2 the answer is usually that you will need the whole document in memory. If this is a problem

[xml] Re: patch to make gcc 2.96 happy

2005-06-30 Thread Aleksey Sanin
Ops, sorry. Let me take it back. It is not about gcc but about me not able to distinguish HTTP and HTML words :( Sorry, Aleksey Aleksey Sanin wrote: I have a small patch (attached) to make gcc 2.96 happy (don't ask me why it did not like the original code). I hope nobody would mind if I check

[xml] patch to testapi.c

2005-06-30 Thread Aleksey Sanin
Fixes testapi.c compilation with --enable-html --disable-http options. Aleksey --- testapi.c.orig Sat Apr 2 00:44:00 2005 +++ testapi.c Tue Jun 28 06:14:28 2005 @@ -675,6 +675,9 @@ xmlNanoHTTPClose(val); } } +static void desret_xmlNanoHTTPCtxtPtr(void *val) { +

Re: [xml] Bugzilla: xmllint garbles output from UFT-16 DocBook xml-files

2005-06-30 Thread Daniel Veillard
On Thu, Jun 30, 2005 at 06:02:19PM +0200, Kenneth Johansson wrote: Hi, This is my first post to this list. I've posted a bug at Bugzilla which I hope you can help me with. Like I answered in bugzilla, without the input to xmllint and the command used I can't even look at it. Daniel --

Re: [xml] Entity Rference replacement problem in Canonical module

2005-06-30 Thread Daniel Veillard
On Thu, Jun 30, 2005 at 04:45:14AM -0700, gopabandhu patra wrote: Hello Sir, I've a doubt that We are very sure that Canonical module takes a Document pointer as an input which can be get after parsing of XML document. Now the doubt is If user has not set below value before parsing

Re: [xml] current state of validating against Schemas

2005-06-30 Thread Daniel Veillard
On Thu, Jun 30, 2005 at 02:23:32PM +0200, Kasimier Buchcik wrote: Hi Frans, On Wed, 2005-06-29 at 22:38 +, Frans Englich wrote: On Monday 27 June 2005 09:04, Kasimier Buchcik wrote: [...] 4. The complex content model cannot be built in some cases [3] [...] A follow up

Re: [xml] Beginner's question about xPath

2005-06-30 Thread Daniel Veillard
On Wed, Jun 29, 2005 at 03:39:12PM -0400, [EMAIL PROTECTED] wrote: Hi, I cannot figure out how to use xPath without loading the entire XML into memory. You can't use XPath on a partial tree by default. Nothing replaces taking at least 15mn to read about a subject before doing any code

[xml] xmlNodeDumpOutput() returns ![CDATA[ ]]

2005-06-30 Thread Joel McConaughy
I am using xmlNodeDumpOutput() to display the results of an xpath expression. If the nodeset contains CDATA sections, the output includes ![CDATA and ]]. From the docs, it sounds like this should be stripped. Is this expected behavior? If so, is there a way to have this stripped? Thanks.

[xml] Entity Rference replacement problem in Canonical module

2005-06-30 Thread gopabandhu patra
ECT_IDS | XML_COMPLETE_ATTRS;xmlSubstituteEntitiesDefault(1); Then canonical module is working fine or else returning error.Can you say me what might be the solution?.RegardsGopa-Yahoo! SportsRekindle the Rivalries. Sign up for Fantasy Football-- next part --