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
<?xml version="1.0" encoding="UTF-8"?>
<x:descriptionstylesheet="test.xsl"xmlns:x="http://www.jenitennison.com/xslt/xspec">
<x:scenariolabel="When a function returns a node containing a space">
<x:callfunction="exactly-one">
<x:paramhref="test.xml"select="element(p)" />
</x:call>
<x:expectlabel="Expecting no space should be Failure">
<p><span>foo</span><span>bar</span></p>
</x:expect>
</x:scenario>
</x:description>
x:expect should be Failure, but it is Success.
This is critical when testing mixed content such as HTML, DITA.
The text was updated successfully, but these errors were encountered:
test.xsl (does nothing)
test.xml (contains a whitespace-only text node between
<span>
)test.xspec (expects no space between
<span>
)x:expect
should be Failure, but it is Success.This is critical when testing mixed content such as HTML, DITA.
The text was updated successfully, but these errors were encountered: