W3C home > Mailing lists > Public > www-rdf-interest@w3.org > January 2000

Re: Can propertyElt have descriptions+? (WAS: RDF in real life: Revised XML/RDF-Schema of the G2k-Namespace)

From: Sergey Melnik <melnik@db.stanford.edu>
Date: Mon, 31 Jan 2000 14:27:06 -0800
Message-ID: <38960C3A.4E6D51E3@db.stanford.edu>
To: caro@Adobe.COM
CC: www-rdf-interest@w3.org
IMO the answer is no; this is another bug in SiRPAC.

Sergey

"Perry A. Caro" wrote:
> 
> I wrote to Thomas privately to point out that his g2k:topic property was
> invalid, because its value contains two rdf:Description nodes.  He wrote
> back indicating that SirPAC accepts it just fine, so what was I talking
> about?
> 
> Sure enough, I took the following winnowed example and gave it to SirPAC,
> and it didn't complain:
> 
>     <?xml version='1.0' encoding="iso-8859-1"?>
>        <rdf:RDF xmlns:rdf = "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
>            xmlns:g2k = "http://www.gein.de/2000/profile-02#">
>            <rdf:Description about = "http://www.any-mu.de/doc" xml:lang =
> "de">
>                   <g2k:topic>
>                       <rdf:Description about = "top/111" >
>                          <g2k:term> umwelt </g2k:term>
>                          <g2k:rank> 10 </g2k:rank>
>                       </rdf:Description >
>                       <rdf:Description about = "top/222">
>                          <g2k:term> schutz </g2k:term>
>                          <g2k:rank> 5 </g2k:rank>
>                       </rdf:Description >
>                   </g2k:topic>
>               </rdf:Description>
>       </rdf:RDF>
> 
> =======================================
> 
> Somebody is wrong, but I can't tell if it is SirPAC, my interpretation of
> the formal RDF grammer BNF, or the formal grammer BNF itself.  Production
> [6.12] of the RDF formal grammar says propertyElt can have a "value",
> singular.  Production [6.17] says value can be "obj" singular.  Production
> [6.2] says obj can be "description", singular.
> 
> My RDF parser barfs on the example above.  Does SirPAC know something that I
> don't?
> 
> Perry
Received on Monday, 31 January 2000 17:19:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:51:42 GMT