<!-- this is a comment -->


<OMOBJ>
  <OMA>
    <OMS cd="relation1" name="eq"/>
    <OMA>
      <OMS cd="linalg1" name="transpose"/>
      <OMA>
        <OMS cd="linalg2" name="matrix"/>
        <OMA>
          <OMS cd="linalg2" name="matrixrow"/>
          <OMI> 0 </OMI>
          <OMI> 1 </OMI>
        </OMA>
        <OMA>
          <OMS cd="linalg2" name="matrixrow"/>
          <OMI> 2 </OMI>
          <OMI> 3 </OMI>
        </OMA>
      </OMA>
    </OMA>
    <OMA>
      <OMS cd="linalg2" name="matrix"/>
      <OMA>
        <OMS cd="linalg2" name="matrixrow"/>
        <OMI> 0 </OMI>
        <OMI> 2 </OMI>
      </OMA>
      <OMA>
        <OMS cd="linalg2" name="matrixrow"/>
        <OMI> 1 </OMI>
        <OMI> 3 </OMI>
      </OMA>
    </OMA>
  </OMA>
</OMOBJ>



<OMOBJ>
 <OMA>
  <OMS cd="arith1" name="times"/>
  <OMA>
   <OMS cd="linalg2" name="matrix"/>
   <OMA>
    <OMS cd="linalg2" name="matrixrow"/>
    <OMI> 1 </OMI>
    <OMI> 2 </OMI>
   </OMA>
   <OMA>
    <OMS cd="linalg2" name="matrixrow"/>
    <OMI> 3 </OMI>
    <OMI> 4 </OMI>
   </OMA>
  </OMA>
  <OMA>
   <OMS cd="linalg2" name="matrix"/>
   <OMA>
    <OMS cd="linalg2" name="matrixrow"/>
    <OMI> 5 </OMI>
    <OMI> 6 </OMI>
   </OMA>
   <OMA>
    <OMS cd="linalg2" name="matrixrow"/>
    <OMI> 7 </OMI>
    <OMI> 8 </OMI>
   </OMA>
  </OMA>
 </OMA>
</OMOBJ>



<OMOBJ>
  <OMA>
  <OMS cd="linalg1" name="vector_selector"/>
    <OMI>2</OMI>
    <OMA>
    <OMS cd="linalg2" name="vector"/>
      <OMI> 3 </OMI>
      <OMI> 6 </OMI>
      <OMI> 9 </OMI>
    </OMA>
  </OMA>
</OMOBJ>



<OMOBJ>
 <OMA>
  <OMS cd="minmax1" name="max"/>
  <OMA>
   <OMS cd="set1" name="set"/>
   <OMI> 1 </OMI>
   <OMI> 9 </OMI>
   <OMI> 5 </OMI>
  </OMA>
 </OMA>
</OMOBJ>



<OMOBJ>
 <OMA>
  <OMS cd="minmax1" name="min"/>
  <OMA>
   <OMS cd="set1" name="set"/>
   <OMI> 1 </OMI>
   <OMI> 9 </OMI>
   <OMI> 5 </OMI>
  </OMA>
 </OMA>
</OMOBJ>



<?xml version="1.0" encoding="UTF-8"?>
<OMOBJ>
 <OMS cd="nums1" name="i"/>
</OMOBJ>



<?xml version="1.0" encoding="UTF-8"?>

<OMOBJ>
 <OMS cd="nums1" name="infinity"/>
</OMOBJ>



<!-- the following is a set -->


<OMOBJ>
  <OMA>
    <OMS cd="set1" name="set"/>
    <OMI> 3 </OMI>
    <OMI> 6 </OMI>
    <OMI> 9 </OMI>
  </OMA>
</OMOBJ>



<!-- the following is the same set as before -->


<OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0" cdbase="http://www.openmath.org/cd">
  <OMA>
    <OMS cd="set1" name="set"/>
    <OMI> 3 </OMI>
    <OMI> 6 </OMI>
    <OMI> 9 </OMI>
  </OMA>
</OMOBJ>



<!-- this is an object inside a comment, and is supposed to be ignored

<OMOBJ>
  <OME>
    <OMS cd="error" name="unhandled_symbol"/>
    <OMS cd="setname1" name="C"/>
  </OME>
</OMOBJ>

-->




<OMOBJ>
  <OMA>
    <OMS cd="set1" name="set"/>
    <OMI> 3 </OMI>
<!-- this is a comment inside an object -->
    <OMI> 6 </OMI>
    <OMI> 9 </OMI>
  </OMA>
</OMOBJ>



<!-- the following are supposed to generate errors -->



<OMOBJ>
  <OME>
    <OMS cd="error" name="unhandled_symbol"/>
    <OMS cd="setname1" name="C"/>
  </OME>
</OMOBJ>



<OMOBJ>
  <OME>
    <OMS cd="error" name="unexpected_symbol"/>
    <OMS cd="arith1" name="plurse"/>
  </OME>
</OMOBJ>



<OMOBJ>
  <OME>
    <OMS cd="error" name="unsupported_CD"/>
    <OMS cd="specfun1" name="BesselJ"/>
  </OME>
</OMOBJ>


<!-- end of file -->

