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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: SAX2: Namespace Processing and NSUtils helper class

[ Lists Home | Date Index | Thread Index ]
  • From: Mike Williams <mikew@o3.co.uk>
  • To: David Megginson <david@megginson.com>
  • Date: 17 Dec 1999 09:51:19 +0000

  >>> On 16 Dec 1999 09:41:16 -0500,
  >>> "David" == David Megginson <david@megginson.com> wrote:

  David> Well, the code bloat isn't strictly true if the Name class implements
  David> equals(), since you will usually just be testing for equality; still,
  David> it does add an extra level of indirection, and every indirection in an
  David> API is an open flame in a powder magazine (it won't cause any problems
  David> as long as you're careful and follow the proper procedures, but...).

If Name extended String, could you retain backward compatibility, but still
provide support for namespaces?  The default string value would be the same
as it is currently, ie. optional prefix + local name.  Additional methods
would give access to the un-prefixed local name, prefix, and namespace URI.
No need for NSUtils.

Dumb idea?

-- 
Mike Williams

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 unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe 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