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
https://eyeasme.com/Joe/MathML/HTML5/basics.html
and
https://eyeasme.com/Joe/MathML/HTML5/extras.html
validate at 
http://qa-dev.w3.org:8888

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
  <mtext>
    <input xmlns="http://www.w3.org/1999/xhtml" id="input12" 
                  value="?" size="1" alt="?" />
  </mtext>

does not validate but 

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

does.

   Joe



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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:41 GMT