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

Re: Another problem with leading digits

From: Ralph R. Swick <swick@w3.org>
Date: Wed, 14 Dec 2005 13:34:45 -0500
Message-Id: <5.1.0.14.2.20051214132138.0256fb00@127.0.0.1>
To: Misha Wolf <Misha.Wolf@reuters.com>
Cc: public-rdf-in-xhtml-tf@w3.org, newsml-2@yahoogroups.com

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 18:35:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:15:00 GMT