SAX2: Namespace Processing and NSUtils helper class

David Megginson david at megginson.com
Wed Dec 29 02:35:39 GMT 1999


Clark C. Evans writes:

 > On Sun, 26 Dec 1999 uche.ogbuji at fourthought.com wrote:
 > > I think that though the prefix is maintained for convenience, it should _not_ 
 > > be considered part of the name in any comparison at the semantic level.
 > >
 > > So, in short, I don't see a problem with
 > > {"http://www.w3.org/1999/xhtml", "a", ""} ==
 > > {"http://www.w3.org/1999/xhtml", "a", "html"}.  It's a very
 > > well-documented consequence of XML Namespaces 1.0, and users 
 > > should be aware of it.
 > 
 > Just testing edge cases...
 > 
 > 	    {"","a",""} != {"","a","html"}
 > 	and {"","a",""} == {"","a",""}

As I understood it, the suggestion was that

  {"", "a", ""} == {"", "a", "html"}

To tell the truth, I am not comfortable with either alternative, and
that's why I don't want to create a Name class.


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