Re: [xml] [libxslt] GPL-licensed file being distributed with MIT-licensed libxslt

2015-10-16 Thread Daniel Veillard
h that. > > >Any thoughts on what, if anything, should be done about it? > > It's only part of the documentation, so I don't see a problem. Simplest is to find and ask the authors if they are fine relicencing those, hopefully they see no problem and I will fix this, I tried to

Re: [xml] Schema validation when using an xml catalog of OGC schemas offline

2015-10-16 Thread Daniel Veillard
p://schemas.opengis.net/csw/2.0.2/CSW-publication.xsd > [3] - > http://schemas.opengis.net/csw/2.0.2/examples/capabilities/Capabilities_tC22.xml > [4] - http://xmlsoft.org/catalog.html > [5] - > https://www.oasis-open.org/committees/entity/spec-2001-08-06.html#s.public > &

Re: [xml] Continuous integration for libxml2?

2015-10-16 Thread Daniel Veillard
ct page http://xmlsoft.org/ > xml@gnome.org > https://mail.gnome.org/mailman/listinfo/xml -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | virtualization library http://libvirt.org/ __

Re: [xml] [libxslt] GPL-licensed file being distributed with MIT-licensed libxslt

2015-10-16 Thread Daniel Veillard
On Fri, Oct 16, 2015 at 04:53:08PM +0800, Daniel Veillard wrote: > On Wed, Sep 16, 2015 at 11:11:53PM +0200, Nick Wellnhofer wrote: > > On 16/09/2015 22:51, Mike Dalessio wrote: > > >It appears as though the file > > > > > > libxslt-1.1.28/doc/tutoria

Re: [xml] [PATCH] XPath results order

2015-09-14 Thread Daniel Veillard
On Mon, Sep 14, 2015 at 01:20:10PM +0200, Nick Wellnhofer wrote: > On 14/09/2015 03:35, Daniel Veillard wrote: > >On Sat, Jul 11, 2015 at 02:33:17PM +0200, Nick Wellnhofer wrote: > >>Thanks for the report. I fixed it in a slightly different way: > >> > >>https:/

Re: [xml] [PATCH] XPath results order

2015-09-13 Thread Daniel Veillard
; >Patch attached. > > Thanks for the report. I fixed it in a slightly different way: > > > https://git.gnome.org/browse/libxml2/commit/?id=3eaedba1b64180668fdab7ad2eba549586017bf3 I think that influences one of the libxslt regression tests, could you double-check ? thanks,

Re: [xml] Support of HTML v5 parsing

2015-07-08 Thread Daniel Veillard
On Wed, Jul 08, 2015 at 12:55:31PM +0300, Yuriy Ustushenko wrote: On 07/08/2015 07:10 AM, Daniel Veillard wrote: that looks like a very good start, would have been better if the parser context didn't need tweaking as well as xmlDtd. Also I'm not sure about the way to detect HTML5

Re: [xml] Support of HTML v5 parsing

2015-07-07 Thread Daniel Veillard
the big structure into separate C files, this cleans things up ! I need to explore this more, but again this looks like a very good first step, thanks a lot ! Daniel -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http

Re: [xml] Support of HTML v5 parsing

2015-06-30 Thread Daniel Veillard
On Tue, Jun 30, 2015 at 09:29:08AM +0200, Csaba Raduly wrote: On Tue, Jun 30, 2015 at 5:52 AM, Daniel Veillard wrote: (snip) Recognizing that a document is HTML5, extending the list of tags name (did HTML deprecate some of those in HTML4 ?) and associated attributes would

Re: [xml] [PATCH] less-than character and HTML parser module

2015-06-29 Thread Daniel Veillard
On Thu, Apr 16, 2015 at 04:32:32PM +0800, Daniel Veillard wrote: On Tue, Apr 14, 2015 at 05:43:42PM +0200, Christian Schoenebeck wrote: On Tuesday 14 April 2015 17:50:51 you wrote: If anything like this does get put in, it should only be if it is a configurable option that is disabled

Re: [xml] Support of HTML v5 parsing

