Re: SAX: Whitespace Handling (question 5 of 10)

Peter Murray-Rust (peter@ursus.demon.co.uk)
Sat, 03 Jan 1998 20:14:55


At 13:02 03/01/98 -0500, David Megginson wrote:
>
>Should SAX allow DTD-driven parsers to distinguish ignorable
>whitespace from other character data?
>
NO.
IMO the XML community has not had enough experience of ignorable whitespace
to agree on how to treat it. It can only be ignored if enough DTD-related
information is given. I believe that anyone who needs to deal with it is
probably going to have to use this themselves. In time I very much hope
that we *shall* come up with protocols for this.

P.

Peter Murray-Rust, Director Virtual School of Molecular Sciences, domestic
net connection
VSMS http://www.nottingham.ac.uk/vsms, Virtual Hyperglossary
http://www.venus.co.uk/vhg