OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

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

[ Lists Home | Date Index | Thread Index ]
  • From: Tim Bray <tbray@textuality.com>
  • To: xml-dev@ic.ac.uk
  • Date: Sun, 04 Jan 1998 10:10:59 -0800

At 01:02 PM 03/01/98 -0500, David Megginson wrote:
>Should SAX allow DTD-driven parsers to distinguish ignorable
>whitespace from other character data?

If you want to do this, the only reasonable way is with another
argument on the charData() callback, so that it's always chardata,
but some processors will in some circumstances signal that it's
also ignorable.  

Since I think it would be highly unwise for any SAX-using
application to have behavior dependent on the ignorability of
some white space, I would argue strongly just for leaving
this out. -Tim

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS