Re: [xml] ParseChunk + SchemaSAXPlug

2013-11-21 Thread Tremmel
I forgot to add some parts of the code from the constructor and the methods. Maybe you find a mistake there. Regards, Christoph tremmel Am 18.09.2013 11:29, schrieb Tremmel: Hey, I am trying to use the chunk parsing together with the schema validation. The parser works when I switch off t

[xml] libxml2 SAX python interface: Bug with Python3

2013-11-21 Thread René Neumann
Dear all, when using the libxml2 interface via xml.sax in Python3, I get an exception concerning str vs bytes. Please see the following minimal example: Python 3.2.5 (default, Aug 26 2013, 21:33:16) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> i

[xml] ParseChunk + SchemaSAXPlug

2013-11-21 Thread Tremmel
Hey, I am trying to use the chunk parsing together with the schema validation. The parser works when I switch off the validation. The validation works when I use a normal parser. When i use both together I get an access violation at xmlParseChunk. Am I missing something or is this a bug? R

[xml] Patch to ignore xml charset

2013-11-21 Thread Filipp Bakanov
Hi. I'd like to have an ability to ignore xml charset. I suggest this patch, http://pastebin.com/BYxun3JY What do you think about that? ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org https://mail.gnome.org/mailman/listinfo/xml

[xml] incorrect RelaxNG error reporting

2013-11-21 Thread Ondrej Lichtner
Hi everyone, in our project we've recently started using a RelaxNG schema to validate our XML documents through the lxml python bindings of libxml2. However sometimes the errors reported for invalid documents are very unhelpful and even we as developers get confused and have to spend a few minutes

[xml] Problem with xmlAddChild

2013-11-21 Thread Fabian Ebner
Hello, I'm currently hacking on the lightspark project (free Adobe Flash implementation), which uses libxml2 and libxml++. In ActionScript it is possible to add nodes in reverse order, e.g.: var xml1:XML=new XML(""); var xml2:XML=new XML(""); var xml

[xml] Cannot access parsed values returned by xmlSchemaValidatePredefinedType()

2013-11-21 Thread Matthias Lechner
Hello all, We are using libxml2 (version 2.9.1) to validate XML files according to an XML schema. The XML schema makes use of XML schema data types such as xs:float and hence we need to parse strings that adhere to the XML schema data type specification. I noticed that xmlschemastypes.c alre

[xml] logging a bug

2013-11-21 Thread Tassyns, Bram
Hi, the bug tracking system of libxml2 only mentions up to version 2.7.8 but I found one in 2.9.1. Where should I log it and how? The bug is that when xmlReadIO is the first call you do on the library it crashes because xmlInitParser hasn't been called yet. If I interpret the documentation cor

Re: [xml] Posting a patch to this list

2013-11-21 Thread Daniel Veillard
On Tue, Nov 19, 2013 at 12:42:43PM +0100, Bjoern Hoehrmann wrote: > * Patrick Monnerat wrote: > >As a first-time mailer to this list, I tried yesterday to post a big > >(~250k) gzipped patch to introduce support for the OS/400 platform. > > > >I did create an account and I see this e-mail has

Re: [xml] Posting a patch to this list

2013-11-21 Thread Patrick Monnerat
Daniel Veillard wrote: > Patrick, i will look, as promised, mail marked as unread so i won't be able to 'forget' it ! Thanks Daniel: I did not know you where this list's moderator. There's no hurry for me: I just wanted to be sure the e-mail arrived and didn't get lost :-) Please prefer the patc