Skip to content

Commit

Permalink
Always provide xs:boolean in $impl:successful expression (expath#48)
Browse files Browse the repository at this point in the history
* close expath#46
  • Loading branch information
AirQuick authored and Sandro Cirulli committed Jan 8, 2017
1 parent 2a7057b commit 187f157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/generate-xspec-tests.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@
<variable name="impl:boolean-test" as="xs:boolean"
select="$impl:test-result instance of xs:boolean" />
<variable name="impl:successful" as="xs:boolean"
select="if ($impl:boolean-test) then $impl:test-result
select="if ($impl:boolean-test) then $impl:test-result cast as xs:boolean
else test:deep-equal($impl:expected, $impl:test-result, {$version})" />
</xsl:when>
<xsl:otherwise>
Expand Down

0 comments on commit 187f157

Please sign in to comment.