Static Error on Windows

10 views
Skip to first unread message

ol sp

unread,
Oct 20, 2021, 3:56:50 AM10/20/21
to XSpec
Hi,
I followed the instructions for installation on Windows (cloned the master branch this week). However, running the test from the command line I get a bunch of errors,

Creating Test Stylesheet...                                                                                                  
Static error at xsl:global-context-item on line 16 column 67 of main.xsl:                                                     
XTSE0010: Element xsl:global-context-item must not appear directly within xsl:stylesheet

.......
Static error at xsl:context-item on line 24 column 57 of report-utils.xsl:
XTSE0010: Unknown XSLT element: context-item Errors were reported during stylesheet compilation                                                                                                                                          *** Error compiling the test suite 

The .xspec file is correct and works fine in oXygens Add-on. Also I am able to transform the tested XSLT-stylesheet with saxon9he.jar which is used for running the XSpec test.
So what could be the problem?

ol sp

unread,
Oct 20, 2021, 5:43:19 AM10/20/21
to XSpec
Ok. I see, my version of Saxon is not supported yet.

ol sp

unread,
Oct 20, 2021, 5:43:49 AM10/20/21
to XSpec
I meant, "deprecated"

Sandro Cirulli

unread,
Nov 8, 2021, 9:45:19 AM11/8/21
to xspec...@googlegroups.com
Note that the lowest Saxon version currently supported is 9.8. Saxon 9.8 will also be fully deprecated in the next XSpec release (see announcement at https://github.com/xspec/xspec/releases/tag/v2.2.4) so I'd recommend to use a more recent version of Saxon like Saxon 10 or 9.9 which are fully tested to run on XSpec.

Sandro  

--
You received this message because you are subscribed to the Google Groups "XSpec" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xspec-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xspec-users/2f35f170-3fd2-4240-a3c2-11116882334dn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages