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 3567 - [UPDUseCases] Spec unclear whether queries are "cumulative" or not
Summary: [UPDUseCases] Spec unclear whether queries are "cumulative" or not
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Update Facility 1.0 Use Cases (show other bugs)
Version: Working drafts
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Jonathan Robie
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-01 19:27 UTC by Jim Melton
Modified: 2011-01-07 02:15 UTC (History)
0 users

See Also:


Attachments

Description Jim Melton 2006-08-01 19:27:26 UTC
Of the six use cases in the XQuery Update Facility Use Cases document, only one (Use Case Parts) says anything about the relationships between the various queries within a given use case.  Use Case parts contains the sentence "Note that update effects are never cumulative, i.e. each update applies to the same [initial] state of the data."

Some of the other Use Cases seem to assume that query n applies to the state of the data that exists after query n-1 has been applied. 

A concrete decision must be made on this question, even if the decision differs between Use Cases.  If there is a document-wide decision, then it must be documented in some common text (e.g., the first two paragraphs of Section 1).  If the decision varies by Use Case, then it must be documented in each of the Use Cases independently.
Comment 1 Jonathan Robie 2007-08-17 21:19:52 UTC
Only two of the use cases have more than one query.

For Use Case "R", the updates are cumulative, for Use Case "Parts" they are not. Use case "Parts" already says that updates are not cumulative. I'll add a note to Use Case "R" to say that these updates are cumulative.