You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 2, 2020. It is now read-only.
Section 9.5 (Global Variables and Parameters) of the XSLT 2.0 specification reads:
If a stylesheet contains more than one binding for a global variable of a particular name, then the binding with the highest import precedence is used.
[ERR XTSE0630] It is a static error if a stylesheet contains more than one binding of a global variable with the same name and same import precedence, unless it also contains another binding with the same name and higher import precedence.
Running the stylesheet with Saxon rightfully results in XTSE0630:
Static error at xsl:variable on line 198 column 59 of schema.sch-compiled.xsl:
XTSE0630: Duplicate global variable/parameter declaration (see line 224 of
file:///D:/Home/tmp/report/schema.sch-compiled.xsl)
Given the following Schematron:
The Skeleton implementation creates the following XSLT 2.0 stylesheet with two global variables with the same name:
Section 9.5 (Global Variables and Parameters) of the XSLT 2.0 specification reads:
Running the stylesheet with Saxon rightfully results in XTSE0630:
To reproduce run https://github.com/dmj/schxslt/blob/master/tests/impl/let/let-scope-02.xspec with the skeleton implementation.