On Sat, 29 Jan 2011 11:07:36 +0100, Yoshi Okamoto <[email protected]>
wrote:

> Dear Xavier,
>
> I noticed that Qizx seems to accept results of location steps that mix  
> up nodes
> and items. I have reduced the problem to the following expression:
>
>   <anyXMLInput/>/( <anyNode/>, "anyItem" )
>
> QIZX:
>   <anyNode/> anyItem
>
> SAXON:
>   XPTY0018: Cannot mix nodes and atomic values in the result of a path
> expression
>   Query processing failed: Run-time errors were reported
>
> Thank you for your attention, and the Qizx product,
> Yoshi Okamoto
>

Dear Yoshi,
    I am aware of this issue, but (sorry) I have no intention of fixing it.
    Please forgive me if I am a bit too blunt, but I disapprove this
    uselessly restrictive rule and I see no benefit in enforcing it.
    (This rule is probably a political concession to the XQuery WG from
     the XSLT WG who needed non-node steps due to XSLT/XPath limitations :)  
)


Best regards

-- 
Xavier Franc
Qizx design and development
 
--
Qizx Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/qizx-support

Reply via email to