Index

testsuite:errorhandling:badchildren:badbvar1

badBvar1

A comprehensive test of bvar syntax

<!DOCTYPE math PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd">
<math xmlns="http://www.w3.org/1998/Math/MathML">
  <mtable>
    <mtr>
      <mtd>
        <mtext>correct:</mtext>
      </mtd>
      <mtd>
        <bvar>
          <ci>x</ci>
        </bvar>
      </mtd>
    </mtr>
    <mtr>
      <mtd>
        <mtext>correct w/ degree</mtext>
      </mtd>
      <mtd>
        <bvar>
          <ci>x</ci>
          <degree>
            <cn>2</cn>
          </degree>
        </bvar>
      </mtd>
    </mtr>
    <mtr>
      <mtd>
        <mtext>missing &lt;ci&gt;:</mtext>
      </mtd>
      <mtd>
        <bvar/>
      </mtd>
    </mtr>
    <mtr>
      <mtd>
        <mtext>missing &lt;ci&gt; w/ degree:</mtext>
      </mtd>
      <mtd>
        <bvar>
          <degree>
            <cn>2</cn>
          </degree>
        </bvar>
      </mtd>
    </mtr>
    <mtr>
      <mtd>
        <mtext>2 &lt;ci&gt;s</mtext>
      </mtd>
      <mtd>
        <bvar>
          <ci>x</ci>
          <ci>y</ci>
        </bvar>
      </mtd>
    </mtr>
    <mtr>
      <mtd>
        <mtext>2 w/ degree</mtext>
      </mtd>
      <mtd>
        <bvar>
          <ci>x</ci>
          <ci>y</ci>
          <degree>
            <cn>2</cn>
          </degree>
        </bvar>
      </mtd>
    </mtr>
    <mtr>
      <mtd>
        <mtext>&#x003c;mi/&#x0003E;used</mtext>
      </mtd>
      <mtd>
        <bvar>
          <mi>x</mi>
        </bvar>
      </mtd>
    </mtr>
    <mtr>
      <mtd>
        <mtext>&#x003c;mi/&#x0003E;used w/ degree</mtext>
      </mtd>
      <mtd>
        <bvar>
          <mi>x</mi>
          <degree>
            <cn>2</cn>
          </degree>
        </bvar>
      </mtd>
    </mtr>
    <mtr>
      <mtd>
        <mtext>missing &lt;ci&gt;, 2 degrees</mtext>
      </mtd>
      <mtd>
        <bvar>
          <degree>
            <cn>4</cn>
          </degree>
          <degree>
            <cn>2</cn>
          </degree>
        </bvar>
      </mtd>
    </mtr>
  </mtable>
</math>

Author: Design Science, Inc. (D. Doyle)

testsuite/errorhandling/badchildren/badbvar1.txt · Last modified: 2015/12/22 12:19 (external edit)