Menu

#175 unsupported use of "certainty" in trans-numnoncongruent.xml

9.2
done
guidelines (13)
5(medium)
2020-06-16
2019-10-22
Tom Elliott
No

While generating examples for the Guidelines, saxon reports the following error:

"no template in teicertainty.xsl for your use of certainty"

The only file that triggers these errors is trans-numnoncongruent.xml

Some code forensics will be needed to figure out which element/attribute/value combination(s) are causing the problem. Modifications either to the examples or to the tei-certainty templates in the example guidelines may be required.

Discussion

  • BODARD Gabriel

    BODARD Gabriel - 2019-10-23

    This is due to a line of code in the stylesheet teicertainty.xsl that (uniquely in the EpiDoc xsl to my knowledge) throws <xsl:message> (not exactly an error) when to match is found in the various <xsl:when>s of a <xsl:choose>. Anywhere else the test just fails elegantly (i.e. does nothing, or apply-templates, vel sim.), which I think is preferable.

    The question is, do we want to cater for all possible uses of <certainty/> (or at least all those in the Guidelines examples) in the Reference Stylesheets, or do we just want to make them available for custoization by people who really want to use them?

    Perhaps a better question is, how would we expect the examples in trans-numnoncongruent to look? I think they are right as they are, although perhaps an apparatus note should be generated (but the GLs aren't able to illustrate that at the moment).

     
  • Tom Elliott

    Tom Elliott - 2020-01-21
    • status: unread --> accepted
    • assigned_to: Tom Elliott
     
  • Tom Elliott

    Tom Elliott - 2020-01-21
    • Group: future --> 9.2
     
  • BODARD Gabriel

    BODARD Gabriel - 2020-06-16

    My proposal is to remove the <xsl:message> construct from the Stylesheets, so this error no longer arises. Will implement.

     
  • BODARD Gabriel

    BODARD Gabriel - 2020-06-16
    • assigned_to: Tom Elliott --> BODARD Gabriel
     
  • BODARD Gabriel

    BODARD Gabriel - 2020-06-16

    Commented out <xsl:otherwise> that contained the <xsl:message> construct in teicertainty.xsl. Committed at github-3ec22ba.

     
  • BODARD Gabriel

    BODARD Gabriel - 2020-06-16
    • status: accepted --> done
     

Log in to post a comment.