[Home] [By Thread] [By Date] [Recent Entries]

  • From: David Megginson <david@m...>
  • To: XMLDev list <xml-dev@i...>
  • Date: Tue, 28 Dec 1999 09:47:15 -0500 (EST)

Clark C. Evans writes:

 > On Sun, 26 Dec 1999 uche.ogbuji@f... 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@m...
           http://www.megginson.com/

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@i... the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member