Sign in
eclipse
/
sourceediting
/
webtools.sourceediting.xpath.tests
/
59e1b2bb09bf041229370edf54afbaf3d2cb743e
/
.
/
tests
/
org.w3c.xqts.testsuite
/
Queries
/
XQuery
/
Expressions
/
exprSeqTypes
/
SeqExprCastWithinBranch
/
cast-within-1.xq
blob: 93ac0a73287046c91b7ebe9fdc6dc141666d0c79 [
file
] [
log
] [
blame
]
(: name : cast-within-1 :)
(: description :Casting from integer to nonPositiveInteger.:)
(: insert-start :)
declare
variable
$input-context1
external
;
(: insert-end :)
let
$value
:=
xs:integer
(-10.0)
return
$value
cast
as
xs:nonPositiveInteger