2010/9/25 Leonard Wörteler <leonard.woerteler@uni-konstanz.de>
Hi again...

Am 25.09.2010 19:15, schrieb Godmar Back:
> declare variable $metadata as xs:anyAtomicType :=
> doc('libx2_meta')/metadata;

As you are querying the *element* metadata, the result can't be atomic

I realized that. I think the person writing the queries was confused about what atomic meant.
Still, 6.2.3 did not do those type checks/conversions.

 - Godmar