2015-06-29 Thread Daniel Veillard
, extending the list of tags name (did HTML deprecate some of those in HTML4 ?) and associated attributes would be a relatively simple first step. Someone up to the task, or is there somewhere a list of HTML5 extensions compared to HTML4 ? thanks, Daniel -- Daniel Veillard | Open Source

Re: [xml] 2.9.2: XInclude and ID already defined

2015-05-12 Thread Daniel Veillard
___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org https://mail.gnome.org/mailman/listinfo/xml -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http

Re: [xml] [PATCH] Some fixes for the os400 implementation

2015-04-16 Thread Daniel Veillard
thanks ! Daniel ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org https://mail.gnome.org/mailman/listinfo/xml -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http

Re: [xml] [PATCH] less-than character and HTML parser module

2015-04-16 Thread Daniel Veillard
/ xml@gnome.org https://mail.gnome.org/mailman/listinfo/xml -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | virtualization library http://libvirt.org

Re: [xml] Dumping xmlSchemaPtr to file as XML

2015-03-27 Thread Daniel Veillard
state* not as XML. Is there a way for me to covert the aggregate xmlSchemaPtr back to XML? Hum, no we don't have a conversion back, sorry, Daniel -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http

Re: [xml] libxml2 2.9.2 hangs running multi-threaded on Windows

2015-03-27 Thread Daniel Veillard
___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org https://mail.gnome.org/mailman/listinfo/xml -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org

Re: [xml] [PATCH] xmllint: Fix validation of URIs with ampersands

2015-03-27 Thread Daniel Veillard
, -- 2.3.0 ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org https://mail.gnome.org/mailman/listinfo/xml -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http

Re: [xml] xmlReadDoc and UTF-16LE

2015-02-13 Thread Daniel Veillard
Oops forgot yo reply on the list :-) Daniel On Fri, Feb 13, 2015 at 06:26:54AM +0100, Daniel Veillard wrote: On Mon, Dec 29, 2014 at 05:07:54PM +0100, Denis wrote: Is there a way to read a UTF-16LE Xml document with xmlReadDoc? Using this line of code _document = xmlReadDoc

Re: [xml] [PATCH] libxml2-config.cmake.in: update include directories

2015-02-12 Thread Daniel Veillard
}/lib) set(LIBXML2_LIBRARIES -L${LIBXML2_LIBRARY_DIR} -lxml2) -- 2.2.1 ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org https://mail.gnome.org/mailman/listinfo/xml -- Daniel Veillard | Open Source and Standards

Re: [xml] xml Digest, Vol 128, Issue 2

2015-02-12 Thread Daniel Veillard
-- End of xml Digest, Vol 128, Issue 2 *** ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org https://mail.gnome.org/mailman/listinfo/xml -- Daniel Veillard | Open

Re: [xml] Parse XML file with generated entities

2015-02-12 Thread Daniel Veillard
the default one and then add the entity. You can do that relatively easilly if you create the parser context yourself and use one of the xmlCtxtRead...() calls. That sounds to me the simplest in that third case (i.e. not using SAX or the Reader). Hope this helps, Daniel -- Daniel Veillard

Re: [xml] node() xpath and entity ref nodes

2015-02-12 Thread Daniel Veillard
have to implement everything according to the data model (like keeping CDATA sections for example) but they must return consistant XPath output. Daniel -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http

Re: [xml] Xpath issues with libxml2

2015-02-12 Thread Daniel Veillard
129, Issue 1 *** ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org https://mail.gnome.org/mailman/listinfo/xml -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com

Re: [xml] [PATCH libxml2] threads: use forward declarations only for glibc (fixes #704908)

2014-12-21 Thread Daniel Veillard
/* __GNUC__ */ +#endif /* defined(__GNUC__) defined(__GLIBC__) */ #endif /* HAVE_PTHREAD_H */ /* -- 1.7.10.4 -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | virtualization library

Re: [xml] win32/configure.js broken in Libxml2-2.9.2

2014-10-28 Thread Daniel Veillard
? :) Ouch, okay pushing a fix: https://git.gnome.org/browse/libxml2/commit/?id=7580ce0a7f53891de520fed2c0e360266c286da6 thanks for raising this ! Daniel -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http

