-
Notifications
You must be signed in to change notification settings - Fork 43
Installation on Windows
Sandro edited this page Jan 10, 2016
·
8 revisions
XSpec requires the Saxon XSLT and XQuery processor which can be downloaded from:
- Saxon HE (open source)
- Saxon PE/EE (commercial products)
For this installation the Saxon JAR (e.g. saxon9he.jar
) is assumed to be in C:\xspec
.
-
Clone the master branch of XSpec from GitHub:
git clone https://github.com/expath/xspec.git
For this installation both XSpec and Saxon are assumed to be in
C:\xspec
. -
Open
c:\xspec\bin\xspec.bat
in your favourite text editor and change the value on line 3 to the location of your Saxon JAR. For example:SET CP=C:\xspec\saxon9he.jar
-
Open up a command prompt, navigate to
C:\xspec\
and test the batch script with this command:xspec.bat
The output should be the following usage summary:
File not found. Usage: xspec filename [coverage] filename should specify an XSpec document if coverage is specified, outputs test coverage report
Congratulations! You have successfully installed XSpec!