> It is legal to have comments before the root element (case b.xml).
You are right. Comment handling is buggy here.
Initially, the XML parser did not support comments at all, and they were
introduced later rather listlessly. Just for completeness, because I
never needed them. (This is not an excuse, of course ;-)
Handling comments in a parser is usually not a good idea anyway, and is
better done by a separate preprocessor. The '_xml' function handles them
on the tag level, causing a comment to return an empty sublist. And this
gives unexpected results if the comment is the first tag.
UNSUBSCRIBE: mailto:[EMAIL PROTECTED]