<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>5570</bug_id>
          
          <creation_ts>2008-03-13 21:13:05 +0000</creation_ts>
          <short_desc>mathml and namespaces</short_desc>
          <delta_ts>2008-03-14 13:12:16 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Validator</product>
          <component>check</component>
          <version>HEAD</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="pjm">pjmaip</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>19466</commentid>
    <comment_count>0</comment_count>
    <who name="pjm">pjmaip</who>
    <bug_when>2008-03-13 21:13:05 +0000</bug_when>
    <thetext>After trying numerous examples from the web, wondering if this is a bug.
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN&quot; &quot;http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd&quot;&gt;

&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;;
  xmlns:m=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;
  &lt;head&gt;
    &lt;title&gt;
      Using XHTML and MathML Together
    &lt;/title&gt;
  &lt;/head&gt;

  &lt;body&gt;
    &lt;center&gt;
      &lt;h1&gt;
        Using XHTML and MathML Together
      &lt;/h1&gt;
    &lt;/center&gt;
    &lt;br/&gt;
    Consider the equation
&lt;m:math&gt;   
  &lt;m:mfrac&gt; &lt;m:mi&gt;a&lt;/m:mi&gt; &lt;m:mn&gt;2&lt;/m:mn&gt;  &lt;/m:mfrac&gt;  
&lt;/m:math&gt;  

   &lt;br/&gt;
    What, you may ask, are this equation&apos;s roots?
  &lt;/body&gt;
&lt;/html&gt;

If one tries to validate with a namespace, the validator never seems to accept mathml namespace. Note: numerous examples were tried from numerous sources, all failed. Yes, possible all were incorrect, since MathML is very new :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19469</commentid>
    <comment_count>1</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2008-03-14 02:29:00 +0000</bug_when>
    <thetext>The DTD used for this xhtml+mathml profile is rather limited, because it&apos;s not really namespace aware.

You may have more luck copying the example from the spec:
http://www.w3.org/TR/XHTMLplusMathMLplusSVG/sample.xhtml
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19474</commentid>
    <comment_count>2</comment_count>
    <who name="pjm">pjmaip</who>
    <bug_when>2008-03-14 13:12:16 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; The DTD used for this xhtml+mathml profile is rather limited, because it&apos;s not
&gt; really namespace aware.
&gt; 
&gt; You may have more luck copying the example from the spec:
&gt; http://www.w3.org/TR/XHTMLplusMathMLplusSVG/sample.xhtml
&gt; 
Perfect example...and it shows the problem:
&lt;p&gt;Math expression in display style:&lt;/p&gt;
&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot; display=&quot;block&quot;&gt;
  &lt;mfrac&gt; &lt;mi&gt;a&lt;/mi&gt; &lt;mn&gt;2&lt;/mn&gt;  &lt;/mfrac&gt;  
&lt;/math&gt;

&lt;h2 id=&quot;svg&quot;&gt;SVG sample&lt;/h2&gt;
&lt;p&gt;
  &lt;svg:svg xmlns:svg=&quot;http://www.w3.org/2000/svg&quot; width=&quot;10cm&quot; height=&quot;8cm&quot;
    viewBox=&quot;0 0 500 400&quot; version=&quot;1.1&quot;&gt;
    &lt;svg:title&gt;A star&lt;/svg:title&gt;
    &lt;svg:polygon style=&quot;fill:red; stroke:blue; stroke-width:10&quot;
                 points=&quot;210,46 227,96 281,97 238,129
                         254,181 210,150 166,181 182,129
                         139,97 193,97&quot;/&gt;
  &lt;/svg:svg&gt; 
&lt;/p&gt;
&lt;h2 id=&quot;math_w_namespace&quot;&gt;Math with namespace, same as above&lt;/h2&gt;
&lt;p&gt;
	&lt;m:math xmlns:m=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;
  		&lt;m:mfrac&gt; &lt;m:mi&gt;a&lt;/m:mi&gt; &lt;m:mn&gt;2&lt;/m:mn&gt;  &lt;/m:mfrac&gt;  
	&lt;/m:math&gt;
&lt;/p&gt;

The first example with math works w/o a namespace prefix. The second example with svg works with namespace prefix. The last example with math does not work when using namespace prefix???
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>