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

Re: xml:lang [was Re: Outstanding Issues ]

From: Pat Hayes <phayes@ai.uwf.edu>
Date: Fri, 1 Mar 2002 12:16:49 -0600
Message-Id: <p05101425b8a573bd189d@[192.168.0.11]>
To: Patrick Stickler <patrick.stickler@nokia.com>
Cc: w3c-rdfcore-wg@w3.org
>On 2002-02-27 17:41, "ext Dan Connolly" <connolly@w3.org> wrote:
>
>
>>  ("abc", 'en') ->    "abc"-en
>>  ("abc",  none) ->    "abc"
>>  ("abc", 'fr') ->    "abc"-fr
>>
>>  Also, for XML literals, we'll have xml("canonical-form...", "en").
>>
>>  The point is: the literal is syntactically evident in the RDF document.
>
>This seems reasonable.
>
>>>  when the
>>>  datatyping discussion was in full progress, all predicated on the
>>>  assumption (and indeed the frequent explicit assertion, to which
>>>  nobody raised the slightest objection) that literals were strings. If
>>>  literals are not strings, then we have to go and do all that again,
>>>  because NONE of it makes any sense at all. What is the result of
>>>  applying the lexical-to-value mapping of xsd:number to the pair
>>>  ("34", "french") ?
>>
>>  same as the result of applying it to "blarf": you lose.
>
>Hmmm... this may be the example I have been looking for to
>explain the difference between literal and lexical form ;-)
>
>Literal:       <0,"35",en>
>Lexical Form:  "35"
>
>The lexical form is that portion of the literal which is significant
>to datatyping. Thus, if we paired the above literal with the datatype
>xsd:integer, the pairing that is passed to the extra-RDF application is
>(xsd:integer, "35") and not (xsd:integer, <0,"35",en>) because parseType
>and language tags are irrelevant to datatyping and are superfluous insofar
>as the mapping is concerned.

But are they? We have considered German versus English decimals and 
US versus UK date formats within the datatyping discussion. Seems to 
me that datatyping and language tagging are going to be seen as 
closely related in such cases. In the context of xsd:decimal, does 
"10,03"-fi equal "10.03"-en ?

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 Friday, 1 March 2002 13:16:47 EST

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