SAX2: Namespace Processing and NSUtils helper class
mikew at o3.co.uk
Fri Dec 17 14:49:45 GMT 1999
>>> On 16 Dec 1999 09:41:16 -0500,
>>> "David" == David Megginson <david at 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.
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 unsubscribe, mailto:majordomo at ic.ac.uk the following message;
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev