[xml] Incorrect linenumber in error reporting

2009-03-16 Thread Kris Breuker
2.7.3 for Windows (as compiled by Igor Zlatovic). I also ran xmllint on a Unix system which reported the correct line numbers, but that was only version 2.6.20. Kris Breuker ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml

[xml] addSibling missing check for element equality

2009-03-11 Thread Kris Breuker
think the equality check should be added to addSibling as well, like in the attached patch. Regards, Kris Breuker --- tree.c Sat Jan 17 14:45:34 2009 +++ tree_patched.c Wed Mar 11 12:16:22 2009 @@ -3103,6 +3103,14 @@ return(NULL); } +if (cur == elem) { +#ifdef

[xml] Patch for xmlAddChild

2008-12-31 Thread Kris Breuker
attribute is destroyed: it reads parent->properties to find the last attribute in the list, but parent->properties is set to NULL when the only property is destroyed by xmlUnlinkNode. I think the attached patch should fix this. Could someone take a look at it? Thanks, Kris Breuker --- tre

Re: [xml] embedded comments in DTD

2008-09-11 Thread Kris Breuker
dy supported. As far as I know, this is not a libxml error, so it does not have to be supported. Kris Breuker ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml

Re: [xml] Inserting document fragment

2006-09-21 Thread Kris Breuker
Op 21-9-2006 11:44 heeft Daniel Veillard het volgende geschreven: > On Thu, Sep 21, 2006 at 11:18:04AM +0200, Kris Breuker wrote: > >>Hi, >> >>When I insert a document fragment node (XML_DOCUMENT_FRAG_NODE) into the >>XML tree (for example using xmlAddChild),

[xml] Inserting document fragment

2006-09-21 Thread Kris Breuker
nt instead of the document fragment itself? Kris Breuker ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml

[xml] XPath and MT environments

2006-08-07 Thread Kris Breuker
Hi, Is it safe to create and use multiple XPath contexts (using xmlXPathNewContext) using the same xmlDocPtr? I have an xmlDocPtr to a parsed XML document, which will not be changed, and I want to run XPath queries on that document, possibly from multiple threads. Kris Breuker

Re: [xml] Libxml 2.6.26 XML parsing bug

2006-07-07 Thread Kris Breuker
Op 7-7-2006 15:51 heeft Daniel Veillard het volgende geschreven: On Fri, Jul 07, 2006 at 02:22:41PM +0200, Kris Breuker wrote: Good afternoon, When I run the attached fotoarchief.xml file through xmllint.exe (compiled from the libxml 2.6.26 sources) just by running xmllint.exe c:\temp

[xml] Libxml 2.6.26 XML parsing bug

2006-07-07 Thread Kris Breuker
the XML file?). I hope you can help me with this. Greetings, Kris Breuker http://www.webhare.net/xmlns/ui/pages"; xmlns:html="http://www.w3.org/1999/xhtml"; fallbacklanguage="nl" appicon="publisher_icon" lib="modu