This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 17603 - [XQ31ReqUC] Change semantics of identity comparison and attempt to make XQuery pure functional
Summary: [XQ31ReqUC] Change semantics of identity comparison and attempt to make XQuer...
Status: NEW
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Requirements for Future Versions (show other bugs)
Version: Working drafts
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Jim Melton
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-26 13:14 UTC by Ghislain Fourny
Modified: 2014-05-20 17:03 UTC (History)
1 user (show)

See Also:


Attachments

Description Ghislain Fourny 2012-06-26 13:14:58 UTC
It would be nice to consider Tim's suggestion about changing the definition of node identity comparison to no longer expose the physical identity of nodes.

https://lists.w3.org/Archives/Member/w3c-xsl-query/2012Jun/0058.html

I see two advantages of this approach:
(i) it addresses the optimization issue related to the non-determinism of functions returning newly created nodes
(ii) it would remove one reason why XQuery is not pure functional (if I am correct, this would leave us with error handling only). In particular, variable substitution would become possible even in the presence of new nodes.
Comment 1 Jonathan Robie 2014-05-20 17:03:02 UTC
Assigning to future requirements per Working Group decision (https://lists.w3.org/Archives/Member/w3c-xsl-query/2012Oct/0087.html).