[xml] external entities related sax parser bug



Hi Daniel,

the attached xml file and external entity file produce a very strange
result when parsed with SAX interface: the events for an expanded
entity content appear three times as if there were three occurrences
of the entity. The output of

testSAX --noent sax-2.xml 

is also attached as out.txt.

Sorry I'm not able to provide a patch. I'm not really familiar with
libxml2's internals as I usually use it only by means of XML::LibXML
for Perl.

Tested on tuesday's CVS, RedHat 7.3.

Thanks,

-- Petr

Attachment: sax-2.xml
Description: Text Data

Attachment: sax-2.ent
Description: Binary data

Attachment: out.txt
Description: Text document



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]