W3C home > Mailing lists > Public > public-rdfa@w3.org > July 2010

Re: HTML5 and RDFa

From: Sergey Chernyshev <sergey.chernyshev@gmail.com>
Date: Mon, 5 Jul 2010 20:29:02 -0400
Message-ID: <AANLkTinL3Tyl8snv84KR3Xcg9IUH1gVmSrKVxKuNKxyB@mail.gmail.com>
To: RDFa Community <public-rdfa@w3.org>
So, essentially I can use <html version="HTML+RDFa 1.1" lang="en"> instead
of RDFa-specific DOCTYPE and the rest is similar to  XHTML+RDFa, e.g.
namespace declarations and all?

I'll be checking against http://check.rdfa.info/ to make sure it is somewhat
compatible with almost-there-standards of HTML5 and HTML+RDFa ;)

        Sergey


On Mon, Jul 5, 2010 at 6:01 PM, Karl Dubost
<karl+w3c@la-grange.net<karl%2Bw3c@la-grange.net>
> wrote:

> A bit more in details. Our first answers were a bit dry.
>
> Le 5 juil. 2010 à 14:26, Sergey Chernyshev a écrit :
> > Here's the bug with the discussion on the topic:
> > http://code.google.com/p/showslow/issues/detail?id=61
>
> Reading your discussion
>
> # Strict Mode
>
> <!DOCTYPE html> will put your browser into strict mode.
> See http://ejohn.org/blog/html5-doctype/
>
> # Proposed syntax for adding RDFa
>
> careful it is a *working draft*
> http://www.w3.org/TR/rdfa-in-html/
>
> <!DOCTYPE html>
> <html version="HTML+RDFa 1.1" lang="en">
>  <head>
>    <title>Example Document</title>
>  </head>
>  <body>
>    <p>Moved to <a href="http://example.org/">example.org</a>.</p>
>  </body>
> </html>
>
> # Syntax Style (aka pseudo-xhtml)
>
> You can write mostly with xhtml syntax style without issues.
> But be aware that your document will not be necessary xhtml
> mime-type ready. So basically, you can in *html5*
>
> * close your elements
>   ex: <br/>
> * quote your attributes values
>   ex:  <span title="html5 is flexible">html5<span>
>
> There is a document explaining the syntax *if* you want to serve
> documents using both text/html and application/xhtml+xml
> careful it is a *working draft*
> http://www.w3.org/TR/html-polyglot/
>
>
>
>
> --
> Karl Dubost
> Montréal, QC, Canada
> http://www.la-grange.net/karl/
>
>
Received on Tuesday, 6 July 2010 00:29:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 6 July 2010 00:29:41 GMT