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

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 14:39:57 UTC