Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schematron tests not compiled when XSpec is in UNC #1799

Open
AirQuick opened this issue Oct 25, 2023 · 0 comments
Open

Schematron tests not compiled when XSpec is in UNC #1799

AirQuick opened this issue Oct 25, 2023 · 0 comments

Comments

@AirQuick
Copy link
Member

Looks like Saxon (or Java?) does not work well with UNC and @xml:base (and resolve-uri()?).

C:\>java -version
java version "1.8.0_381"
Java(TM) SE Runtime Environment (build 1.8.0_381-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.381-b09, mixed mode)

C:\>set SAXON_CP=C:\Users\WDAGUtilityAccount\Desktop\SaxonHE12-3J\saxon-he-12.3.jar

C:\>\\localhost\C$\Users\WDAGUtilityAccount\Desktop\xspec\bin\xspec.bat -s C:\Users\WDAGUtilityAccount\Desktop\xspec\tutorial\schematron\demo-01.xspec

Converting Schematron into XSLT...
Type error in xsl:variable/@select on line 23 column 75 of preprocessor.xsl:
  XTDE0050  An empty sequence is not allowed as the value of variable $x:schematron-preprocessor
An empty sequence is not allowed as the value of variable $x:schematron-preprocessor

*** Error converting Schematron into XSLT

C:\>set SAXON_CP=C:\Users\WDAGUtilityAccount\Desktop\SaxonHE9-9-1-8J\saxon9he.jar

C:\>\\localhost\C$\Users\WDAGUtilityAccount\Desktop\xspec\bin\xspec.bat -s C:\Users\WDAGUtilityAccount\Desktop\xspec\tutorial\schematron\demo-01.xspec

Converting Schematron into XSLT...
Type error in xsl:variable/@select on line 23 column 75 of preprocessor.xsl:
  XTDE0050: An empty sequence is not allowed as the value of variable $x:schematron-preprocessor
An empty sequence is not allowed as the value of variable $x:schematron-preprocessor

*** Error converting Schematron into XSLT
@AirQuick AirQuick added this to the v3.0 milestone Oct 25, 2023
@galtm galtm removed this from the v3.0 milestone Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants