Re: [xml] Reading CDATA

2008-09-26 Thread Hartmut Sbosny
Hi Daniel, On Thursday, 25. September 2008 17:05, Daniel Veillard wrote: On Wed, Sep 17, 2008 at 06:48:37PM +0200, Hartmut Sbosny wrote: Hello, I am fresh to libxml. I want to read an xml file containing the part data ![CDATA[...]] /data Currently I use the

Re: [xml] Reading CDATA

2008-09-26 Thread Daniel Veillard
On Fri, Sep 26, 2008 at 10:31:36AM +0200, Hartmut Sbosny wrote: Hi Daniel, On Thursday, 25. September 2008 17:05, Daniel Veillard wrote: On Wed, Sep 17, 2008 at 06:48:37PM +0200, Hartmut Sbosny wrote: Hello, I am fresh to libxml. I want to read an xml file containing the part

Re: [xml] XQuery

2008-09-26 Thread Liam R E Quin
On Thu, 2008-09-25 at 19:06 +0200, Daniel Veillard wrote: [...] XQuery doesn't make that much sense when playing with a single document, There are several implementations of XQuery that work on a single document and that people say are useful. my feeling is that it's more fit for a

Re: [xml] Reading CDATA

2008-09-26 Thread Hartmut Sbosny
On Fri, 26. September 2008 11:15, Daniel Veillard wrote: On Fri, Sep 26, 2008 at 10:31:36AM +0200, Hartmut Sbosny wrote: Hi Daniel, On Thursday, 25. September 2008 17:05, Daniel Veillard wrote: On Wed, Sep 17, 2008 at 06:48:37PM +0200, Hartmut Sbosny wrote: Hello, I am fresh to

Re: [xml] UTF-8 decoding bug in HTML parser

2008-09-26 Thread Michael Day
Hi Daniel, Reusing the XML code for this seems to work fine for em and the regression test, but you have probably a more extensive HTML test suite than me ;-) so raise the problem if there is a regression ! Will commit to SVN with the test case, Thanks, I'll check it out. I think this

Re: [xml] UTF-8 decoding bug in HTML parser

2008-09-26 Thread Michael Day
Hi Daniel, Reusing the XML code for this seems to work fine for em and the regression test, but you have probably a more extensive HTML test suite than me ;-) so raise the problem if there is a regression ! Actually, I just remembered one more issue: null bytes in HTML documents terminate

Re: [xml] UTF-8 decoding bug in HTML parser

2008-09-26 Thread Daniel Veillard
On Fri, Sep 26, 2008 at 08:24:33PM +1000, Michael Day wrote: Hi Daniel, Reusing the XML code for this seems to work fine for em and the regression test, but you have probably a more extensive HTML test suite than me ;-) so raise the problem if there is a regression ! Will commit to SVN

Re: [xml] UTF-8 decoding bug in HTML parser

2008-09-26 Thread Daniel Veillard
On Fri, Sep 26, 2008 at 08:29:44PM +1000, Michael Day wrote: Hi Daniel, Reusing the XML code for this seems to work fine for em and the regression test, but you have probably a more extensive HTML test suite than me ;-) so raise the problem if there is a regression ! Actually, I just

Re: [xml] libxml2-2.7.1, solaris 8, and xmlDictComputeBigKey

2008-09-26 Thread Andrew W. Nosenko
On Thu, Sep 25, 2008 at 6:43 PM, Daniel Veillard [EMAIL PROTECTED] wrote: On Tue, Sep 02, 2008 at 11:09:38AM -0400, Matt Goebel wrote: Hi, The changes around line 266 in dict.c which relate to xmlDictComputeBigKey, at least on solaris, require the inclusion of sys/int_types.h to pick up

Re: [xml] libxml2 2.7.1 breaks XML serialisation of HTML trees

2008-09-26 Thread Martin (gzlist)
On 25/09/2008, Daniel Veillard [EMAIL PROTECTED] wrote: Stephan, Martin, could you check the enclosed patch ? I'm commiting it to SVN head too but it's probably easier to review that way. I built trunk and had a play around, this handles my use case, thanks! A couple of concerns, first

[xml] libxml - source file list for cross compilation

2008-09-26 Thread Prashant R
I need to specify the sources that I need to build a static library with a tiny footprint. I need the following xmlparser ( non file based , by creating parser context and then using xmlparseChunk) DOM C14n xmlwriter ( ability to only write data to a buffer ) I do not need SAX SAX2 File IO (