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

goofy @datatype values fall back to plain literal or not?

From: Dan Connolly <connolly@w3.org>
Date: Wed, 03 Feb 2010 21:35:41 -0600
To: public-rdf-in-xhtml-tf <public-rdf-in-xhtml-tf@w3.org>
Message-ID: <1265254541.3812.586.camel@pav.lan>
Step 9 of http://www.w3.org/TR/rdfa-syntax/#sec_5.5.


 "as a [typed literal] if: @datatype is present ...
   The final string includes the datatype URI, ...  which will have
   been obtained according to the section on CURIE and URI Processing."

Now... when I follow that link, I find:

"An attribute may allow one or more CURIE-only values, disallowing other
types of value. In this case any value that is not a 'curie' according
to the definition in the section CURIE Syntax Definition MUST be
ignored; this means that not only will there be no error reporting, but
also the RDFa processor should act as if the value simply did not

 -- 5.4.3. General Use of CURIEs in Attributes

So suppose I have

 <span datatype="***goofy***" content="abc">

How do I "act as if the value simply did not exist"? Do I act as
if the @datatype attribute weren't there and fall back to
the next bullet ("as a [plain literal] if...")? Or do I stick
with this bullet but not establish any [current object literal]?

Dan Connolly, W3C http://www.w3.org/People/Connolly/
gpg D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E
Received on Thursday, 4 February 2010 03:35:43 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:34 UTC