[xml] xmlreader problem with long comment at beginning of document

2007-05-10 Thread Bidoul, Stephane
Hi, I've discovered a strange problem with documents that have a long comment at the beginning (such as the attached a.xml). A slightly shorter header comment solves the problem (such as in the attached b.xml). The problem occurs only with --stream. I can reproduce with 2.6.26 (cygwin) and the

[xml] (Windows) xmlDocDump / xmlSavefile

2007-05-10 Thread Xen Cloete
Hi, Maybe someone could assist me here. I am having trouble saving the contents of the xml file. I have an xmlDocPtr to the area in which the data lies however when I use xmlSaveFileFormat(path, doc, 1) the file seems to either be corrupt or in some sort of binary form. I would like

Re: [xml] (Windows) xmlDocDump / xmlSavefile

2007-05-10 Thread Trappel Martin
Hi there. Do not use this API unless you compile libxml together with you program. The FILE* structure is incompatible btw. different crt versions and so you cannot guarantee that you program links to the same one as the compiled libxml2. (Someone correct me if I'm wrong.) You can use the

[xml] is there an option to make xml case insensitive?

2007-05-10 Thread ABeylin
Hello, I'm aware that xml is case sensitive, but is there a switch to turn that off? Of course we can just convert the file into lowercase/uppercase before setting libxml2 on it, but if there's an option, I'd rather not. Thanks. Alex ___

Re: [xml] xmlreader problem with long comment at beginning of document

2007-05-10 Thread Daniel Veillard
On Thu, May 10, 2007 at 04:27:03PM +0200, Bidoul, Stephane wrote: Hi, I've discovered a strange problem with documents that have a long comment at the beginning (such as the attached a.xml). A slightly shorter header comment solves the problem (such as in the attached b.xml). The

Re: [xml] is there an option to make xml case insensitive?

2007-05-10 Thread Daniel Veillard
On Thu, May 10, 2007 at 11:24:05AM -0400, [EMAIL PROTECTED] wrote: I'm aware that xml is case sensitive, but is there a switch to turn that off? XML is case sensitive by definition, so there is no such option. Daniel -- Red Hat Virtualization group http://redhat.com/virtualization/ Daniel

[xml] using src.rpm with non-default Python?

2007-05-10 Thread Brad Clements
(I hope this is not OT, my RPM foo is low. I am trying to debug a libxml2/libxslt problem) .. I am trying to debug a stylesheet problem, where I get this error: runtime error: file /home/bkc/src/eclipse/main24/tal2xslt/tal2xslt/xsl/tal2xslt. xsl line 450 element copy-of Attribute nodes must

Re: [xml] is there an option to make xml case insensitive?

2007-05-10 Thread Liam R E Quin
On Thu, 2007-05-10 at 11:24 -0400, [EMAIL PROTECTED] wrote: I’m aware that xml is case sensitive, but is there a switch to turn that off? Of course we can just convert the file into lowercase/uppercase before setting libxml2 on it, but if there’s an option, I’d rather not. In general it's

Re: [xml] using src.rpm with non-default Python?

2007-05-10 Thread Daniel Veillard
On Thu, May 10, 2007 at 05:14:38PM -0400, Brad Clements wrote: (I hope this is not OT, my RPM foo is low. I am trying to debug a libxml2/libxslt problem) .. I am trying to debug a stylesheet problem, where I get this error: runtime error: file