- From: Ivan Herman <ivan@w3.org>
- Date: Mon, 14 Jun 2010 12:59:17 +0200
- To: Mark Birbeck <mark.birbeck@webbackplane.com>
- Cc: RDFa WG <public-rdfa-wg@w3.org>
- Message-Id: <108CD85A-BFFA-4441-9AA4-37F4BB60A58B@w3.org>
Mark, on tiny question, not disagreeing with anything you write: On Jun 12, 2010, at 16:44 , Mark Birbeck wrote: [snip] > > > 2. The spec says that the feature string provided as a parameter > should be "rdfa 1.1", i.e., the following should hold: > > assert.isTrue(document.hasFeature("rdfa 1.1")); > > However, hasFeature() is defined such that the feature and version > number are two parameters. So what we really need is this: > > assert.isTrue(document.hasFeature("rdfa", "1.1")); > > > 3. The second parameter to hasFeature() is optional, so this should > also be true: > > assert.isTrue(document.hasFeature("rdfa")); > I guess what you are saying is that document.hasFeature("rdfa") is equal to document.hasFeature("rdfa","1.1"). Right? I mean that the 1.1 Core features are the default. > > 4. And finally, I think most people would interpret the version number > as implying support for RDFa Core 1.1, rather than the RDFa API. I > think this is ok, but it also means that we need to allow for 1.0 > support, for backwards compatibility. Therefore, I would suggest that > the following assertion should also be true: > > assert.isTrue(document.hasFeature("rdfa", "1.0")); > Again, I guess what you are saying is that if hasFeature("rdfa","1.1") == True then hasFeature("rdfa","1.0") == True but not conversely. What I mean with all that is: do we imagine/allow RDFa API implementation that implement 1.0 only? And I presume the answer should be yes... Ivan > Regards, > > Mark > > -- > Mark Birbeck, webBackplane > > mark.birbeck@webBackplane.com > > http://webBackplane.com/mark-birbeck > > webBackplane is a trading name of Backplane Ltd. (company number > 05972288, registered office: 2nd Floor, 69/85 Tabernacle Street, > London, EC2A 4RR) > ---- 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, 14 June 2010 10:57:39 UTC