W3C home > Mailing lists > Public > public-html@w3.org > May 2009

Re: XMLLiteral handling in RDFa in HTML

From: Manu Sporny <msporny@digitalbazaar.com>
Date: Thu, 28 May 2009 00:37:11 -0400
Message-ID: <4A1E14F7.4030408@digitalbazaar.com>
To: Ian Hickson <ian@hixie.ch>
CC: RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>, HTMLWG WG <public-html@w3.org>
Ian Hickson wrote:
> On Tue, 26 May 2009, Manu Sporny wrote:
>> I don't believe that there is any such thing as an malformed XMLLiteral 
>> in HTML5... is there? Can anybody think of an example of an invalid 
>> XMLLiteral in an html5 parser?
> 
> If you're asking if an HTML5 parser can generate a DOM that cannot be 
> serialised as XML, the answer is yes, there are a number of ways to do 
> this.

Thanks for the examples and the links, Ian (and Sam). I've created a
number of local tests that should be incorporated into the HTML+RDFa
test suite. I'll try and glean some more from the documents each of you
linked to.

Perhaps what we need is a test harness that will take the document
contents of each 110+ XHTML+RDFa test cases and shoves them into a
series of different (X)HTML DOCTYPES to determine which test cases
result in different triples based on the underlying RDFa parser and DOCTYPE?

It would give us some idea of where triples deviate most often based on
DOCTYPE as well as helping developers create more robust RDFa processor
implementations.

-- manu

-- 
Manu Sporny
President/CEO - Digital Bazaar, Inc.
blog: A Collaborative Distribution Model for Music
http://blog.digitalbazaar.com/2009/04/04/collaborative-music-model/
Received on Thursday, 28 May 2009 04:37:47 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:03 UTC