Veillard veill...@redhat.com
Subject: Re: [xml] Target string size after transcoding
To: mini thomas mini_mol_tho...@yahoo.com
Cc: libxml use group xml@gnome.org
Date: Thursday, September 24, 2009, 9:26 PM
On Wed, Sep 23, 2009 at 08:12:13AM -0700, mini thomas wrote:
APIs like
APIs like MultiByteToWideChar has an option to give the number of bytes
required by the output string after the input is transcoded.
I am using xmlGetCharEncodingHandler and related functions
Is there any way to get the size of output string. ?
Thanks
Mini
Thanks a lot for the quick replies.
How to parse with namespace turned off ??
Thanks,
Mini
___
xml mailing list, project page http://xmlsoft.org/
xml@gnome.org
http://mail.gnome.org/mailman/listinfo/xml
namespaces during parsing
To: xml@gnome.org
Date: Friday, September 4, 2009, 4:49 PM
mini thomas schrieb:
How to parse with namespace turned off ??
Be aware that this means: How to go back a decade?
http://xmlsoft.org/namespaces.html
The libxml2 library [...] does namespace lookup
version used libxml2-2.7.3
platform - windows XP
I am parsing the following string
std::string s2 = rootnmspace:test1 hh=\yyy\/root
xmlDocPtr myDoc = xmlParseDoc((const unsigned char*)s2.c_str());
I get the error namespace error .. namespace prefix nmspace on test1 is not
declared
Is
namespaces during parsing
To: xml@gnome.org
Date: Thursday, September 3, 2009, 8:23 PM
mini thomas schrieb:
std::string s2 = rootnmspace:test1 hh=\yyy\/root
xmlDocPtr myDoc = xmlParseDoc((const unsigned char*)s2.c_str());
This is not namespace-well-formed. Not even well-formed.
I get the error