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

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 UTC