Re: problem reading XML

2008-07-26 Thread Alexander Burger
On Sat, Jul 26, 2008 at 10:05:05AM +0200, Alexander Burger wrote: > Handling comments in a parser is usually not a good idea anyway, and is > better done by a separate preprocessor. I would recommend something like (in "file (pipe (while (and (echo ""))) (xml) ) ) I fact, I wou

Re: problem reading XML

2008-07-26 Thread Alexander Burger
Hi Tomas, > 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