From 397d810c59d1e7cfefb29944fa6e0eab15cc19ab Mon Sep 17 00:00:00 2001
From: Michael Kay
If R is a If R is a J is atomized to produce a sequence of atomic values
+ JJ. Each atomic value in JJ is coerced to the required
+ type R by recursive application of the item coercion rules (the
+ rules in this section) to produce a value V. The result is the sequence-concatenation of the V values. For example, if Otherwise, if R is a J
is an element with type annotation
+ xs:integer
, and R
is the union type xs:numeric
,
+ then the effect is to atomize the element to an xs:integer
, and then
+ to coerce the resulting xs:integer
to xs:numeric
+ (which leaves the integer unchanged). This is not the same as attempting to
+ coerce the element to each of the alternatives of the union type in turn, which
+ would deliver an instance of xs:double
.
If R is an