Hi, I have a problem with xmlTextReaderExpand. Attached test program gives wrong output for 2.5.10 and 2.5.11. It works with libxml2 from CVS HEAD, tough, so maybe this is only something for the test suite -- or it's me doing something stupid in my program. Attached are testcase.c [the test program] and test.xml [the test input which shows the problem]. The bug is shown in the following output from the programs [only showing the relevant part]: -- output from 2.5.10/2.5.11: tag #text type 14 1 children <node id="33"> </node> tag #text type 14 tag ephy_bookmarks type 15 -- output from HEAD is as expected: tag #text type 14 11 children <node id="33"> <property id="2" value_type="gchararray">Google</property> <property id="3" value_type="gchararray">http://www.google.it/</property> <property id="9" value_type="gboolean">0</property> <parent id="0"/> <parent id="3"/> </node> tag #text type 14 tag ephy_bookmarks type 15 As you can see, the problem is the children missing under the <node id="33">. Regards, Christian
Attachment:
testcase.c
Description: Text Data
Attachment:
test.xml
Description: Text Data