- From: Ivan Herman <ivan@w3.org>
- Date: Mon, 7 Feb 2011 14:51:50 +0100
- To: RDFa Working Group WG <public-rdfa-wg@w3.org>
- Message-Id: <95654038-9EA1-43D0-805B-58CCCF9E6F09@w3.org>
Interesting. I ran your example through my code and it produced the right triples. Looking at it a bit further I also realized that I implemented as you propose, ie, that a CURIE must have a ':' in it. I guess it is a leftover from the earlier version for RDFa 1.0... Ivan On Feb 6, 2011, at 24:27 , RDFa Working Group Issue Tracker wrote: > > ISSUE-83 (CURIEs must require colon): CURIEs are dangerous when used in combination with @vocab and @about [LC Comment - RDFa Core 1.1] > > http://www.w3.org/2010/02/rdfa/track/issues/83 > > Raised by: Nathan Rixham > On product: LC Comment - RDFa Core 1.1 > > 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. > > > ---- Ivan Herman, W3C Semantic Web Activity Lead Home: http://www.w3.org/People/Ivan/ mobile: +31-641044153 PGP Key: http://www.ivan-herman.net/pgpkey.html FOAF: http://www.ivan-herman.net/foaf.rdf
Attachments
- application/pkcs7-signature attachment: smime.p7s
Received on Monday, 7 February 2011 13:51:19 UTC