[xml] xmlTextReader and parsing namespace with relative URI



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]