W3C home > Mailing lists > Public > public-html@w3.org > October 2007

Re: Some thoughts (on questions) on RDFa in HTML5

From: Karl Dubost <karl@w3.org>
Date: Mon, 8 Oct 2007 16:56:39 +0900
Message-Id: <523DBC43-4901-48A7-AFA0-04FE1AD06596@w3.org>
Cc: "HTML WG" <public-html@w3.org>
To: Peter Krantz <peter.krantz@gmail.com>



Peter Krantz (6 oct. 2007 - 20:35) :
> How would this look in HTML5?
>
> 1. HTML5 is not an XML-based markup language. So "xmlns" does not
> sound right? Should it be called something else? "ns"?

That's not true. HTML 5 is a language (abstract model) with two  
serializations.

* HTML 5 as text/html
* HTML 5 as application/xhtml+xml

if you prefer it is exactly like RDF (the abstract model) and  
different possible syntaxes (n3, XML, turtle)

> 2. How can conformance be tested? In XHTML you apply XSLT on a test
> page and the result is compared to the intended result. This is easy
> because the parsing rules are defined. Is there a canonical parsing
> model for HTML that makes it possible to test conformance in a similar
> way?

You can use RDFa with the XML serialization of HTML 5 aka HTML5/xml
http://www.w3.org/MarkUp/2007/ED-rdfa-syntax-20070927/#a_hostlanguages

The trouble is can we use RDFa in HTML 5 as is. The only way to find  
out is to create test cases with RDFa constructs in an HTML document  
and to see how for example Operator parses it.
You could also develop your own parser and sees if it creates troubles.


> [1]: http://www.w3.org/TR/xhtml-rdfa-primer/




-- 
Karl Dubost - http://www.w3.org/People/karl/
W3C Conformance Manager, QA Activity Lead
   QA Weblog - http://www.w3.org/QA/
      *** Be Strict To Be Cool ***
Received on Monday, 8 October 2007 07:56:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:08 GMT