ISSUE-83: CURIEs are dangerous when used in combination with @vocab and @about

CURIEs must require colon

CURIEs are dangerous when used in combination with @vocab and @about

State:
CLOSED
Product:
LC Comment - RDFa Core 1.1
Raised by:
Nathan Rixham
Opened on:
2011-02-05
Description:
There is a bug in the CURIE syntax in RDFa Core where seemingly innocuous markup like the following will result in a set of surprising triples:

<div vocab="http://xmlns.com/foaf/0.1/" about="#me">
My name is <span property="name">John Doe</span> and my blog is called
<a rel="homepage" href="http://example.org/blog/">Understanding Semantics</a>.
</div>

The markup above, when processed via RDFa Core 1.1 processing rules will result in the following triples:

<http://xmlns.com/foaf/0.1/#me> <http://xmlns.com/foaf/0.1/name> "John Doe" .
<http://xmlns.com/foaf/0.1/#me> <http://xmlns.com/foaf/0.1/homepage <http://example.org/blog/> .

Note that the subject is wrong. The subject should have been to a fragment identifier for the current page but since "#me" is a valid CURIE when used in conjunction with @vocab, the wrong subject is generated.

The solution to this problem must not create backward incompatibilities and must allow the usage of @vocab.

edit:
note this also affects @resource in addition to @about
Related Actions Items:
No related actions
Related emails:
  1. RDFa WG telecon minutes for 2011-02-14 (from msporny@digitalbazaar.com on 2011-02-14)
  2. Re: URGENT: RDFa Super Session II: The Last Calling (from shane@aptest.com on 2011-02-14)
  3. Re: URGENT: RDFa Super Session II: The Last Calling (from ivan@w3.org on 2011-02-14)
  4. URGENT: RDFa Super Session II: The Last Calling (from msporny@digitalbazaar.com on 2011-02-14)
  5. Re: Telecon Agenda - February 10th 2011, 1400 UTC (from benjamin.adrian@dfki.de on 2011-02-10)
  6. Re: ISSUE-83: CURIEs must require colon (from nathan@webr3.org on 2011-02-09)
  7. Re: ISSUE-83: CURIEs must require colon (from ivan@w3.org on 2011-02-09)
  8. Re: ISSUE-83: CURIEs must require colon (from msporny@digitalbazaar.com on 2011-02-09)
  9. Re: ISSUE-83 (CURIEs must require colon): CURIEs are dangerous when used in combination with @vocab and @about [LC Comment - RDFa Core 1.1] (from shane@aptest.com on 2011-02-09)
  10. Re: ISSUE-83 (CURIEs must require colon): CURIEs are dangerous when used in combination with @vocab and @about [LC Comment - RDFa Core 1.1] (from nathan@webr3.org on 2011-02-09)
  11. Re: ISSUE-83 (CURIEs must require colon): CURIEs are dangerous when used in combination with @vocab and @about [LC Comment - RDFa Core 1.1] (from shane@aptest.com on 2011-02-09)
  12. Re: ISSUE-83 (CURIEs must require colon): CURIEs are dangerous when used in combination with @vocab and @about [LC Comment - RDFa Core 1.1] (from ivan@w3.org on 2011-02-09)
  13. Re: ISSUE-83 (CURIEs must require colon): CURIEs are dangerous when used in combination with @vocab and @about [LC Comment - RDFa Core 1.1] (from tai@g5n.co.uk on 2011-02-09)
  14. Telecon Agenda - February 10th 2011, 1400 UTC (from msporny@digitalbazaar.com on 2011-02-07)
  15. Re: ISSUE-83 (CURIEs must require colon): CURIEs are dangerous when used in combination with @vocab and @about [LC Comment - RDFa Core 1.1] (from andy.seaborne@epimorphics.com on 2011-02-07)
  16. Re: ISSUE-83 (CURIEs must require colon): CURIEs are dangerous when used in combination with @vocab and @about [LC Comment - RDFa Core 1.1] (from ivan@w3.org on 2011-02-07)
  17. Re: Proposal, allow Colon in a Term (from ivan@w3.org on 2011-02-07)
  18. Re: Proposal, allow Colon in a Term (from nathan@webr3.org on 2011-02-07)
  19. Proposal, allow Colon in a Term (from nathan@webr3.org on 2011-02-07)
  20. Re: ISSUE-83 (CURIEs must require colon): CURIEs are dangerous when used in combination with @vocab and @about [LC Comment - RDFa Core 1.1] (from nathan@webr3.org on 2011-02-06)
  21. Re: ISSUE-83 (CURIEs must require colon): CURIEs are dangerous when used in combination with @vocab and @about [LC Comment - RDFa Core 1.1] (from shane@aptest.com on 2011-02-06)
  22. Re: ISSUE-83 (CURIEs must require colon): CURIEs are dangerous when used in combination with @vocab and @about [LC Comment - RDFa Core 1.1] (from nathan@webr3.org on 2011-02-06)
  23. ISSUE-83 (CURIEs must require colon): CURIEs are dangerous when used in combination with @vocab and @about [LC Comment - RDFa Core 1.1] (from sysbot+tracker@w3.org on 2011-02-05)

Related notes:

These changes have been made.

Shane McCarron, 2 Mar 2011, 04:54:21

Display change log ATOM feed


Chair, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 83.html,v 1.1 2015/03/27 14:12:34 vivien Exp $