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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: SAX RFD: ModSAX Predefined Features

[ Lists Home | Date Index | Thread Index ]
  • From: Kay Michael <Michael.Kay@icl.com>
  • To: "'David Megginson'" <david@megginson.com>, "XML Developers' List" <xml-dev@ic.ac.uk>
  • Date: Mon, 8 Mar 1999 11:13:29 -0000

 
> 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@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@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