Re: XMLLiteral handling in RDFa in HTML

On May 26, 2009, at 11:34, Philip Taylor wrote:

> Some possible solutions for this issue:
>
> * Change the HTML5 parsing algorithm so xmlns:foo gets local name  
> "foo" in the XML Namespaces namespace. (That seems very unlikely to  
> happen, because of backward-compatibility issues with existing  
> content.)
>
> * Add some ugly hacks in the serialisation process, e.g. find all  
> attributes named "xmlns:foo" and pretend they were called "foo" in  
> the XML Namespaces namespace while serialising.
>
> * Don't support XMLLiterals.
>
> * Discourage the use of xmlns:foo attributes, and replace them with  
> @prefix or something.


  * Defer to http://www.whatwg.org/specs/web-apps/current-work/#coercing-an-html-dom-into-an-infoset 
  (i.e. drop such attributes)

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

Received on Tuesday, 26 May 2009 11:12:59 UTC