< Previous by Date Date Index Next by Date >
  Thread Index  

[reSIProcate] XMLCursor fails on comments


Hi,

I just stumbled across a problem with the XMLCursor class.

I used the "Depth first traversal" example from the XMLCursor.hxx file to walk through the following XML-Code:
<?xml version="1.0" encoding="utf-8" ?>
<bla>
  <!-- comment -->
</bla>
It fails with a ParseException when the cursor is standing on the "bla"-node and I call firstChild().


regards,
 gabriel