[
Lists Home |
Date Index |
Thread Index
]
- From: James Clark <jjc@jclark.com>
- To: xml-dev Mailing List <xml-dev@ic.ac.uk>
- 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@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)
|