I have a scenario where I need to test that nothing was changed. So I reference in context@select
and expect@select
to the same element.
<x:scenario label="Scenario for testing template with match 'tuplet'">
<x:scenario label="@num.visible preserved">
<x:param href="input/input_4.xml" name="global-context-item"/>
<x:context mode="enable.tuplet.nums" select="$global-context-item/id('dir_22245')"/>
<x:expect label="supplied with content will be preserved." select="$global-context-item/id('dir_22245')"/>
</x:scenario>
</x:scenario>```
The test fails because new lines are added:
[![oXygen Diff][2]][2]
I use oXygen XML Editor 25.0 and Xspec framework v2.2.6
[2]: https://i.stack.imgur.com/J7cE8.png