XML Question: Should newlines be text nodes?

While I was putting DOM support into Java tidy, I noticed
that tidy does not use text nodes in the parse tree to represent
newlines in the XML source.  However, other XML parsers seem
to use text nodes to represent newlines.  Is this a problem with
tidy's XML support?

Andy Quick

Received on Saturday, 2 October 1999 19:00:38 UTC