W3C home > Mailing lists > Public > www-archive@w3.org > February 2006

how to give the foaf:maker of this page? [was: fun with embedded RDF]

From: Dan Connolly <connolly@w3.org>
Date: Fri, 24 Feb 2006 22:45:38 -0600
To: Ian Davis <iand@internetalchemy.org>
Cc: www-archive+breadcrumbs@w3.org
Message-Id: <1140842738.26363.1077.camel@dirk.w3.org>

Now this is wierd...

If I put this in my page:

<address id="thisPageWierdness">
  <span class="foaf-maker" id="danc">
  <a rel="foaf-homepage" class="foaf-name" href="/People/Connolly/">Dan
Connolly</a></span>
</address>

the output I get is as I'd expect:
  <rdf:Description rdf:about="#wierd">
    <foaf:maker rdf:resource="#danc"/>
  </rdf:Description>
  <rdf:Description rdf:about="#danc">
    <foaf:name>Dan Connolly</foaf:name>
    <foaf:homepage rdf:resource="/People/Connolly/" rdfs:label="Dan
Connolly"/>
  </rdf:Description>


but if I take the ID off the <address>, the *object* of the
maker triple changes to a literal:

  <rdf:Description rdf:about="">
    <foaf:maker>Dan Connolly</foaf:maker>
  </>

Huh? Is that as-designed?

-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E
Received on Saturday, 25 February 2006 04:45:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 November 2012 14:17:54 GMT