W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > November 2005

Re: CURIEs, xmlns and bandwidth

From: Norman Walsh <Norman.Walsh@Sun.COM>
Date: Thu, 03 Nov 2005 16:27:18 -0500
To: public-rdf-in-xhtml-tf@w3.org, iptc-metadata@yahoogroups.com
Message-ID: <87wtjp777t.fsf@nwalsh.com>
/ Misha Wolf <Misha.Wolf@reuters.com> was heard to say:
| Henry wrote:
|> I took the opportunity of there being an XML Core WG telcon this
|> afternoon to summarize the state of this thread and your
|> concerns/requirements.
| Thanks.
|> The XML Core WG asked me to share with you our concern that using
|> QName syntax for something which is not a QName, in a context 
|> where a QName might well appear, would be a very misleading and 
|> confusing thing to do.  We strongly urge you _either_ to use a 
|> different syntax, _or_ to use real QNames.
| In our view, the fact that the semantics of our {scheme, code} 
| pairs are the same as the semantics of QNames justifies our use of 
| the same syntax.

I beg to differ. They aren't the same. The semantics of a QName are
that you find the associated prefix in the in-scope namespaces and
associate that URI with the local-name to form the (uri,local-name)

You're (if I understand, which maybe I don't) proposing that instead
of getting the prefix binding from the in-scope namespaces, you look
somewhere else.

So the potential exists that in this example:

  <myvocab pointer="x:foo" xmlns:x="http://example.org/">
    <h:div someAttribute="x:foo"/>

the x:foo string in someAttribute might expand to a (uri,local-name)
pair *other than* (http://example.org/,foo)?

That just seems terribly confusing.

I think it's risky at best to introduce this conceptually alternate
mechanism for associating URIs with short strings. I think it's just
plain wrong to overload the existing prefix:local-name lexical form
for these alternate short strings if they can occur in contexts where
a QName might appear.

                                        Be seeing you,

Norman.Walsh@Sun.COM / XML Standards Architect / Sun Microsystems, Inc.
NOTICE: This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.

Received on Thursday, 3 November 2005 21:27:30 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:19 UTC