[xml] Release of libxml2-2.9.2

2014-10-16 Thread Daniel Veillard
(Daniel Veillard) - CVE-2014-0191 Do not fetch external parameter entities (Daniel Veillard) Bug Fixes: - fix memory leak xml header encoding field with XML_PARSE_IGNORE_ENC (Bart De Schuymer) - xmlmemory: handle realloc properly (Yegor Yefremov) - Python generator bug raised by the const change

Re: [xml] Please review fix memory leak xml header encoding field in combination with XML_PARSE_IGNORE_ENC

2014-10-15 Thread Daniel Veillard
place at this stage, -- 1.8.4 ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org https://mail.gnome.org/mailman/listinfo/xml -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML

Re: [xml] Libxml2-2.9.2 release candidate 2 is available

2014-10-14 Thread Daniel Veillard
On Tue, Oct 14, 2014 at 05:54:28PM +0200, Patrick Monnerat wrote: Daniel Veillard wrote: as a signed tarball libxml2-2.9.2-rc1.tar.gz as well as signed rpms built on Fedora. Compiles and runs like a charm on OS/400. :-) Patrick, it seems the NEWS doesn't get rebuild I will have

[xml] Libxml2-2.9.2 release candidate 2 is available

2014-10-13 Thread Daniel Veillard
with _vsprintf availability (or not) on some of the Microsoft tool ! Patrick, it seems the NEWS doesn't get rebuild I will have to check why and do this manually. If everything looks okay I will push 2.9.2 on Thursday, thanks in advance, Daniel -- Daniel Veillard | Open Source

Re: [xml] Root node attributes

2014-10-13 Thread Daniel Veillard
list, project page http://xmlsoft.org/ xml@gnome.org https://mail.gnome.org/mailman/listinfo/xml ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org https://mail.gnome.org/mailman/listinfo/xml -- Daniel Veillard | Open

Re: [xml] [PATCH] Provide cmake module

2014-10-13 Thread Daniel Veillard
after rc2, thanks ! Daniel -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | virtualization library http://libvirt.org/ ___ xml mailing list

Re: [xml] Root node attributes

2014-10-13 Thread Daniel Veillard
break my code. A comment large enough could do that for example, or any other combination of early PIs and comments, basically your're operating outside the guaranteed zone, it may work ... or break sometimes. Daniel SM On 10/13/2014 11:32 AM, Daniel Veillard wrote: On Sat, Oct 11, 2014

Re: [xml] Libxml2-2.9.2 release candidate 2 is available

2014-10-13 Thread Daniel Veillard
On Mon, Oct 13, 2014 at 12:37:59PM +0200, Yegor Yefremov wrote: Hi Daniel, On Mon, Oct 13, 2014 at 11:30 AM, Daniel Veillard veill...@redhat.com wrote: It is available in the FTP area at ftp://xmlsoft.org/libxml2/ as a signed tarball libxml2-2.9.2-rc1.tar.gz as well as signed

Re: [xml] Libxml2-2.9.2 release candidate 1 is available

2014-10-10 Thread Daniel Veillard
On Thu, Oct 09, 2014 at 06:22:25PM +0200, Patrick Monnerat wrote: Daniel Veillard wrote: Hi Daniel, Thanks for this pre-release and the os400 integration. It seems to work fine for me but more testing including on non-linux platforms would be greatly appreciated ! I tested on os400

[xml] Libxml2-2.9.2 release candidate 1 is available

2014-10-09 Thread Daniel Veillard
candidate 2 on Monday based on a few remaining patches and issues raised with rc1, and shooting for a final release on Thursday next week if everything goes fine, thanks ! Daniel -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit

Re: [xml] LIBXML2 xmlFileOpenW

2014-10-09 Thread Daniel Veillard
specific... You think libxml2 doesn't export enough symbols ;-) ? Daniel -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | virtualization library http://libvirt.org

Re: [xml] LIBXML2 xmlFileOpenW

