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

Re: Typed literals: current status

From: Patrick Stickler <patrick.stickler@nokia.com>
Date: Mon, 21 Oct 2002 11:23:08 +0300
Message-ID: <00b901c278db$1a161160$c99316ac@NOE.Nokia.com>
To: "ext Patrick Stickler" <patrick.stickler@nokia.com>, "ext Jeremy Carroll" <jjc@hpl.hp.com>, <w3c-rdfcore-wg@w3.org>



[Patrick Stickler, Nokia/Finland, (+358 40) 801 9690, patrick.stickler@nokia.com]


----- Original Message ----- 
From: "ext Patrick Stickler" <patrick.stickler@nokia.com>
To: "ext Jeremy Carroll" <jjc@hpl.hp.com>; <w3c-rdfcore-wg@w3.org>
Sent: 21 October, 2002 11:08
Subject: Re: Typed literals: current status


> > ...But 
> > if we had two new types rdf:ClassicLiteral, rdf:ClassicXMLLiteral then we 
> > could move all the complexity of XML Literals into a datatype definition.

It just occurred to me that perhaps I misunderstood what you
are proposing. Are you suggesting in fact that


                    Non-XML     |               XML
           ---------------------|-----------------------------------
Non-Typed  |      "10"-en       |      XML"<h1>foo</h1>"-en
-----------|--------------------|-----------------------------------
Typed      | "10"<&xsd;int>-en  |  XML"<h1>foo</h1>"<&xhtml;h1>-en
--------------------------------------------------------------------

becomes rather

                    Non-XML     |               XML
           ---------------------|-----------------------------------
Non-Typed  | "10"<&rdf;ClassicLiteral>-en |  
           |                    | XML"<h1>foo</h1>"<&rdf;ClassicXMLLiteral>-en
-----------|--------------------|-----------------------------------
Typed      | "10"<&xsd;int>-en  |  XML"<h1>foo</h1>"<&xhtml;h1>-en
--------------------------------------------------------------------


???

So that in fact, we'd never have non-typed literals in the abstract
syntax ever?

And would that provide for typed XML literals such as
XML"<h1>foo</h1>"<&xhtml;h1>-en?

If so, then I would support that. Though, I think that the "Classic"
could be omitted and just call them rdf:Literal and rdf:XMLLiteral.

Patrick
Received on Monday, 21 October 2002 04:23:18 EDT

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