Re: Authoring Requirements for Using SVG and MathML in HTML Documents

On Sun, 6 Sep 2009, Lachlan Hunt wrote:
> * The section about the case sensitivity of tag names isn't clear if it
>   applies to HTML elements only, or all elements.


> * The section about case sensitivity of attribute names could be made
>   clearer that it also applies to foreign elements.


> * XLink attributes on foreign elements are required to use "xlink" as
>   the prefix, rather than allowing anything like in XML.


> * The requirement on the values of xmlns:xlink attributes and other
>   xmlns attributes used on foreign elements to use the specific
>   namespaces, and that declaring other namespaces is not permitted.

This is effectively fixed now, assuming that the XMLNS spec prevents 
attributes in the XMLNS namespace from being placed in ways that would be 
contradictory to their semantics (e.g. assuming it's not legal to have an 
xmlns="" attribute in the XMLNS namespace on an element 
without a prefix and that is in another namespace).

> * Declaring the xmlns and xmlns:xlink attributes on foreign elements is
>   optional, even if xlink attributes are used.

Isn't this a given? What would require them?

> * Foreign elements are also permitted to use the attributes
>   xlink:actuate, xlink:arcrole, xlink:href, xlink:role, xlink:show,
>   xlink:title, xlink:type, xml:base, xml:lang and xml:space, but must
>   use those prefixes.  Also note that these do end up in the
>   appropriate namespaces when used on foreign elements, unlike the use
>   of xml:lang on HTML elements.


Ian Hickson               U+1047E                )\._.,--....,'``.    fL       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Monday, 5 October 2009 00:27:08 UTC