SAX RFD: ModSAX Predefined Features

Kay Michael Michael.Kay at icl.com
Mon Mar 8 11:41:43 GMT 1999


 
> What:   Four proposed predefined features for ModSAX
> Action: Please read and comment (especially to propose core features
>         I've missed)
> 

Could I add a plea for another optional feature:
http://xml.org/sax/features/normalisePCDATA

whose effect is to ensure that successive calls to supply character data are
combined into a single call. The reason for this is that it's very common
for applications to assume the parser won't split character data, an
incorrect assumption but one that will survive most testing. 

Actually I think using "http://" names for things that have nothing to do
with HTTP protocol is very bad form. (Apart from anything else, my mail
client encourages my to click on them to see what's there.)
"org.xml.sax.features.normalisePCDATA" is much more sensible. If you want a
URN, choose a protocol name other than http.

Another rather trivial convenience feature I'd like added to SAX is the
ability for InputSource to accept a File (as well as a URL, etc). Though the
need for this has declined with Java 2.

Mike Kay

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list