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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: SAX: parser features (was SAX: two alternatives for namespaces)

[ Lists Home | Date Index | Thread Index ]
  • From: John Cowan <cowan@locke.ccil.org>
  • To: XML Dev <xml-dev@ic.ac.uk>
  • Date: Wed, 29 Jul 1998 10:55:54 -0400

Ron Bourret wrote:

> I don't think the same situation applies to SAX.  SAX is still fairly young and
> we have a better chance to dictate/agree on required features, so we should
> avoid optional features as long as possible.

Within XML 1.0, there are various things that non-validating parsers
are allowed to do (or not do).  A way of querying any particular parser
to find out whether it does those things or not would be very useful.

For example, a parser is allowed to disregard attribute types and
claim that all attributes are CDATA.  If your application depends on
getting ID and IDREF types correct, you could query a parser to see
if it can do that --- and if not, tell the user to pick another parser.

So these are not so much SAX features as XML features.

-- 
John Cowan	http://www.ccil.org/~cowan		cowan@ccil.org
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)

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