Menu

#110 "Ambiguous rule match" for mode="label.markup" templates

v1.0 (example)
closed-fixed
Guillon
XSL (1)
5
2015-05-15
2015-05-08
No

There are some "Ambiguous rule match" warnings when running dblatex 0.3.5 with saxon-6-5-5.
Introducing 'priority="2"' in xsl/common/labels.xsl at the concerned templates is a crude work around.

  • Ambiguous rule match for /article[1]/section[3]/section[3]
    Matches both "part|chapter|appendix|sect1|sect2|sect3|sect4|sect5|section" on line 1055 of file:dblatex-0.3.5/xsl/xref.xsl
    and "section" on line 231 of file:dblatex-0.3.5/xsl/common/labels.xsl
  • Ambiguous rule match for /article[1]/section[3]/section[4]/section[1]/figure[1]
    Matches both "figure|example|table|equation" on line 1061 of file:dblatex-0.3.5/xsl/xref.xsl
    and "figure|table|example" on line 632 of file:dblatex-0.3.5/xsl/common/labels.xsl

There may be futher such problems, which are not triggered by my docbook document.

Discussion

  • Guillon

    Guillon - 2015-05-15
    • status: open --> closed-fixed
    • assigned_to: Guillon
     
  • Guillon

    Guillon - 2015-05-15

    Thanks for the feedback. It should be fixed in release 0.3.6.

     

Log in to post a comment.