W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2007

[Bug 4168] Atomicity is a problem for a non-transacted implementation

From: <bugzilla@wiggum.w3.org>
Date: Tue, 09 Jan 2007 15:54:11 +0000
To: public-qt-comments@w3.org
Message-Id: <E1H4JIh-0001uF-G5@wiggum.w3.org>


           Summary: Atomicity is a problem for a non-transacted
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Update Facility
        AssignedTo: andrew.eisenberg@us.ibm.com
        ReportedBy: john.snelson@oracle.com
         QAContact: public-qt-comments@w3.org

In the description of upd:applyUpdates() in section of the XQuery
Update specification, it is specified that the updates are applied atomically -
that is either all of them are applied, or none of them.

I understand that it is important to specify this for systems like databases
which support ACID semantics. However, the implementation I have been working
on is a stand alone C++ implementation that is not associated with a database.
Modifications are written back to the file system, and all precautions are
taken to check error cases before the updates are applied. It would be
extremely complicated to write an atomicity framework for this implementation,
and it simply isn't possible to check all error situations ahead of making the

Can I suggest that atomicity and other ACID semantics are specified as an
optional feature of XQuery Update? This allows implementations not backed by an
existing transactional store the flexibility to implement the specification
without needing to implement atomicity as well.
Received on Tuesday, 9 January 2007 15:54:35 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:32 UTC