W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > April 2002

Re: RDF Issue rdfms-uri-substructure

From: Pat Hayes <phayes@ai.uwf.edu>
Date: Mon, 22 Apr 2002 17:10:33 -0500
Message-Id: <p05101509b8ea3a3c434c@[65.217.30.94]>
To: Graham Klyne <GK@ninebynine.org>
Cc: w3c-rdfcore-wg@w3.org
>At 03:29 PM 4/22/02 +0100, Jan Grant wrote:
>>  > and we advise implementors of RDF serializers:
>>>
>>>  (e) in order to break a URI into a namespace name and a local name, split
>>>  it after the last XML non-name character.  If the URI ends in a
>>>  non-name-character throw a "this graph cannot be serialized in RDF 1.0"
>>>  exception.
>
>I'm reminded that this doesn't guarantee a well-formed local name [1]; e.g.
>
>   http://example.org/path/1abc
>
>The local name is not allowed to start with a digit, even though 
>it's a valid XML name character.

Is this an XML bug or a local-name bug? (Ie which is likely to get 
changed first?)

>  In my code, I break this *after* the "1"; i.e.
>
>   ns='http://example.org/path/1'  localname='abc'

Yuk, that seems worse than throwing an exception. Is there even a 
slight likelihood that is what was intended?

Pat


-- 
---------------------------------------------------------------------
IHMC					(850)434 8903   home
40 South Alcaniz St.			(850)202 4416   office
Pensacola,  FL 32501			(850)202 4440   fax
phayes@ai.uwf.edu 
http://www.coginst.uwf.edu/~phayes
Received on Monday, 22 April 2002 18:10:47 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 3 September 2003 09:47:34 EDT