W3C home > Mailing lists > Public > www-validator-cvs@w3.org > March 2014

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

From: <bugzilla@jessica.w3.org>
Date: Fri, 21 Mar 2014 09:51:04 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-25104-169-xQ6jMbevPM@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:56 UTC