summaryrefslogtreecommitdiffstats
path: root/tests/auto/xmlpatterns/queries/externalVariable.xq
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/xmlpatterns/queries/externalVariable.xq')
-rw-r--r--tests/auto/xmlpatterns/queries/externalVariable.xq2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/xmlpatterns/queries/externalVariable.xq b/tests/auto/xmlpatterns/queries/externalVariable.xq
new file mode 100644
index 0000000..edff16e
--- /dev/null
+++ b/tests/auto/xmlpatterns/queries/externalVariable.xq
@@ -0,0 +1,2 @@
+declare variable $externalVariableAsInt as xs:integer := xs:integer($externalVariable);
+$externalVariable, $externalVariableAsInt + 3, <e>{$externalVariable}</e>, $externalVariable instance of xs:string