[Bug 17890] xml:base and xml:space allowed on foreign elements, but also forbidden

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17890

Ian 'Hixie' Hickson <ian@hixie.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |ian@hixie.ch
         Resolution|                            |FIXED

--- Comment #1 from Ian 'Hixie' Hickson <ian@hixie.ch> 2012-08-24 19:01:31 UTC ---
>   When a _foreign element_ has one of the namespaced attributes given by
>   the local name and namespace of the first and second cells of a row
>   from the following table, it must be written using the name given by
>   the third cell from the same row. . . xml:base . . . xml:space

This doesn't say whether the attribute is allowed or not, just what syntax must
be used if it is present.

Whether the attributes in question are allowed or not is up to the
specifications that define the elements in question (namely, SVG for SVG
elements, MathML for MathML elements, and HTML for HTML elements).

I've added a clarifying note to this effect.


>   Authors must not use the xml:base attribute in _HTML documents_.

This was written before HTML documents contained SVG and MathML nodes in the
text/html serialisation. I've updated this text to refer just to HTML elements.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Friday, 24 August 2012 19:01:37 UTC