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

Re: use cases for Literal? RSS? Dublin Core? PRISM? DAML? XAP?

From: Jeremy Carroll <jjc@hplb.hpl.hp.com>
Date: Fri, 12 Oct 2001 10:12:14 +0100
Message-ID: <3BC6B3EE.A37A07AA@hplb.hpl.hp.com>
To: w3c-rdfcore-wg@w3.org

Jeremy:
> > I would not be opposed to deleting parseType="Literal"
DanC: 
> I would prefer that to the extremely loose interpretation you're
> suggesting...

I do not want to break all RDF/XML processors (or all but one) and
anything other than an extremely loose interpretation or straight
deletion will do that.

Jeremy:
> Your .nt attachment suggests that represtentations that are
> indistinguishable from strings are OK. That's going to far, for me.

That is my intent.

> 
> > Taking your challenge and following 2, I attach an n-triples file.
> >
> > The literal, (in pieces that need to be concatenated is)
> >
> > "\n      Ramifications of\n         <apply xmlns=\"http://www"
> > ".w3.org/TR/REC-mathml\" xmlns:dc=\"http://purl.org/metadata/d"
> > "ublin_core#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-sy"
> > "ntax-ns#\">\n        <power></power>\n        <apply>\n      "
> > "    <plus></plus>\n          <ci>a</ci>\n          <ci>b</ci>"
> > "\n        </apply>\n        <cn>2</cn>\n      </apply>\n     "
> > " to World Peace\n    "
> 
> That doesn't make it clear that it's a parseType="Literal"
> value.

No. The only way to tell is to stick it betwenn "<foo>" and "</foo>" and
try parsing it with an XML parser.


DanC:
> That .nt file (after I put a period at the end
> of the last line) also corresponds to this RDF/XML input:
> 
> <rdf:RDF xmlns="http://purl.org/metadata/dublin_core#"
>     xmlns:log="http://www.w3.org/2000/10/swap/log#"
>     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
> 
>     <rdf:Description rdf:about="http://mycorp.com/papers/NobelPaper1">
>         <Creator>David Hume</Creator>
>         <Title>
>       Ramifications of
>          &#60;apply xmlns="http://www.w3.org/TR/REC-mathml"
> xmlns:dc="http://purl.org/metadata/dublin_core#"
> xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"&#62;
>         &#60;power&#62;&#60;/power&#62;
>         &#60;apply&#62;
>           &#60;plus&#62;&#60;/plus&#62;
>           &#60;ci&#62;a&#60;/ci&#62;
>           &#60;ci&#62;b&#60;/ci&#62;
>         &#60;/apply&#62;
>         &#60;cn&#62;2&#60;/cn&#62;
>       &#60;/apply&#62;
>       to World Peace
>     </Title>
>     </rdf:Description>
> </rdf:RDF>
> 

Well, I am not going to check it! But yes, that is the idea.

Jeremy
Received on Friday, 12 October 2001 05:07:50 EDT

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