Re: XMLLiteral handling in RDFa in HTML

On May 26, 2009, at 08:58, Toby Inkster wrote:

> Sometimes an RDFa parser, dealing with HTML, will hit a situation  
> where it needs to generate an XMLLiteral from non-wellformed HTML.


In a reasonable layering, the RDFa processor is layered on top of an  
HTML parser, in which case the RDFa parser can't in the general case  
tell if the input would have been well-formed if processed as XML. It  
seems like a bad idea to define RDFa processing in terms of the source  
bytes instead of defining it in terms of the output of the HTML  
parsing algorithm.

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/

Received on Tuesday, 26 May 2009 07:15:02 UTC