- From: Mark Birbeck <mark.birbeck@x-port.net>
- Date: Fri, 14 Mar 2008 13:32:00 +0000
- To: "Ivan Herman" <ivan@w3.org>
- Cc: "Shane McCarron" <shane@aptest.com>, "David Peterson" <david@squishyfish.com>, "RDFa mailing list" <public-rdf-in-xhtml-tf@w3.org>
Right...and the two JavaScript implementations that I am aware of (my own, and Ben Adida's) use basic DOM traversal to 'parse' the document, which means they'll work on basic HTML documents. I.e., the browser doesn't even need to be in XHTML mode. Mark On 14/03/2008, Ivan Herman <ivan@w3.org> wrote: > Also, on a practical/RDFa level: afaik, most (if not all) RDFa > implementation rely on the source being valid XML only or, possibly, > valid XHTML+RDFa if they rely on the DTD, but that is it. It is > certainly the case with my RDFa distiller. > > Ivan > > > Shane McCarron wrote: > > > > This is not an "official" response, but... > > > > The XHTML 2 Working Group says that XHTML Family documents SHOULD be > > served as text/xhtml+xml - but it is certainly legal to serve them as > > text/html. Its what most sites do when a browser will not accept > > text/xhtml+xml. In the case of IE, where XHTML documents are not > > correctly processed, as long as you send the data as text/html and it > > has a suffix of .html it seems to be processed as HTML even if the > > DOCTYPE says it is XHTML+RDFa or whatever. > > > > David Peterson wrote: > >> Just received this comment from SitePoint [1]: > >> > >> ----------------- > >> Comment: I was referring mostly to the fact that the dominant browser > >> treats XHTML as HTML, so using XHTML (that is to say, serving as > >> XHTML) is not currently viable. > >> > >> I don't know if XHTML served as HTML can take advantage of things like > >> RDFa. I assume it can, but I don't know. > >> > >> ------------------ > >> > >> So, before I respond what is the official answer? > >> > >> Thanks, > >> > >> David > >> > >> [1] > >> http://www.sitepoint.com/blogs/2008/03/14/preparing-your-sites-for-the-data-web/#comment-654414 > >> > >> > >> > >> > >> > >> > > > > -- > > > Ivan Herman, W3C Semantic Web Activity Lead > Home: http://www.w3.org/People/Ivan/ > PGP Key: http://www.ivan-herman.net/pgpkey.html > FOAF: http://www.ivan-herman.net/foaf.rdf > > -- Mark Birbeck mark.birbeck@x-port.net | +44 (0) 20 7689 9232 http://www.x-port.net | http://internet-apps.blogspot.com x-port.net Ltd. is registered in England and Wales, number 03730711 The registered office is at: 2nd Floor Titchfield House 69-85 Tabernacle Street London EC2A 4RR
Received on Friday, 14 March 2008 13:32:45 UTC