[Bug 5055] 1.0.3dev: emptyorderdecl-2, ForExprType049

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5055





------- Comment #5 from nick@cbcl.co.uk  2007-10-02 11:03 -------
for $test as xs:decimal in data($input-context/root/InterleaveType/*)
return $test

should be fine.

The problem wasn't with the quantifier, but with knowing $test was xs:decimal
rather than xs:untypedAtomic, which we fixed by rewriting the "declare variable
$input-context external" with a "as document-node(schema-element(root))" so it
gets the schema types.

Received on Tuesday, 2 October 2007 11:03:24 UTC