2014-10-09 Thread Daniel Veillard
https://twitter.com/#!/pmhofman / LinkedIn http://www.linkedin.com/in/knowmad / Stackoverflow http://stackoverflow.com/users/1000917/peter / Quora http://www.quora.com/peter-hofman / Live https://profile.live.com/cid-62b51d236531b4d3/ On 9 October 2014 13:31, Daniel Veillard veill

Re: [xml] Libxml2-2.9.2 release candidate 1 is available

2014-10-09 Thread Daniel Veillard
On Thu, Oct 09, 2014 at 05:41:28PM +0200, Yegor Yefremov wrote: Hi Daniel, On Thu, Oct 9, 2014 at 1:26 PM, Daniel Veillard veill...@redhat.com wrote: It is available in the FTP area at ftp://xmlsoft.org/libxml2/ as a signed tarball libxml2-2.9.2-rc1.tar.gz as well as signed

Re: [xml] xml:base missing on result from XInclude?

2014-10-08 Thread Daniel Veillard
' using lxml or any other tool based on libxml2. I completely missed your reply then and the patch, I will look at it before pushing 2.9.2, thanks ! Daniel -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http

Re: [xml] [PATCH 0/2] uri: Don't spoil addresses when formatting them

2014-10-04 Thread Daniel Veillard
On Fri, Oct 03, 2014 at 10:44:52PM +0200, Martin Kletzander wrote: On Fri, Oct 03, 2014 at 06:26:56PM +0800, Daniel Veillard wrote: [...] With that patch libvirt test suite passes again except one case: 115) QEMU XML-2-ARGV disk-drive-network-gluster ... Offset 295 Expect [//V] Actual [V

Re: [xml] libxslt test suite broken by recent libxml2 commit

2014-10-04 Thread Daniel Veillard
On Sat, Oct 04, 2014 at 11:27:12AM +0200, Nick Wellnhofer wrote: On Oct 4, 2014, at 08:36 , Daniel Veillard veill...@redhat.com wrote: I successfully updated the libxslt test suite to the current docbook-xsl version 1.78.1 from 1.40 and this indeed fixes the problem. But the resulting

[xml] Shooting for a release of 2.9.2 within two weeks

2014-10-03 Thread Daniel Veillard
feeback or being pushed to git, please reply to this message so I don't forget something. Also get ready to spend some time testing starting mid next week, thanks, Daniel -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http

Re: [xml] Strange 0x0a char popping in generated XML

2014-10-03 Thread Daniel Veillard
. ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org https://mail.gnome.org/mailman/listinfo/xml -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | virtualization library

Re: [xml] libxml2: generate a libxml2-config.cmake file

2014-10-03 Thread Daniel Veillard
the binaries. To make this step easier, libxml2 already an xml2-config script and a libxml-2.0.pc. Is it possible to also generate a libxml2-config.cmake file? That's rather uncommon. What it is supposed to look like ? Daniel -- Daniel Veillard | Open Source and Standards, Red Hat

Re: [xml] [PATCH] Add methods for python3 iterator

2014-10-03 Thread Daniel Veillard
= parent.children +next = __next__ # # converters to present a nicer view of the XPath returns -- 1.8.5.5 ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org https://mail.gnome.org/mailman/listinfo/xml -- Daniel Veillard | Open

Re: [xml] libxslt test suite broken by recent libxml2 commit

2014-10-03 Thread Daniel Veillard
with it, thanks for raising this ! Daniel -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | virtualization library http://libvirt.org/ ___ xml mailing list

Re: [xml] [PATCH 0/2] uri: Don't spoil addresses when formatting them

2014-10-03 Thread Daniel Veillard
= max) { -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | virtualization library http://libvirt.org/ ___ xml mailing list, project page http

Re: [xml] How do I use LATEST_LIBXML2?

2014-10-03 Thread Daniel Veillard
file LATEST_LIBXML2. My question is, how do I extract the source files, documentation, etc from this file? Or is this not the correct file? it's a pointer to a gzipped tarball, just fetch libxml2-2.9.1.tar.gz Daniel -- Daniel Veillard | Open Source and Standards, Red Hat veill

Re: [xml] Strange 0x0a char popping in generated XML

2014-10-03 Thread Daniel Veillard
On Fri, Oct 03, 2014 at 11:15:30AM +0200, Jean-Philippe Jacoupy wrote: On Fri, Oct 3, 2014 at 10:56 AM, Daniel Veillard veill...@redhat.com wrote: On Tue, Aug 26, 2014 at 12:30:01PM +, Jean-Philippe Jacoupy wrote: Hello, I'm using libxml2 and I have a strange behaviour

Re: [xml] Shooting for a release of 2.9.2 within two weeks

2014-10-03 Thread Daniel Veillard
to the original, and less likely to raise an unwanted ABI issue. thanks Daniel -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | virtualization library http://libvirt.org

Re: [xml] Strange 0x0a char popping in generated XML

2014-10-03 Thread Daniel Veillard
; sum += count; As for the other one I remove it inside my code. The writer might be able to save without the XMLDecl which would could then add by yourself without that line feed Daniel On Fri, Oct 3, 2014 at 1:11 PM, Daniel Veillard veill...@redhat.com wrote: On Fri, Oct 03

Re: [xml] Dump document to a buffer without xml version

2014-08-22 Thread Daniel Veillard
?, I answered, that's all ! Daniel 2014-08-22 6:34 GMT+02:00 Daniel Veillard veill...@redhat.com: On Wed, Aug 20, 2014 at 07:04:06PM +0200, Iñigo Martínez wrote: Hi: I'm working with a protocol based on XML, something like: Command Timestamp=0 ReceptionTimeStamp=0 Sender=P1 Receiver

Re: [xml] Dump document to a buffer without xml version

2014-08-21 Thread Daniel Veillard
with XML_SAVE_NO_DECL in the option and use http://xmlsoft.org/html/libxml-xmlsave.html#xmlSaveDoc if you are piling up such messages on an IO just use anothe xmlSaveTo... function and Flush to output instead of writing in memory and doing the I/O separately Daniel -- Daniel Veillard

Re: [xml] Child elements in XML fragments.

2014-08-05 Thread Daniel Veillard
, that looks just fine, applied and pushed, thanks ! Daniel -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | virtualization library http://libvirt.org

Re: [xml] Child elements in XML fragments.

2014-08-05 Thread Daniel Veillard
/mailman/listinfo/xml -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | virtualization library http://libvirt.org/ ___ xml mailing list, project page

Re: [xml] [PATCH] Fix typos in relaxng.c

2014-06-10 Thread Daniel Veillard
://mail.gnome.org/mailman/listinfo/xml -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | virtualization library http://libvirt.org/ ___ xml mailing list

Re: [xml] [PATCH] configure: Add --with-python-install-dir

2014-06-10 Thread Daniel Veillard
list, project page http://xmlsoft.org/ xml@gnome.org https://mail.gnome.org/mailman/listinfo/xml -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | virtualization library http://libvirt.org

Re: [xml] [BUG+FIX] valid.c erroneously ignores a validation error if no error callback set

2014-06-10 Thread Daniel Veillard
-- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | virtualization library http://libvirt.org/ ___ xml mailing list, project page http://xmlsoft.org

Re: [xml] Global error (xmlLastError) not cleaned up if xmlCleanupParser() is called on a different thread!

2014-06-10 Thread Daniel Veillard
On Tue, Jun 10, 2014 at 09:50:13AM +0200, Martin Ba wrote: On 09.06.2014 16:19, Daniel Veillard wrote: On Thu, Apr 10, 2014 at 01:27:30PM +0200, Martin Ba wrote: Hi all! It would appear that when you have a scenario like this + + + + // Thread 1: xmlInitParser(); // ... // anything

Re: [xml] Global error (xmlLastError) not cleaned up if xmlCleanupParser() is called on a different thread!

2014-06-10 Thread Daniel Veillard
On Tue, Jun 10, 2014 at 09:38:48AM +0100, Alex Bligh wrote: On 10 Jun 2014, at 09:14, Daniel Veillard wrote: * For this specific case (error cleanup), I strongly believe that the problem could be corrected without affecting either the API or ABI, but I don't have time to investigate

Re: [xml] [BUG] [PATCH] --postvalid broken after CVE-2014-0191 fix

2014-06-09 Thread Daniel Veillard
@gnome.org https://mail.gnome.org/mailman/listinfo/xml -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | virtualization library http://libvirt.org/ diff --git a/parser.c b/parser.c index

Re: [xml] [Bug][Patch] xmllint was not parsing the --c14n11 flag

2014-06-09 Thread Daniel Veillard
://xmlsoft.org/ xml@gnome.org https://mail.gnome.org/mailman/listinfo/xml -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | virtualization library http://libvirt.org

Re: [xml] Global error (xmlLastError) not cleaned up if xmlCleanupParser() is called on a different thread!

2014-06-09 Thread Daniel Veillard
are stuck with it :-\ mistake done back in 98 Daniel -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | virtualization library http://libvirt.org

Re: [xml] xml:base missing on result from XInclude?

2014-04-22 Thread Daniel Veillard
... which one is most important ? Daniel -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | virtualization library http://libvirt.org/ ___ xml

Re: [xml] Issue with xmlParseInNodeContext and xmlParseCharData()

2014-03-21 Thread Daniel Veillard
? https://git.gnome.org/browse/libxml2/commit/?id=6faa126fc3ba24a782e832cbd6d4f6b7b576 A workaround is to make sure the node you pass as first parameter of xmlParseInNodeContext is an element. Daniel -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome

Re: [xml] How to add a DTD to a document

2014-03-21 Thread Daniel Veillard
the structure indeed (it's part of the API/ABI) Daniel -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | virtualization library http://libvirt.org

Re: [xml] Why does XML::LibXSLT (= the Perl 5 / CPAN wrappers for libxslt) Fails a Basic Test on some BSD and other systems?

2014-02-16 Thread Daniel Veillard
: https://git.gnome.org/browse/libxslt/commit/?id=7cb08dacadf7e1cf88ee2f45815251b61bffcde6 thanks Nick :-) Daniel -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | virtualization library

Re: [xml] Parsing CSS

2013-12-04 Thread Daniel Veillard
for it but it seems that community has picked up on the task ;-) https://git.gnome.org/browse/libcroco Daniel -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | virtualization library

Re: [xml] [PATCH 0/3] Typos and Unicode cleanup in comments/ChangeLog/help

2013-11-30 Thread Daniel Veillard
+++--- xmlschemastypes.c | 4 +- 6 files changed, 282 insertions(+), 282 deletions(-) Nice cleanups ! ACK and pushed, thanks :-) Daniel -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http

