W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2000

Re: Namespace treatment, cloning and node.supports

From: james anderson <james.anderson@mecomnet.de>
Date: Thu, 02 Mar 2000 11:52:13 +0100
Message-ID: <38BE47DB.C6DAA226@mecomnet.de>
To: "www-dom@w3.org" <www-dom@w3.org>

What does one do with uri-values outside of the NCName value domain? 

Dieter Köhler wrote:
> 
> > ...
> > There are folks who want to generate
> > a DOM with only localnames and URIs, and assign prefixes as necessary
> > during serialization. If we didn't allow qualified names to collide, they
> > couldn't do so.
> 
> Nevertheless we should be more aware of XML-wellformedness, since
> namespaces are semantic sugar on XML.  Your folks can do their
> serialization by first using the URI as the prefix and then replacing
> the prefix by a shorter version (Delphi example):
> 
> element.setAttributeNS('thisIsOurVeryVeryLongURI',
>                        'thisIsOurVeryVeryLongURI:a',
>                        'value');
Received on Thursday, 2 March 2000 05:45:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:47 GMT