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:
- RDFa WG telecon minutes for 2011-02-14 (from msporny@digitalbazaar.com on 2011-02-14)
- Re: URGENT: RDFa Super Session II: The Last Calling (from shane@aptest.com on 2011-02-14)
- Re: URGENT: RDFa Super Session II: The Last Calling (from ivan@w3.org on 2011-02-14)
- URGENT: RDFa Super Session II: The Last Calling (from msporny@digitalbazaar.com on 2011-02-14)
- Re: Telecon Agenda - February 10th 2011, 1400 UTC (from benjamin.adrian@dfki.de on 2011-02-10)
- Re: ISSUE-83: CURIEs must require colon (from nathan@webr3.org on 2011-02-09)
- Re: ISSUE-83: CURIEs must require colon (from ivan@w3.org on 2011-02-09)
- Re: ISSUE-83: CURIEs must require colon (from msporny@digitalbazaar.com on 2011-02-09)
- 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)
- 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)
- 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)
- 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)
- 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)
- Telecon Agenda - February 10th 2011, 1400 UTC (from msporny@digitalbazaar.com on 2011-02-07)
- 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)
- 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)
- Re: Proposal, allow Colon in a Term (from ivan@w3.org on 2011-02-07)
- Re: Proposal, allow Colon in a Term (from nathan@webr3.org on 2011-02-07)
- Proposal, allow Colon in a Term (from nathan@webr3.org on 2011-02-07)
- 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)
- 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)
- 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)
- 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:21Display change log