W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > May 2009

rdfa parsing problem

From: Meri Kovach <meri.kovach@gmail.com>
Date: Wed, 20 May 2009 11:37:09 +0200
Message-ID: <5e02bae40905200237s57ee1f64rb6b77e478cb055a3@mail.gmail.com>
To: public-rdf-in-xhtml-tf@w3.org
Could you please explain to me why these two extracts, when parsed, do not
produce the same statements:

 <table>
    <tr>
    <span about="#2105555" typeof="foaf:Person">
       <td>1</td>
       <td><span property="foaf:firstName">Meri</span></td>
       <td><span property="foaf:familyName">Kovac</span></td>
   </span>
   </tr>
 </table>

and

  <table>
    <tr about="#2105555" typeof="foaf:Person">
       <td>1</td>
       <td><span property="foaf:firstName">Meri</span></td>
       <td><span property="foaf:familyName">Kovac</span></td>
   </tr>
 </table>

The parsing result (using RDF distiller) is following:

  <foaf:Person rdf:about="http://localhost:8080/rdfa.html#2105555"/>
  <rdf:Description rdf:about="http://localhost:8080/rdfa.html">
    <foaf:firstName>Meri</foaf:firstName>
    <foaf:familyName>Kovac</foaf:familyName>
  </rdf:Description>

and
  <foaf:Person rdf:about="http://localhost:8080/rdfa.html#2105555">
    <foaf:firstName>Meri</foaf:firstName>
    <foaf:familyName>Kovac</foaf:familyName>
  </foaf:Person>

The second one is the correct one. Why is the subject mixed up in the first
one?

Thnx,
Meri
Received on Wednesday, 20 May 2009 09:37:44 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:02:02 UTC