SAX2: Namespace Processing and NSUtils helper class

David Megginson david at
Thu Dec 16 14:42:13 GMT 1999

"Simon St.Laurent" <simonstl at> writes:

> I'm afraid I think this is a hideous idea, and that's an understatement.
> Even apart from code bloat - having to deal with two parts of a name means
> twice as much code every place the name matters - I'm really not sure I
> like the logic behind this approach.  

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

All the best,


David Megginson                 david at

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list