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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: SAX and whitespace (was Re: Problems with whitespace and msxml)

[ Lists Home | Date Index | Thread Index ]
  • From: Tim Bray <tbray@textuality.com>
  • To: David Megginson <ak117@freenet.carleton.ca>, xml-dev@ic.ac.uk
  • Date: Fri, 02 Jan 1998 17:35:58 -0800

At 03:42 PM 02/01/98 -0500, David Megginson wrote:
>With that in mind, would it be conformant behaviour for SAX to report
>ignorable whitespace as regular character data when the parser
>underneath is using the DTD (and, say, supplying defaulted attribute
>values)?

Lark, BTW, does *not* catch ignorable white space unless it is
validating.  Since it is perfectly OK to build SAX with such a
processor, *if* we want to build ignorable white-space notification
into SAX, it has to be out-of-band; i.e. white space is passed in
the same way as all other content; with perhaps another boolean argument
to the text() method (that what it's called now?) that if true, means
this is ignorable white space.

But I would oppose doing this in SAX; let's keep it simple for now. -T.

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