[Bug 25104] The RelaxNG schema should recognize more encoding values for the <annotation-xml> element

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

--- Comment #8 from David Carlisle <davidc@nag.co.uk> ---
(In reply to David Carlisle from comment #7)

oops.
> 
> In text/html parsing things are as usual rather more murky.

I got that part right:-)

> 
> This means for example that if you want to put SVG in the annotation-xml you
> need to use encoding application/xhtml+xml because then the html parser sees
> <svg> and automatically puts things back in foreign content in svg namespace
> and things work. If you put any SVG-related value for the encoding the
> elements will be parsed as unknown elements in the MathML namespace. 


I got that part wrong: <svg> is also recognised as svg in MathML (foreign
content parsing)

However it is still basically true that in text/html there are only really two
useful values for encoding, text/html and application/xhtml+xml. Any other
value has the same effect as not having the encoding attribute at all.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 21 March 2014 09:51:06 UTC