W3C home > Mailing lists > Public > www-html-editor@w3.org > July to September 2008

xmlse:foo slightly substantive comment on CURIEs (both in stand alone document, and in RDFa PR)

From: Jeremy Carroll <jeremy@topquadrant.com>
Date: Fri, 12 Sep 2008 09:48:12 -0700
To: "'RDFa mailing list'" <public-rdf-in-xhtml-tf@w3.org>
Cc: <www-html-editor@w3.org>, <public-swd-wg@w3.org>, "'Ralph Hodgson'" <ralph@topquadrant.com>
Message-ID: <007301c914f7$5a673280$0f359780$@com>


Please remove www-html-editor from the address list if doing a reply-to-all on a WG list.

Apologies that this is a late comment on both specifications.
It arises from work we were doing yesterday.

This is a comment on:
http://www.w3.org/TR/2008/PR-rdfa-syntax-20080904/
and
http://www.w3.org/TR/2008/WD-curie-20080506/
made on behalf of TopQuadrant.

Contents:
  Comment
  Related Draft Comments

Comment:
***
The string xmlse:foo is (arguably) a CURIE according to the RDFa PR
and is not a CURIE according to the CURIE Last Call WD.

See the text:
[[
prefix values MUST be able to be defined using the 'xmlns:' syntax specified in [XMLNAMES].
]]
in the latter, which is not in the former.

Note both documents have the rule:
[[
prefix      :=   NCName
]]
and NCName is linked to
http://www.w3.org/TR/1999/REC-xml-names-19990114/#NT-NCName

which says 
[[
Prefixes beginning with the three-letter sequence x, m, l, in any case combination, are reserved for use by XML and XML-related specifications.
]]

but since xml:lang is clearly intended to match the QName construct
http://www.w3.org/TR/1999/REC-xml-names-19990114/#NT-QName
it is, in my view, a misreading of Namespaces in XML to have NCName not matching the string "xmlse"

My preferred fix would be:
Delete the offending text from CURIE.
Add the following clarification to both documents:
[[
Note: A CURIE prefix value may case-insensitively begin in the string "xml", but then it is not permitted to be used as a prefix in an xmlns declaration in an XML document. 
]] 
***

Related Draft Comments:

The background to this observation is further explained in:
http://lists.w3.org/Archives/Public/public-swd-wg/2008Sep/0028
which is in turn a follow up to
http://lists.w3.org/Archives/Public/public-swd-wg/2008Sep/0018
Note msg 0028 took a more positive spin on this observation, but on further reflection this morning led me to this more substantive issue. 
Since this comment arose during my review for the SWD WG, there may be further comment from that WG (e.g. either an endorsement or an explicit non-endorsement).

Jeremy
Received on Friday, 12 September 2008 16:49:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:17:57 GMT