W3C home > Mailing lists > Public > www-validator@w3.org > June 2010

Re: HTML OK in <mtext> but not in <annotation-xml>, etc. [was: HTML5 with MathML has problem with numerical attrubute values]

From: Joe Java <cop3252@yahoo.com>
Date: Mon, 14 Jun 2010 09:24:13 -0700 (PDT)
Message-ID: <459779.97801.qm@web34402.mail.mud.yahoo.com>
To: "Michael\(tm\) Smith" <mike@w3.org>
Cc: www-validator@w3.org
Hello Mike,

> I think you can get those pages to validate if you replace
> the
> instances of <semantics><annotation-xml> with
> just <mtext>; e.g.:
>   <mtext>
>     <img xmlns="http://www.w3.org/1999/xhtml"
>     src="http://www.mozilla.org/images/logo-star.gif" alt="star
> logo" />
>   </mtext>

Thank you, your suggestion worked perfectly now
validate at 

The only strangeness was that when an 'input' tag is inside a 'mtext'
tag the compiler complains about an 'alt' attribute being used by the 
'input' tag.

For example
    <input xmlns="http://www.w3.org/1999/xhtml" id="input12" 
                  value="?" size="1" alt="?" />

does not validate but 

    <input xmlns="http://www.w3.org/1999/xhtml" id="input12" 
                  value="?" size="1"/>



Received on Monday, 14 June 2010 16:24:47 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:01 UTC