is a prefix without a namespace legal?

Stefan Haustein haustein at ls8.cs.uni-dortmund.de
Fri Jan 7 11:59:09 GMT 2000


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 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