Re: [xml] [PATCH] Fix token datatype into account in RelaxNG patterns

2013-11-30 Thread Daniel Veillard
, as above that would be welcome ! thanks, Daniel -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | virtualization library http://libvirt.org

Re: [xml] incorrect RelaxNG error reporting

2013-11-29 Thread Daniel Veillard
) doc = etree.parse(test.xml) schema.validate(doc) pprint(schema.error_log) ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org https://mail.gnome.org/mailman/listinfo/xml -- Daniel Veillard | Open Source and Standards

Re: [xml] ECCN for libxml2 library

2013-11-27 Thread Daniel Veillard
forums, but couldn't get any pointers. Hope anyone can help me here. Regards Zunil ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org https://mail.gnome.org/mailman/listinfo/xml -- Daniel Veillard | Open Source

Re: [xml] libxml2 for java

2013-11-25 Thread Daniel Veillard
of linked references, and that i doubt JNA really helps over JNI. Daniel -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | virtualization library http://libvirt.org

Re: [xml] Posting a patch to this list

2013-11-21 Thread Daniel Veillard
for discussion here. the good point of bugzilla is that it automatically also send a mail to my gmail address raising the signal there is something to watch :-) Patrick, i will look, as promised, mail marked as unread so i won't be able to 'forget' it ! Daniel -- Daniel Veillard | Open

Re: [xml] [xmlSchemaSAXPlug] callback functions

2013-09-13 Thread Daniel Veillard
afterwards. Why ? Actually XSD is not part of the parsing per XML-1.0 (contrary to DTD validation) so it sounds more sensible to me to first do the parsing steps, possibly building the data needed to then process the validation feedback. XSD can't possibly influence parsing. Daniel -- Daniel Veillard

Re: [xml] thread saftey and xmlXPathEvalExpression

2013-09-12 Thread Daniel Veillard
XPath evaluations, using each separate XPath evaluation context, but all of them pointing to the same *read only* document. Parse the document in main, allocate XPath contexts and run XPath queries in parallel on that shared document. Daniel -- Daniel Veillard | Open Source and Standards

Re: [xml] libXML2 / xmlcatalog and XSD schema import

2013-09-12 Thread Daniel Veillard
-- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | virtualization library http://libvirt.org/ ___ xml mailing list, project page http

Re: [xml] exslt str:tokenize/str:split issue

2013-09-12 Thread Daniel Veillard
to the XSLT-2.0 semantic for the equivalent function and indeed it seems to do what you expect, e.g. Example 3 in http://zvon.org/comp/r/ref-XSLT_2.html#Functions~tokenize being clear there So sounds it can be caracterized as a bug :-) but it's a bit fuzzy Daniel -- Daniel Veillard | Open

