#1240 MathML is not passed through under some circumstances

closed-fixed
XSL (1066)
5
2014-01-20
2012-05-08
No

SVN revision 9176 clipped two templates from fo/math.xsl. As a result, non-image MathML markup is no longer passed through, and causes errors of the sort "Element math in namespace 'http://www.w3.org/1998/Math/MathML' encountered in equation, but no template matches." A minimal example is from "DocBook XSL: The Complete Guide":
<article xmlns:mml="http://www.w3.org/1998/Math/MathML">
<equation>
<title>My MathML example</title>
<mml:math>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
<mml:mn>4</mml:mn>
<mml:mo>+</mml:mo>
<mml:mi>x</mml:mi>
</mml:mrow>
</mml:math>
</equation>
</article>

Putting the two templates back works correctly as it used to.

Discussion

  • Robert Stayton

    Robert Stayton - 2012-05-24
    • assigned_to: nobody --> bobstayton
    • status: open --> pending-fixed
     
  • Robert Stayton

    Robert Stayton - 2012-05-24

    Indeed, these should have remained in place for equation elements when the graphic templates were revised. I've restored them, and all seems well now.

     
  • Robert Stayton

    Robert Stayton - 2012-05-24

    A fix for this issue has been added to the current codebase.
    Please test the fix with the latest snapshot from:

    http://docbook.sourceforge.net/snapshots/

     
  • Robert Stayton

    Robert Stayton - 2014-01-20
    • Status: pending-fixed --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks