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

Re: #rdf-containers-syntax-ambiguity, #rdf-containers-syntax-vs-schema

From: Aaron Swartz <aswartz@swartzfam.com>
Date: Tue, 12 Jun 2001 08:24:18 -0500
To: Art Barstow <barstow@w3.org>, Brian McBride <bwm@hplb.hpl.hp.com>
CC: rdf core <w3c-rdfcore-wg@w3.org>
Message-ID: <B74B8231.DC20%aswartz@swartzfam.com>
Art Barstow <barstow@w3.org> wrote:

>>   <rdf:Bag rdf:_1="1", rdf:_2="2"/>
>>     <rdf:li>?</rdf:li>
>>   </rdf:Bag>
> 
> I don't quite understand this issue as the above appears
> to be illegal RDF (even as a typedNode).  Are you suggesting
> the grammar be changed to make this legal?

I believe what Brian meant to say is:

   <rdf:Bag rdf:_1="1" rdf:_2="2">
     <rdf:li>?</rdf:li>
   </rdf:Bag>

which SiRPAC interprets (quite interestingly) as:


_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
            <http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag> .
_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> "?" .
_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#_2> "2" .
_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#_3> "1" .

whereas I would expect:

_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
            <http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag> .
_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> "1" .
_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#_2> "2" .
_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#_3> "?" .


I believe this has an interesting bearing on our discussions about
containers-formalmodel.


-- 
[ Aaron Swartz | me@aaronsw.com | http://www.aaronsw.com ]
Received on Tuesday, 12 June 2001 09:24:34 EDT

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