My client code is making calls to
xmlParseChunk(m_xmlContextPtr, buffer, numBytes, terminate);
with passing in chunks of XML data. Is it Necessary that these chunks need
to have complete < and > tags .
Consider this example
<root>
<item1>
<item2>item2hassomedata</item2>
<item3>1</item3>
<item4>
<item40>440-0Data</item40>
<item41>441Data</item41>
</item4>
<item5>thisisitem5</item5>
</item1>
<emptyElement attr="foo"/>
</root>
So consider this sequence
xmlParseChunk 1 --> passing 4 characters <root
xmlParseChunk 2 --> passing rest of the buffer
>
<item1>
<item2>item2hassomedata</item2>
<item3>1</item3>
<item4>
<item40>440-0Data</item40>
<item41>441Data</item41>
</item4>
<item5>thisisitem5</item5>
</item1>
<emptyElement attr="foo"/>
</root>
I find that the second call fails with an error code of 73
XML_ERR_GT_REQUIRED
can someone shed some help on this ?
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml