Support #6578
openFORG0002 not understood !
0%
Description
Hello !
I'm a little bit rusty on Xslt, and I need some help !
I'm trying to compile Xslt from XSpec, and my problem comes on compiling schxslt implementation.
All source code is at https://github.com/xspec/xspec/tree/v3.1.2 and packaged into a jar file : https://repo1.maven.org/maven2/io/xspec/xspec/3.1.2/xspec-3.1.2.jar
I have a ResourceResolver
that is able to resolve URIs inside jar files, and this ResourceResolver
is set on the xsltCompiler
.
I compile my Xslt with :
xsltCompiler.compile(source);
where source' systemId
is jar:file:/Users/cmarchand/.m2/repository/io/xspec/xspec/3.1.2/xspec-3.1.2.jar!/io/xspec/xspec/impl/src/schematron/schut-to-xslt.xsl
schut-to-xslt.xsl
includes preprocessor.xsl
which calls resolve-uri
with a relative base-uri
: https://github.com/xspec/xspec/blob/9612f076a8923fc34389314a65b5da422b614d70/src/schematron/preprocessor.xsl#L23
And I get a :
Static error in xsl:variable/@select on line 23 column 76 of preprocessor.xsl: FORG0002 Error in variable expression. Base URI {../../lib/} is not an absolute URI
I need help, because I do not understand why ! And I have no idea where my problem is !
I use Saxon HE 12.4.
Thanks in advance, Christophe
Files
Please register to edit this issue