On Thu Aug 07 05:58:01 2008, EDAVIS wrote:
Show quoted text> >Actually <a>>0</a> is a valid XML document.
>
> Oh, I didn't realize that.
>
> Can this bug report become a feature request, then: in character data, >
> should always be escaped as >.
>
> I would make that the default, but if you feel that getting the shortest
> possible output is important even if it looks a bit weird, then at least
> the various pretty-printing options should escape > all the time.
More to the point -- this valid XML document can't be parsed by
XML::Twig, which means that the round-trip to XML and back is broken.
It might be an XML::Parser bug, I suppose.