Locate the Problems

  • An XML validator identifies the cause and location of problems within the output.
    System call: xmllint --noout --valid test-94se1.xml  
    test-94se1.xml:59: parser error : Opening and ending tag mismatch: math line 25 and mrow  
    class="MathClestass-close">)</mo></mrow></mrow><mo class="MathClass-close" fence="t  
                                                ^

  • The XML file shows the corresponding location ‘<!--l. number-->’ in the source.
    <!--l. 18--><math  
     xmlns="http://www.w3.org/1998/Math/MathML" display="block" ><msub><mrow  
    >  
    <mi  
    >D</mi></mrow><mrow  
    ><mi  
    >l</mi></mrow></msub  
    > <mo  
    class="MathClass-rel">=</mo><munder class="msub"><mrow  
    ><mo mathsize="big"  
    > &#x2211;</mo>  
       </mrow><mrow  
    ><msub><mrow  
    ><mi  
    >I</mi></mrow><mrow  
    ><mi  
    >l</mi></mrow></msub  
    ><mo  
    class="MathClass-rel">&#x2286;</mo><mstyle mathvariant="bold"><mi  
    >n</mi></mstyle></mrow></munder  
    ><mi  
    >D</mi><mrow><mo  
    class="MathClass-open">(</mo><mrow><msub><mrow  
    ><mi  
    >t</mi></mrow><mrow  
    ><mn>1</mn></mrow></msub  
    ><mo  
    class="MathClass-punc">,</mo><mo>&#x2026;</mo><mo  
    class="MathClass-punc">,</mo><msub><mrow  
    ><mi  
    >t</mi></mrow><mrow  
    ><mi  
    >n</mi></mrow></msub  
    ></mrow><mo

    test-94se1.xml line 59:

    class="MathClass-close">)</mo></mrow></mrow><mo class="MathClass-close" fence="true" mathsize="1.61em" >&#x2223;</mo></mrow><msub><mrow  
    ></mrow><mrow  
    ><msub><mrow  
    >  
    <mi  
    >t</mi></mrow><mrow  
    ><mi  
    >i</mi></mrow></msub  
    ><mo  
    class="MathClass-rel">=</mo><mfenced separators=""  
    open="{"  close="" ><mrow><mtable><mtr  
    class="smallmatrix">  
    <mtd><mn>0</mn><mo  
    class="MathClass-punc">,</mo></mtd>  
    <mtd><!--mstyle  
    class="text"--><mtext >if&#x00A0;</mtext><!--/mstyle--><mi  
    >i</mi><mo  
    class="MathClass-rel">&#x2208;</mo><msub><mrow  
    ><mi  
    >I</mi></mrow><mrow  
    ><mi  
    >l</mi></mrow></msub  
    ><mspace width="1em" class="quad"/></mtd>  
    </mtr><mtr  
    class="smallmatrix">  
    <mtd><mn>1</mn><mo  
    class="MathClass-punc">,</mo></mtd>  
    <mtd><!--mstyle  
    class="text"--><mtext >otherwise</mtext><!--/mstyle--></mtd>  
        </mtr>                                                                                                        </mtable></mrow></mfenced><mspace width="2.77695pt" class="tmspace"/><mo  
    class="MathClass-punc">,</mo><mspace width="2.77695pt" class="tmspace"/><mspace width="2.77695pt" class="tmspace"/><mi  
    >i</mi><mo  
    class="MathClass-rel">=</mo><mn>1</mn><mo  
    class="MathClass-punc">,</mo><mo>&#x2026;</mo><mo  
    class="MathClass-punc">,</mo><mi  
    >n</mi></mrow></msub  
    ><mo  
    class="MathClass-punc">.</mo>  
    </math>

25, next, prev, up, toc