You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cannot test if <xsl:message terminate="yes"/> is executed as expected. In the
current framework, it completely falls over, and the test is completely broken.
Since it is a part of the language, it would be good to be able to test for it.
Original issue reported on code.google.com by fou...@googlemail.com on 11 May 2012 at 2:02
The text was updated successfully, but these errors were encountered:
@yamahito and I were talking about this last night. One way could be to replace every xsl:message with an xsl:element that creates, say, either an xsl:message or an x:message element in the result. The @terminate would become an attribute of the created element. XSpec could then remove any output after a <*:message terminate="yes"> before evaluating any expectations.
However, this wouldn't work very well if the tested stylesheet wrote output to secondary output files and the expectations were against the content of those files.
Things could also break if the tested stylesheet had xsl:message before an xsl:attribute, but hopefully (a) most users would be able to change their stylesheets, and (b) creating the attribute before terminating isn't too computationally expensive for production use and doesn't introduce changes in external state that shouldn't happen when the transform fails.
innovimax
pushed a commit
to innovimax/xspec
that referenced
this issue
Jan 17, 2017
* Add test case for Windows batch script for issue expath#46 / pr expath#48
* Align batch script with shell script to mimic setup/teardown functions in batch script (82a3d49)
- Use the same output dir and file as the shell script for .gitignore to fully take effect on windows
Original issue reported on code.google.com by
fou...@googlemail.com
on 11 May 2012 at 2:02The text was updated successfully, but these errors were encountered: