SAX2: Namespace Processing and NSUtils helper class

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


"Simon St.Laurent" <simonstl at simonstl.com> 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

-- 
David Megginson                 david at megginson.com
           http://www.megginson.com/

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;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list