Project

Profile

Help

Support #6578

open

FORG0002 not understood !

Added by Christophe Marchand 16 days ago. Updated 1 day ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
2024-11-05
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
12
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

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

support_6578.zip (12.5 KB) support_6578.zip Christophe Marchand, 2024-11-12 10:53

Please register to edit this issue

Also available in: Atom PDF