Re: [xml] xmllint simple validation fail

2009-07-28 Thread ABeylin
According to: http://validator.w3.org/check The XML you posted is valid. I also checked it in IE, no error. -Original Message- From: Anthony Viallard [mailto:a...@patatrac.info] Sent: Tuesday, July 28, 2009 5:57 AM To: xml@gnome.org Subject: [xml] xmllint simple validation fail Hello e

[xml] Does xsltproc load entire XML into memory

2009-02-23 Thread ABeylin
Hello, I looked through the code, and it seems xsltproc calls xmlReadFile on XML file, which would load it into memory. We normally deal with very large XML files and avoid loading them into memory in our application by using SAX api. However in scripts we call xsltproc. Am I understandin

[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 ___ xml

Re: [xml] found issue in xpath tutorial

2006-09-10 Thread ABeylin
Just wanted to know if there are any comments regarding the patch. Is it ok to copy data from result->nodesetval->nodeTab[i]->children->content instead of using function xmlNodeListGetString? The reason for not using xmlNodeListGetString, is in case of query such as /hello/world/text(), the fun

[xml] found issue in xpath tutorial

2006-09-08 Thread ABeylin
Hello,   I think I have found an issue in this tutorial: http://xmlsoft.org/tutorial/apd.html   I am providing a patch (xpath.c.patch), but not sure if you’ll agree with it.   The call to function xmlNodeListGetString has been removed, and now there is a lookup for the value directly

[xml] does xsltproc work with XSLT 2.0?

2006-08-30 Thread ABeylin
Hi, sorry if the topic doesn’t belong here, I cannot locate any other place to ask the question.   Please let me know if xslproc can process XSLT 2.0.   I found this quote on http://www.xmlsoft.org/XSLT.html: A separate library called libxslt is available implementing XSLT-1.0 for libxm

Re: [xml] parsing xml file using xmlTextReader

2006-07-19 Thread ABeylin
If you are more interested in creating the output than learning to code with libxml2, you may want to use xslt to convert your input XML document into your desired output. Xsltproc is one of executables you can use for such transformations: http://xmlsoft.org/XSLT/xsltproc.html > -Original Mes

Re: [xml] purify application using libxml2

2006-07-07 Thread ABeylin
Hi, We had problems purifying applications using libxml2 as well. The issue occurred on Solaris and Windows (those are the only platforms we have purify on). The issue only occurred when using dynamic libxml2 library (libxml2.so/libxml2.dll). When we statically linked to libxml2 (libxml2.a), the

RE: [xml] trouble compiling on solaris

2006-03-31 Thread ABeylin
'ar' is not in your path. There was another email about this yesterday, and we too had the problem here, until we saw responses to email and put 'ar' in path (you will have to re-run configure as well). I would personally prefer if commands were not replaced with 'false' command. > -Original

[xml] How do you print errors based on xmlParserErrors?

2005-08-16 Thread ABeylin
Hi,   Is there a way to get a char * value of xmlParserErrors enum?   For example, you can use a function strerror to get value of errno in char * format, does anything like that exist for xmlParserErrors?   Thank you. Alex   ___ xm

RE: [xml] Encoding

2005-07-26 Thread ABeylin
I don't think it's an xml problem, I think it's a printf issue. Instead of: printf(bufptr); Use: printf("%s", bufptr); Since your bufptr contains % characters, the characters after it have special meanings. For example %d means print integer, %s means print string ... this is standard C stuff.

[xml] Beginner's question about xPath

2005-06-30 Thread ABeylin
Hi, I cannot figure out how to use xPath without loading the entire XML into memory. Let me start of by saying that the document is stored in a proprietary format, so I have to use our functions to read the data from the files. I would like to use xPath without having to load entire XML into memo