-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
If we look at the scripts provided for executing XSpec:
- Bash - https://github.com/expath/xspec/blob/master/bin/xspec.sh#L259
- Windows Batch - https://github.com/expath/xspec/blob/master/bin/xspec.bat#L73
- Ant - https://github.com/expath/xspec/blob/master/build.xml#L97
We see that each of them invoke Saxon to execute the XSpec. However, they also tell Saxon to set the input document to that of the original foo.xspec file, by using the -s: argument, even though they also set an initial named template for execution using the -it: argument.
This doesn't seem to make any sense to me. XSpec provides x:context for setting the context of a Scenario. Also I can't imagine why you would ever want a default implicit context which was the content of your XSpec.
Is this a mistake/bug or is this by intention? If this is by intention, then can someone please explain what the use-case is, as I can't see it yet!
Metadata
Metadata
Assignees
Labels
No labels