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 8193 - Fragment: Replace mode could be clearer
Summary: Fragment: Replace mode could be clearer
Alias: None
Product: WS-Resource Access
Classification: Unclassified
Component: Fragment (show other bugs)
Version: LC
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Doug Davis
QA Contact: notifications mailing list for WS Resource Access
Depends on:
Reported: 2009-11-04 23:16 UTC by Doug Davis
Modified: 2010-03-17 10:51 UTC (History)
0 users

See Also:


Description Doug Davis 2009-11-04 23:16:42 UTC
Comment 1 Doug Davis 2009-11-04 23:34:08 UTC
Frag says:

    When the Mode attribute is set to a value of "" the resource representation specified within the Value element MUST replace the entire resource representation referenced by the children of the Expression element, if it exists. 

While its implied that if the Expression points to something that doesn't 
exist it should just add it, we need to make it clear.

Add to the end of the above text add:
If it doesn't exist then the Value is simply added to the resource representation.
Comment 2 Doug Davis 2010-03-03 02:30:10 UTC
Resolve on 3/2/2010 with proposal in:

with the following modifications:
- Keep a "Remove" mode
- "Replace" mode MUST have a Value element
- to "Replace" add something like:
    If the expression is invalid per the xsd, assuming xsd checking, 
    then it MUST generate an invalidExpression fault
- Rename "Insert" to "Add"