W3C home > Mailing lists > Public > www-rdf-interest@w3.org > July 2000

Re: xmlns, uri+name pairs or just uris..? Clarification needed.

From: Jonathan Borden <jborden@mediaone.net>
Date: Fri, 28 Jul 2000 09:16:22 -0400
Message-ID: <010c01bff896$06a14b80$0a2e249b@Synapse>
To: "McBride, Brian" <bwm@hplb.hpl.hp.com>, <www-rdf-interest@w3.org>
McBride, Brian wrote:

>  as far as
>      XML is concerned, a qname is a pair (ns, locaname) not the
>      concatenation of ns and localname, i.e.
>      <x xmlns:fo="fo" xmlns:foo="foo">
>        <y fo:obar="a" foo:bar="b"/>
>      is legal - the attribute names are distinct even though
>      they concatenate to the same string.
> Whilst the NS spec is not absolutely precise on this, it seems like best
> interpretation.

The XML,NS , DOM level 2, XML Infoset RECs are absolutely precise about

under NO interpretation would the attributes:

    fo:obar and foo:bar be confused.

there is a very good reason why a colon is inserted between the NS prefix
name and the local name.

Jonathan Borden
Received on Friday, 28 July 2000 09:25:48 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:44:24 UTC