RE: [Bug 8185] New: fragment Put @Mode="Insert" underspecified

Agree that the language sections in the specification should clarify whether the Value targets an element or attribute(s). 

-----Original Message-----
From: public-ws-resource-access-notifications-request@w3.org [mailto:public-ws-resource-access-notifications-request@w3.org] On Behalf Of bugzilla@wiggum.w3.org
Sent: Wednesday, November 04, 2009 10:53 AM
To: public-ws-resource-access-notifications@w3.org
Subject: [Bug 8185] New: fragment Put @Mode="Insert" underspecified

http://www.w3.org/Bugs/Public/show_bug.cgi?id=8185

           Summary: fragment Put @Mode="Insert" underspecified
           Product: WS-Resource Access
           Version: PR
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Fragment
        AssignedTo: public-ws-resource-access-notifications@w3.org
        ReportedBy: gilbert.pilz@oracle.com
         QAContact: public-ws-resource-access-notifications@w3.org


The description of
/wst:Put/wsf:Fragment/wsf:Expression@Mode="http://www.w3.org/2009/09/ws-fra/Modes/Insert"
reads as follows:

"When the Mode attribute is set to a value of "http://www.w3.org/2009/09/ws-fra/Modes/Insert" the resource representation specified within the Value element MUST be added to the resource representation. If the expression targets a repeated element (maxOccurs > 1), the fragment MUST be added at the end. If the expression targets a non-repeated element (maxOccurrs = 1) that already exists, the resource MUST generate a wst:InvalidRepresentation fault. If the expression targets an existing item of a repeated element, the fragment MUST be added before the existing item."

The above text seems to assume that Value will always target an element, however it is possible for Value to target an attribute or set of attributes, etc. It seems that not all @Modes make sense for all target Values.

Strawman Proposal: In each language section (Sections 5, 6, and 7) clearly identify which targets support which @Modes.


--
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: ------- You are the QA contact for the bug.
You are the assignee for the bug.

Received on Saturday, 2 January 2010 18:58:42 UTC