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

Comments on RDF/A Syntax (Editor's Draft 27 October 2005)

From: Jeremy Wong lq <jeremy@miko.hk>
Date: Fri, 25 Nov 2005 00:57:41 +0800
Message-ID: <001901c5f118$2f02d0f0$0100a8c0@wongc63b9a507d>
To: <public-rdf-in-xhtml-tf@w3.org>

I read the doc. of RDF/A in rush, just leave a few comments here..

1. "rdf:about" instead of "about"
"rdf:about" is pretty well-known. To learn a new attribute, "rdf:about" and 
"about" are no difference. Just a name to remember...
e.g., <p rdf:about=""><a rel="dc:creator" 
href="mailto:bill.gates@microsoft.com">Bill Gates</a> blah blah</p>
=> { <> dc:creator <mailto:bill.gates@microsoft> . }

2. use the "type" attribute for typed literal
The "type" attribute is from the anchor element.
e.g., <p rdf:about=""><a rel="dc:date" 
type="xsd:dateTime">2005-11-25T00:46:00+0800</a> blah blah</p>
=> { <> dc:date "2005-11-25T00:46:00+0800"^^xsd:dateTime . }

3. use of Production "propertyAttr" [1]
I recommend to use "propertyAttr" for the case of "nodeElement" [2] only, 
never "emptyPropertyElt" [3]
e.g. <p rdf:about="" dc:subject="SemanticWeb">blah blah blah</p>
=> { <> dc:subject "SemanticWeb" . }


Jeremy Wong
--
[1] http://www.w3.org/TR/rdf-syntax-grammar/#propertyAttr
[2] http://www.w3.org/TR/rdf-syntax-grammar/#nodeElement
[3] http://www.w3.org/TR/rdf-syntax-grammar/#emptyPropertyElt
Received on Thursday, 24 November 2005 16:58:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:15:00 GMT