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

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 UTC