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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: Why SAX needs namespace support

[ Lists Home | Date Index | Thread Index ]
  • From: Ronald Bourret <rbourret@ito.tu-darmstadt.de>
  • To: "xml-dev@ic.ac.uk" <xml-dev@ic.ac.uk>
  • Date: Wed, 27 Jan 1999 10:46:40 +0100

David Megginson wrote:

> Michael.Kay@icl.com writes:
>
>  > Perhaps a setOption(option, flag) interface would be more extensible.
>
> I could live with this, but only if the options were namespace
> qualified, i.e.
>
> [examples snipped]
>
> Do people like this?  I was almost afraid to suggest it...

I prefer this.  Once you start down the options path, there's no telling 
where it will end, even if you have a very big stick for fighting off all 
the options people want.  set/getOption at least has the virtue of being 
forward-compatible -- on any option it doesn't recognize, setOption fails 
and getOption returns false.  Also, are all options true/false?  If not, 
the option value should be Object, not Boolean.

-- Ron Bourret


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