Re: XMLLiteral handling in RDFa in HTML

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