W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2008

[Bug 5702] Deleting a parentless node should be well-defined

From: <bugzilla@farnsworth.w3.org>
Date: Tue, 20 May 2008 16:55:32 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1JyV7c-000388-AE@farnsworth.w3.org>

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:23 UTC