[MarkLogic Dev General] Bug in XCC - lone attributesreportingas
lists at fgeorges.org
Tue Mar 2 16:35:21 PST 2010
Geert Josten wrote:
> But indeed it would be better if it were capable of returning the
> xquery results with their actual types, rather than streamed. It
> would open interesting possibilities!
More fundamentaly, the XQuery spec says that the result of an
expression is an XDM instance. The spec does not precise how an
XDM instance should be represented in Java, so here common sense is
the rule (for the right definition of "common sense", there can be
a lot of different PoV there). But that sounds weird to exclude
arbitrarily attribute nodes.
More information about the General