- From: <bugzilla@farnsworth.w3.org>
- Date: Tue, 20 May 2008 16:55:32 +0000
- To: public-qt-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=5702 Summary: Deleting a parentless node should be well-defined Product: XPath / XQuery / XSLT Version: Candidate Recommendation Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Update Facility AssignedTo: andrew.eisenberg@us.ibm.com ReportedBy: jonathan.robie@redhat.com QAContact: public-qt-comments@w3.org The following text occurs in the definition of upd:delete: "If $target has no parent, the XDM instance is unchanged. An implementation may (but is not required to) raise a dynamic error if $target had no parent before execution of the query began. [err:XUDY0020]." For the user, I think it is better if the standard defines what happens if we delete a node that does not have a parent. What barriers are there to doing this? If there is an insurmountable difficulty with defining this, we need to at least say that it is implementation defined, and needs to be documented.
Received on Tuesday, 20 May 2008 16:56:10 UTC