[xml] cross compile

2008-09-25 Thread Prashant R
Has anyone have experience building libxml2 on an ARM processor platform. Need some parameters to configure the BUILD and host ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml

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

2008-09-25 Thread Daniel Veillard
On Wed, Sep 10, 2008 at 08:08:53AM +0200, Stefan Behnel wrote: Hi, Martin (gzlist) wrote: On 08/09/2008, Stefan Behnel [EMAIL PROTECTED] wrote: there was a change in 2.7.1 (xmlsave.c, ~760) that prevents HTML documents from being serialised in XML style... ... If the current

Re: [xml] News from the RNC front?

2008-09-25 Thread Daniel Veillard
On Thu, Sep 11, 2008 at 04:18:16PM +0200, Stefan Behnel wrote: Hi, is there actually any news from the RelaxNG compact syntax parser front? Last I heard, it was considered for inclusion way back when libxml2 2.6 was still young. I tried to find the original patch and found several mails

Re: [xml] Please help in resolving installation problem.

2008-09-25 Thread Daniel Veillard
On Thu, Sep 11, 2008 at 02:54:03PM -0400, Jasniewski, Chris wrote: Dear Sirs: I have installed libxml-2.7.1 and pkg-config-0.23. When I run configure on C++ wrapper directory libxml++-2.7.1 I got following errors: that's a libxml++ configuration error. You're probably missing some

Re: [xml] Issues on Linux x86_64

2008-09-25 Thread Daniel Veillard
On Sun, Sep 14, 2008 at 05:38:38PM +0200, DspLabs Srl wrote: Hello, we already briefly discussed about this issue regarding some segfault I experienced on 64 bit Linux targets when using custom error handlers sorry for repeating this, but still having problems after upgrade to 2.7.1 May I

Re: [xml] Reading CDATA

2008-09-25 Thread Daniel Veillard
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 xmlParseDoc() interface. My first try was to read the data node string via

Re: [xml] Libxml2 2.7.1 build failed: make tests on SuSE 9.x ia64

2008-09-25 Thread Daniel Veillard
On Thu, Sep 18, 2008 at 10:53:56AM -0700, Mark Lavi wrote: Howdy, This is my first time posting here after checking the FAQ, the bug database, and the September postings to this mailing list archive, but I could not find any similar report for my issue. I've recently built, tested,

Re: [xml] creating a nodeset from a string

2008-09-25 Thread Daniel Veillard
On Thu, Sep 18, 2008 at 10:47:47PM -0700, Aaron Patterson wrote: Hi! I've got an html document that I'm trying to modify using libxml. I need to be able to take a string that contains an arbitrary set of html tags, turn those tags in to a nodeset, and scatter them about my existing

Re: [xml] XQuery

2008-09-25 Thread Daniel Veillard
On Fri, Sep 19, 2008 at 10:54:23AM +, dhk wrote: I don't see XQuery in the API list at http://www.xmlsoft.org/html/index.html . Does libxml2 have APIs for XQuery? no, out of scope IMHO. Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ [EMAIL

Re: [xml] Creating XMLElement from XML String

2008-09-25 Thread Daniel Veillard
On Sat, Sep 20, 2008 at 10:30:45AM +0530, Apparao Mulpuri wrote: Hi List, I am trying to create a XMLElement form a XMLString. Here is the method implementation in Apple Mac OS X which is not working: - (id)initWithXMLString:(NSString *)string error:(NSError **)error

Re: [xml] Whitespaces within URI

2008-09-25 Thread Daniel Veillard
On Tue, Sep 23, 2008 at 03:22:57PM +0200, Michael Buchner wrote: Hello, I have problems with URIs containing whitespaces using the XSLT document() function. It seems to be a general problem in libxml2 when loading external documents, for example C:/Program Files/test.xml by definition

Re: [xml] Compilation error on MacOS with -with-minimum option

2008-09-25 Thread Daniel Veillard
On Wed, Sep 17, 2008 at 12:20:48PM -0700, Prashanth R wrote: I am trying to build libxml2 (2.7.1.2) static lbrary. I was able to build with the options as I needed only SAX2 . [...] *runxmlconf.c:160: error: syntax error before 'ctxtXPath'* Any ideas to why this would happen ? runxmlconf.c

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

2008-09-25 Thread Daniel Veillard
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 the defintion of uint8_t and uint16_t. hum, isn't there a more common

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

2008-09-25 Thread Daniel Veillard
On Thu, Sep 11, 2008 at 06:12:30PM +1000, Michael Day wrote: Hi, The attached file illustrates a UTF-8 decoding bug in the HTML parser, which can be recreated with: $ xmllint --html utf8bug.html The last one or two characters in the document are corrupted, and xmllint reports an

Re: [xml] XQuery

2008-09-25 Thread Micah Dubinko
Daniel Veillard wrote: Does libxml2 have APIs for XQuery? no, out of scope IMHO. Out of curiosity, do you consider XQuery out of scope because of limited resources, or do you have deeper reservations? XQuery seems to me like it would be a great fit for libxml2. -m

Re: [xml] Whitespaces within URI

2008-09-25 Thread Daniel Veillard
On Thu, Sep 25, 2008 at 06:05:10PM +0200, Michael Buchner wrote: Daniel Veillard [EMAIL PROTECTED] wrote on 25.09.2008 17:28:42: On Tue, Sep 23, 2008 at 03:22:57PM +0200, Michael Buchner wrote: Hello, I have problems with URIs containing whitespaces using the XSLT document()

Re: [xml] Regarding Encoding Conversion In xmlOutputBufferWrite()

2008-09-25 Thread Daniel Veillard
On Thu, Sep 25, 2008 at 11:20:46AM +0530, Rabi Narayan Sahoo wrote: Hi All In xmlOutputBufferWrite function the encoding conversion is done if and only if the used size of the buffer is greater than the MINLEN (4000) yes converter call is costly so we try to minimize them or the number

Re: [xml] schema validation error

2008-09-25 Thread Daniel Veillard
On Mon, Sep 22, 2008 at 10:53:14AM +1000, Andrew Canby wrote: I am trying to validate some xml with a schema i have. it works great when the xml is valid, however as soon as the xml is malformed in one way or another it kills my app. basically i want to handle the failed validation and

Re: [xml] XQuery

2008-09-25 Thread Daniel Veillard
On Thu, Sep 25, 2008 at 09:13:26AM -0700, Micah Dubinko wrote: Daniel Veillard wrote: Does libxml2 have APIs for XQuery? no, out of scope IMHO. Out of curiosity, do you consider XQuery out of scope because of limited resources, or do you have deeper reservations? XQuery seems

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

2008-09-25 Thread Michael Day
Hi Daniel, See patch attached, i'm commiting it to SVN as this fixes the specific test case, all the errors seen when parsing subsequently looks 'normal' :-) so I added it to the test suite Excellent! Would there be any chance that you could look at one more related issue affecting the