Re: [xml] threading and xmlReadFile

2013-05-16 Thread Daniel Veillard
there. I need to know which mutext they are freezing on, Daniel -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | virtualization library http://libvirt.org

Re: [xml] handling namespaces

2013-05-11 Thread Daniel Veillard
I described a bug in the library, or my misuse of it? Not completely sure. Daniel -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | virtualization library http://libvirt.org

Re: [xml] Latest stable release

2013-05-10 Thread Daniel Veillard
On Thu, May 09, 2013 at 05:38:07PM -0700, Hassan Shaik wrote: 2.9.0 or 2.9.1? 2.9.1, somehow i forgot to add the details on the release on the web page, this is now fixed. The ftp://xmlsoft.org/libxml2/ had the right LATEST links though Daniel -- Daniel Veillard | Open Source

Re: [xml] libxml2 version 2.9.0: xpath.c:xmlXPathStringEvalNumber() - not 100% fails to parse float with leading '+'

2013-05-08 Thread Daniel Veillard
a leading + It's a feature, not a bug, at least at the libxml2 level, at the W3C spec level it is a slight incoherence... Daniel -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http://veillard.com

Re: [xml] libxml2 API crazy?

2013-05-07 Thread Daniel Veillard
diverging :-) Daniel -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | virtualization library http://libvirt.org/ ___ xml mailing list, project page

Re: [xml] Adjacent text node merging

2013-05-05 Thread Daniel Veillard
removes CDATA ones and turn them to text too). If you do this you may get incoherent XPath results, but that's true too if you keep CDATA nodes... There is no hard expectation at the code level, just XPath results may turn a bit weird. Patch applied, thanks, that's #1 :-) ! Daniel -- Daniel

Re: [xml] libxml2 API crazy?

2013-05-03 Thread Daniel Veillard
of what they are doing. And before rolling dozen of those get feedback on the first ones. Oh and use less incendiary mail subjects, after all my code and API as crazy as they are, I love them (to some extent, lot of this was set up 15+ years ago !) Daniel -- Daniel Veillard | Open Source

Re: [xml] libxml2 2.9.1 and python 2.6.8 (patch)

2013-05-03 Thread Daniel Veillard
=bf4a8f0ea8579f05eea2e6f43df73b2a239d41b3 Yeah, I tested only with 3 versions of python and it's best to use the availability of the maxcro than a strict versionning test, thanks, applied ! https://git.gnome.org/browse/libxml2/commit/?id=722923bc9b788f028e4221c77138fc66735a3113 Daniel -- Daniel Veillard | Open

Re: [xml] C++11 binding for libxml

2013-05-03 Thread Daniel Veillard
that common, usually the data is converted to an internal structure and then read/write patterns happen, and in the end a serialization. thanks for the pointer ! Daniel -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http

Re: [xml] libxml2 API crazy?

