This repository has been archived by the owner on Nov 2, 2020. It is now read-only.
The "document-uri" variable is invalid for "xslt1" query binding #47
Labels
bug
Description of a bug
In the
iso_schematron_skeleton_for_saxon.xsl
the value of thedocument-uri
variable is<axsl:value-of select="document-uri(/)" />
.But if you create a Schematron file with the query binding set to "xslt1", and compile it using
iso_schematron_skeleton_for_saxon.xsl
styleseet, the file will not be valid because thedocument-uri()
function is not available in XSLT1.I propose a modification in the
iso_schematron_skeleton_for_saxon.xsl
styleseet, to generate the value of thedocument-uri
variable only if is not XSLT1 query binding.Change this line from
iso_schematron_skeleton_for_saxon.xsl
styleseet:in
The text was updated successfully, but these errors were encountered: