[xml] xmlTextReader and parsing namespace with relative URI
- From: Frank Gross <fg 4js com>
- To: xml gnome org
- Subject: [xml] xmlTextReader and parsing namespace with relative URI
- Date: Mon, 03 Dec 2012 16:49:56 +0100
Hi,
In version 2.7.1, when I use xmlNewTextReader and read an XML
document with relative namespaces from the network, after a call to
xmlTestReaderRead(), I get an error because document is malformed.
Actually, I noticed that in xmlTextReaderPushData() a call to
xmlParseChunk() sets the reader to not wellFormed because the
XML_WAR_NS_URI_RELATIVE error is returned. Is there a way to get rid of
this error ? I tried with XML_PARSE_NOWARNING option, but without success.
Thanks,
Frank
--
Frank GROSS
Software Engineer - Web Services
Four J's Development Tools - http://www.4js.com
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]