[Home] [By Thread] [By Date] [Recent Entries]

  • From: James Clark <jjc@j...>
  • To: xml-dev Mailing List <xml-dev@i...>
  • Date: Sun, 04 Jan 1998 07:39:22 +0700

David Megginson wrote:

> Should SAX allow DTD-driven parsers to distinguish ignorable
> whitespace from other character data?
> 
>   public void ignorableWhitespace (char ch[], int length);

Tough call.  (If we have it, it needs an offset argument as well.)

If we do this, then the stub (adapter) class should do

void ignorableWhitespace(char ch[], int off, int count) {
  charData(ch, off, count);
}

This means that users who don't care about the difference can just
ignore it.

James


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


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member