prev  ( testsuite > ErrorHandling > BadChildren > badPiecewise1  )  next

Alternatives: (mml file)  (full) (simple) (plain) (form) (slideshow)
File:ErrorHandling/BadChildren/badPiecewise1
CVS-ID:
Author:Design Science, Inc (D. Doyle)
Description:Test of bad piecewise children

Sample Rendering:

N/A

Your browser's rendering:

0 x 5 x y x

Source Code:


    <math xmlns="http://www.w3.org/1998/Math/MathML"> 
      <piecewise> 
        <piece> 
          <cn> 0 </cn> 
          <apply> 
            <lt/> 
            <ci> x </ci> 
            <cn> 5 </cn> 
          </apply> 
        </piece> 
        <foo> 
          <ci> x </ci> 
        </foo> 
        <otherwise> 
          <ci> y </ci> 
        </otherwise> 
        <otherwise> 
          <ci> x </ci> 
        </otherwise> 
      </piecewise> 
    </math>