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

RE: Another problem with leading digits

From: Mark Birbeck <mark.birbeck@x-port.net>
Date: Wed, 14 Dec 2005 19:00:33 -0000
Message-ID: <BB2CE9F3-D30D-45C2-8A53-CC6B4DDACB7C@s15.mail.x-port.net>
To: "'Ralph R. Swick'" <swick@w3.org>, "'Misha Wolf'" <Misha.Wolf@reuters.com>
Cc: <public-rdf-in-xhtml-tf@w3.org>, <newsml-2@yahoogroups.com>


I agree with Ralph that it's out of scope.

The problem is to do with the fragment identifiers in HTML rather than the
URIs in RDF. What Misha would like to do is reducible to this:

  <div id="15093000">
    Kendo is a Japanese traditional martial art using a bamboo sword,
    sometimes called Japanese fencing.

But the fact that he can't has nothing to do with RDF.

One possible workaround would be to do this:

  <div id="subj15093000">
    Kendo is a Japanese traditional martial art using a bamboo sword,
    sometimes called Japanese fencing.

And then set the namespace as follows:


Then you can still use your preferred syntax for the actual codes


This would result in the correct URI reference. I know it's not ideal, but
my recollection of the earliest discussions on this subject were that the
"subject:15093000" syntax was the most important thing to preserve, and as
you know, a mechanism to do that has been proposed and is under discussion.



Mark Birbeck
x-port.net Ltd.

e: Mark.Birbeck@x-port.net
t: +44 (0) 20 7689 9232
w: http://www.formsPlayer.com/

Download our XForms processor from

> -----Original Message-----
> From: public-rdf-in-xhtml-tf-request@w3.org 
> [mailto:public-rdf-in-xhtml-tf-request@w3.org] On Behalf Of 
> Ralph R. Swick
> Sent: 14 December 2005 18:35
> To: Misha Wolf
> Cc: public-rdf-in-xhtml-tf@w3.org; newsml-2@yahoogroups.com
> Subject: Re: Another problem with leading digits
> At 02:08 PM 12/14/2005 +0000, Misha Wolf wrote:
> >If the
> >string "15093000" were to act as a fragment identifier within a Web 
> >page and if the fragment were to be identified by an attribute 
> >conforming to the XML attribute type 'ID', then this would 
> be illegal, 
> >due to the leading digit.
> >
> >HTML 4 appears to have no such constraint.  The XHTML 2 
> draft appears 
> >to be silent on this matter.
> >
> >Is this issue of interest to the task force?
> The issue of what is permissible within an XML ID attribute 
> and how that may affect XHTML document authors is, I think, 
> well out of scope for the RDF-in-XHTML Task Force.
> Your issue may apply equally well to RDF/XML, however.
> The attribute rdf:ID is specified to have the value 
> restrictions of NCName, per [1,2]; i.e. it must start with a 
> letter or '_'.
>    [1] http://www.w3.org/TR/rdf-syntax-grammar/#idAttr
>    [2] http://www.w3.org/TR/rdf-syntax-grammar/#rdf-id
> This is still out-of-scope for the RDF-in-XHTML Task Force 
> and the simple work-around for an RDF/XML document is to use 
> the rdf:about attribute.
Received on Wednesday, 14 December 2005 19:02:46 UTC

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