W3C home > Mailing lists > Public > public-qt-comments@w3.org > October 2007

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

From: <bugzilla@wiggum.w3.org>
Date: Tue, 02 Oct 2007 11:03:16 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1IcfX2-00007d-QE@wiggum.w3.org>

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:20 UTC