2013-05-03 Thread Daniel Veillard
, and second because the resolution of all entry points in ELF shared library may turn quadratic and we are already quite big) Beside that I will hadly say no to anything improving documentation :-) thanks ! Daniel -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com

Re: [xml] libxml2 API crazy?

2013-05-03 Thread Daniel Veillard
and people willing to put the effort I will take them though, as it is clearly far from perfect. The documentation unfortunately covers only a small subset of the possible uses, and some of the tricks we are used to but confuse beginners ought to be spelled out :-) Daniel -- Daniel Veillard

[xml] Release of libxml2-2.9.1

2013-04-22 Thread Daniel Veillard
for XPath: Features: - Support for Python3 (Daniel Veillard) - Add xmlXPathSetContextNode and xmlXPathNodeEval (Alex Bligh) Documentation: - Add documentation for xmllint --xpath (Daniel Veillard) - Fix the URL of the SAX documentation from James (Daniel Veillard) - Fix spelling of length

Re: [xml] Release of libxml2-2.9.1

2013-04-22 Thread Daniel Veillard
afraid, can you rebase your patch and send it ? Daniel -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | virtualization library http://libvirt.org

Re: [xml] xmlReader: Possibility for cloning an xmlTextReader (or multi-pass reading)

2013-04-07 Thread Daniel Veillard
comes from disk (network is a completely separate problem you can't guarantee reproduceability of reads) then the main factor is reading the data from the disk, once it is in the cache, the second parse is way faster if you don't wait between the two passes. Daniel -- Daniel Veillard | Open

Re: [xml] Strange validation errors in libxml 2.9.0 with MSVC 2010

2013-04-06 Thread Daniel Veillard
and I can't test, simply run your program under a debugger, since you have a reliable behaviour ! Daniel -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | virtualization library http

Re: [xml] Fwd: Support of new HTML5 tags in libxml

2013-04-02 Thread Daniel Veillard
and discard them. Since HTML 5 is no in Candidate REC at W3C I hope someone will have the time to help on fixing this in the next months, Daniel -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http://veillard.com

Re: [xml] XPath on a subtree

2013-04-01 Thread Daniel Veillard
On Sun, Mar 31, 2013 at 06:44:44PM +0800, Daniel Veillard wrote: On Sat, Mar 30, 2013 at 07:11:35PM +, Alex Bligh wrote: BTW the xml is generated so that should be discarded from the patch, That's strange. It appears in git and has a history. https://git.gnome.org/browse

Re: [xml] XPath on a subtree

2013-04-01 Thread Daniel Veillard
On Sun, Mar 31, 2013 at 07:47:34PM +0300, Roumen Petrov wrote: Daniel Veillard wrote: [...] Those are non-standard practices of libxml2 development and I reused them into libxslt and libvirt :-) Ok but for instance NEWS file is one of autogenerated documentation that is not updated

Re: [xml] XPath on a subtree

2013-04-01 Thread Daniel Veillard
and run fine with python 2.4, 2.7 and 3.2 in my tests, thanks ! Daniel -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | virtualization library http://libvirt.org

Re: [xml] XPath on a subtree

2013-03-31 Thread Daniel Veillard
is foudn in git, and what you see on your hard drive (if you installed the developments bits) is what corresponds to your released version. Those are non-standard practices of libxml2 development and I reused them into libxslt and libvirt :-) Daniel -- Daniel Veillard | Open Source

Re: [xml] xmlReader: Possibility for cloning an xmlTextReader (or multi-pass reading)

2013-03-30 Thread Daniel Veillard
with the same number of Read() you should be at the same place if the input didn't changed ! Daniel -- Daniel Veillard | Open Source and Standards, Red Hat veill...@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | virtualization library http

Re: [xml] XPath on a subtree

2013-03-30 Thread Daniel Veillard
On Sat, Mar 23, 2013 at 05:24:11PM +, Alex Bligh wrote: On 23 Mar 2013, at 14:23, Daniel Veillard wrote: Do you mind doing a patch ? :-) Done. Please ignore the two bogus ones with the function name duplicated in the commit message. I blame insufficient caffeine. BTW I'm

<    1   2   3   4   5   6   7   8   9   10   >