Getting started with XSpec
Posted: Tue Aug 20, 2013 1:42 pm
Hi, I watched the recent Part 3 Webinar (http://www.youtube.com/watch?v=4O2DaFxE9qE) and looked at the help (http://www.oxygenxml.com/doc/ug-editorE ... xspec.html). They're both fine on how to set up a set of XSpec unit tests, and I am keen to get started, but they are both a bit vague about how you actually get the tests to run.
After creating my XSpec unit test using the wizard, if I click on the Apply Transformation Scenario(s) button, I am prompted to choose a transformation scenario. If I choose the one associated with the stylesheet under test, which is configured to apply the XSLT stylesheet to ${currentFileURL}, I get the following warning and nothing else happens:
"The source document is in namespace http://www.jenitennison.com/xslt/xspec, but all the template rules match elements in no namespace"
I think I'm missing a crucial step somewhere along the line, so I welcome any suggestions on how the transformation scenario should be set up. Cheers!
After creating my XSpec unit test using the wizard, if I click on the Apply Transformation Scenario(s) button, I am prompted to choose a transformation scenario. If I choose the one associated with the stylesheet under test, which is configured to apply the XSLT stylesheet to ${currentFileURL}, I get the following warning and nothing else happens:
"The source document is in namespace http://www.jenitennison.com/xslt/xspec, but all the template rules match elements in no namespace"
I think I'm missing a crucial step somewhere along the line, so I welcome any suggestions on how the transformation scenario should be set up. Cheers!