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


Peter Finch wrote:
> I was just reading the XML 1.1 Candidate recommendation and it got me
> thinking about namespaces again.
> 
> Namespaces for XML 1.1 seems to indicate that a QName can only
> contain one ":". However, XML 1.1 and 1.0 allow for multiple
> ":"'s in a Name. Is this correct or is there a conflict here?

There is a conflict. In a perfect world namespaces would be part of XML 
and not a semi-separate spec that introduces a new level of 
well-formedness. But it isn't a perfect world so we have to 
special-case, especially as some people do write documents with no 
namespaces.

> does anyone see any advantages in an ability for a tag to belong
> to multiple namespaces at once? e.g. "<ns1:ns2:head>"...
> Namespaces 1.2 perhaps????

Oh no please no...

-- 
Robin Berjon <robin.berjon@e...>
Research Engineer, Expway
7FC0 6F5F D864 EFB8 08CE  8E74 58E6 D5DB 4889 2488


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