I can not find the original test case any more.
I also double checked and there are no FOTS failures caused by this issue: have to remove the "fots" TAG.
Here, the FOTS driver does not "know" the type of the variable (without scanning the test off course) so
all the FOTS driver can do is bind the variable as
xqxq:bind-variable( $queryID, xs:QName("ext"), "5");
But this will fail because the correct declaration (in the current XQXQ version) should be:
xqxq:bind-variable( $queryID, xs:QName("ext"), xs:integer(5));
I can not find the original test case any more.
I also double checked and there are no FOTS failures caused by this issue: have to remove the "fots" TAG.
Let's assume this test-case:
<test-case name="example"> /environment>
<assert- type>xs: integer< /assert- type>
<environment>
<param name="ext" select="5" declared="true"/>
<
<test>declare variable $ext as xs:integer external := 0; $ext</test>
<result>
</result>
</test-case>
Here, the FOTS driver does not "know" the type of the variable (without scanning the test off course) so
all the FOTS driver can do is bind the variable as
xqxq:bind-variable( $queryID, xs:QName("ext"), "5");
But this will fail because the correct declaration (in the current XQXQ version) should be:
xqxq:bind-variable( $queryID, xs:QName("ext"), xs:integer(5));
HTH.