OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   is a prefix without a namespace legal?

[ Lists Home | Date Index | Thread Index ]
  • From: Stefan Haustein <haustein@ls8.cs.uni-dortmund.de>
  • To: xml-dev <xml-dev@ic.ac.uk>
  • Date: Fri, 07 Jan 2000 12:58:35 +0100

Hello,

splitting a name into localname and prefix seems to cause several
compatibility problems in SAX and DOM.
My question is: Is splitting the name legal at all if no valid namespace
is given?

If the nsprefix would be extracted only when a namespace is set, the
problem

{'', '', 'href'} != {'', 'html', 'href'} 

would not exist since the prefix would not be stripped off in that case.

{'', '', 'href'} != {'', '', 'html:href'}

best regards

Stefan



-- 
Stefan Haustein
University of Dortmund
Computer Science VIII
www-ai.cs.uni-dortmund.de

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@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@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS