Priority of overriding template rules

§3.5.4, list item 1, says:

Rules declared within P (specifically, xsl:template rules declared as children of the xsl:override element within the xsl:use-package element that references package Q). If there are multiple rules declared within P that match a selected node, the last one in declaration order wins.

It should say:

Rules declared within P (specifically, xsl:template rules declared as children of an xsl:override element within the xsl:use-package element that references package Q). If there are multiple rules declared within P that match a selected node, they are resolved on the basis of their explicit or implicit priority, and if the priorities are equal, the last one in declaration order wins.

Since we already fixed another instance of the same error as part of bug 29210, I’m going to make this change and tag it as part of the resolution of that bug.

Michael Kay
Saxonica

Received on Sunday, 25 October 2015 13:30:33 UTC