- From: Doug Davis via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 01 Jul 2009 12:48:17 +0000
- To: public-ws-resource-access-notifications@w3.org
Update of /w3ccvs/WWW/2002/ws/ra/edcopies In directory hutz:/tmp/cvs-serv24159 Modified Files: wsrt.html wsrt.xml wst.html Log Message: 6699 Index: wsrt.html =================================================================== RCS file: /w3ccvs/WWW/2002/ws/ra/edcopies/wsrt.html,v retrieving revision 1.37 retrieving revision 1.38 diff -u -d -r1.37 -r1.38 --- wsrt.html 27 May 2009 22:36:17 -0000 1.37 +++ wsrt.html 1 Jul 2009 12:48:15 -0000 1.38 @@ -71,9 +71,8 @@ 5.9 <a href="#putfault">PutFault</a><br/> 5.10 <a href="#badputmode">PutModeUnsupportedFault</a><br/> 5.11 <a href="#createfault">CreateFault</a><br/> - 5.12 <a href="#badmetadata">InvalidMetadataFault</a><br/> - 5.13 <a href="#exceedmulti">MultipartLimitExceededFault</a><br/> - 5.14 <a href="#putsyntaxfault">InvalidPutSyntaxFault</a><br/> + 5.12 <a href="#exceedmulti">MultipartLimitExceededFault</a><br/> + 5.13 <a href="#putsyntaxfault">InvalidPutSyntaxFault</a><br/> 6 <a href="#security">Security</a><br/> 7 <a href="#acks">Acknowledgements</a><br/> 8 <a href="#refs">References</a><br/> @@ -1107,8 +1106,6 @@ </p><p> WS-ResourceTransfer extends the "Create" operation to create a resource from zero or more specified fragments of the XML representation. - WS-ResourceTransfer further extends the "Create" operation such that any - resource metadata MAY be created as part of the creation of the resource. </p><p>The extended outline for the "Create" operation is:</p><div class="exampleOuter"><div class="exampleInner"><pre><b>[Headers]</b> <wsrt:ResourceTransfer s:mustUnderstand="true"/> @@ -1117,7 +1114,6 @@ <b>[Body]</b> <wsrt:Create Dialect="<em>xs:anyURI</em>"?> - <wsmex:Metadata><em>resource metadata</em></wsmex:Metadata> ? <wsrt:Fragment> <wsrt:Expression><em>xs:any</em></wsrt:Expression> ? <wsrt:Value ...><em>xs:any</em></wsrt:Value> @@ -1132,29 +1128,14 @@ Create <a href="#WsTransfer">[WS-Transfer]</a>. </p></dd><dt class="label"><b>[Body]</b>/wsrt:Create </dt><dd><p> An element that specifies the fragments of the resource - representation to be initialized during resource creation and - optionally any resource metadata that is to be created as part of - the creation of the resource. This element MUST be present if the + representation to be initialized during resource creation. + This element MUST be present if the wsrt:ResourceTransfer header is present. </p></dd><dt class="label"><b>[Body]</b>/wsrt:Create/@Dialect </dt><dd><p> This URI indicates which expression dialect will be used to identify the fragment(s) of the resource representation to be initialized during resource creation. This attribute MUST be present when the message contains a wsrt:Expression element. - </p></dd><dt class="label"><b>[Body]</b>/wsrt:Create/wsmex:Metadata </dt><dd><p> - When present this optional element MUST contain at least - one wsmex:MetadataSection. This is resource metadata to be created and - initialized during the creation of the resource. - </p><p> - A resource factory MUST generate an InvalidMetadataFault if - the Create request message contains a wsmex:Dialect that is not - supported or if the resource metadata contains values that are - not supported for the resource. - </p><p> - This element MAY contain a wsmex:MetadataSection with a wsmex:Dialect - of http://www.w3.org/2009/02/ws-rst allowing the - requestor to specify desired metadata as defined in this - specification (such as lifecycle metadata). </p></dd><dt class="label"><b>[Body]</b>/wsrt:Create/Fragment </dt><dd><p> This element encompasses a single resource fragment to be initialized during the resource creation. If there are multiple @@ -1220,47 +1201,28 @@ <div class="exampleHeader"><a name="create_qname" id="create_qname"/>Example 4-9: Create message using the QName dialect</div><div class="exampleInner"><pre>(01) <s:Body> (02) <wsrt:Create Dialect="http://www.w3.org/2009/02/ws-rst/Dialect/QName" (03) xmlns:d="http://example.org/sample"> -(04) <wsmex:Metadata> -(05) <wsmex:MetadataSection Dialect="http://www.w3.org/ -(06) 2009/02/ws-rst"> -(07) <wsrt:Metadata> -(08) <wsrt:Lifetime> -(09) <wsrt:TerminateAt> -(10) <wsrt:TerminationTime> -(11) 2006-04-11T12:00:00Z -(12) </wsrt:TerminationTime> -(13) <wsrt:CurrentTime> -(14) 2006-04-10T10:00:54Z -(15) </wsrt:CurrentTime> -(16) </wsrt:TerminateAt> -(17) </wsrt:Lifetime> -(18) </wsrt:Metadata> -(19) </wsmex:MetadataSection> -(20) </wsmex:Metadata> -(21) <wsrt:Fragment> -(22) <wsrt:Expression> -(23) d:Volume -(24) </wsrt:Expression> -(25) <wsrt:Value> -(26) <d:Volume> -(27) <d:Drive>C:</d:Drive> -(28) <d:Label>MyDrive-C</d:Label> -(29) <d:TotalCapacity>10000000000</d:TotalCapacity> -(30) </d:Volume> -(31) <d:Volume> -(32) <d:Drive>D:</d:Drive> -(33) <d:Label>MyDrive-D</d:Label> -(34) <d:TotalCapacity>30000000000</d:TotalCapacity> -(35) </d:Volume> -(36) </wsrt:Value> -(37) </wsrt:Fragment> -(38) </wsrt:Create> -(39) </s:Body></pre></div></div><p> - Line (09) indicates that the resource, once created, is scheduled for - destruction at the specific time. Messages sent to the EPR returned in - the CreateResponse, after this time, will fault. Line (23) indicates that +(04) <wsrt:Fragment> +(05) <wsrt:Expression> +(06) d:Volume +(07) </wsrt:Expression> +(08) <wsrt:Value> +(09) <d:Volume> +(10) <d:Drive>C:</d:Drive> +(11) <d:Label>MyDrive-C</d:Label> +(12) <d:TotalCapacity>10000000000</d:TotalCapacity> +(13) </d:Volume> +(14) <d:Volume> +(15) <d:Drive>D:</d:Drive> +(16) <d:Label>MyDrive-D</d:Label> +(17) <d:TotalCapacity>30000000000</d:TotalCapacity> +(18) </d:Volume> +(19) </wsrt:Value> +(20) </wsrt:Fragment> +(21) </wsrt:Create> +(22) </s:Body></pre></div></div><p> + Line (06) indicates that resource is created with a specific value or set of values for the - <d:Volume> property. Lines (25) - (36) specify the set of values of + <d:Volume> property. Lines (08) - (19) specify the set of values of the <d:Volume> property. The response to this "Create" message is illustrated in <a href="#createresponse_qname">Example 4-10</a>. </p><div class="exampleOuter"> @@ -1431,14 +1393,7 @@ </p><a name="tab_createfault" id="tab_createfault"/><table border="1"><tbody><tr><th align="left"><b>[Action]</b></th><th align="left"> http://www.w3.org/2009/02/ws-rst/fault </th></tr><tr><td><b>[Code]</b></td><td> s12:Receiver </td></tr><tr><td><b>[Subcode]</b></td><td> wsrt:CreateFault </td></tr><tr><td><b>[Reason]</b></td><td> Unable to process Create message </td></tr><tr><td><b>[Detail]</b></td><td> <wsrt:Fragment><em>fragment</em></wsrt:Fragment> ? </td></tr></tbody></table></div><div class="div2"> -<h3><a name="badmetadata" id="badmetadata"/>5.12 InvalidMetadataFault</h3><p> - This fault is generated by a resource factory if a "Create" - message contains a wsmex:Dialect that is not supported or if the resource - metadata contains values that are not supported for the resource. - </p><a name="tab_badmetadata" id="tab_badmetadata"/><table border="1"><tbody><tr><th align="left"><b>[Action]</b></th><th align="left"> - http://www.w3.org/2009/02/ws-rst/fault - </th></tr><tr><td><b>[Code]</b></td><td> s12:Sender </td></tr><tr><td><b>[Subcode]</b></td><td> wsrt:InvalidMetadataFault </td></tr><tr><td><b>[Reason]</b></td><td> Resource metadata values not supported by resource </td></tr><tr><td><b>[Detail]</b></td><td/></tr></tbody></table></div><div class="div2"> -<h3><a name="exceedmulti" id="exceedmulti"/>5.13 MultipartLimitExceededFault</h3><p> +<h3><a name="exceedmulti" id="exceedmulti"/>5.12 MultipartLimitExceededFault</h3><p> This fault is generated by a resource if a request message exceeds the limit of wsrt:Expression or wsrt:Fragment elements supported for the dialect. The fault detail MUST contain the maximum number of @@ -1449,7 +1404,7 @@ number of fragments in a single message </td></tr><tr><td><b>[Detail]</b></td><td> <wsrt:MultipartLimit><em>xs:positiveInteger</em></wsrt:MultipartLimit> </td></tr></tbody></table></div><div class="div2"> -<h3><a name="putsyntaxfault" id="putsyntaxfault"/>5.14 InvalidPutSyntaxFault</h3><p> +<h3><a name="putsyntaxfault" id="putsyntaxfault"/>5.13 InvalidPutSyntaxFault</h3><p> This fault is generated by a resource if a Put request specifying a Mode "http://www.w3.org/2009/02/ws-rst/Remove" contains a wsrt:Value element or if a Put @@ -1951,7 +1906,6 @@ <xs:element name='Create'> <xs:complexType> <xs:sequence> - <xs:element ref='wsmex:Metadata' minOccurs='0'/> <xs:element ref='wsrt:Fragment' minOccurs='0' maxOccurs='unbounded'/> </xs:sequence> <xs:attribute name='Dialect' type='xs:anyURI'/> @@ -2026,7 +1980,6 @@ <xs:enumeration value="wsrt:PutFault"/> <xs:enumeration value="wsrt:PutModeUnsupportedFault"/> <xs:enumeration value="wsrt:CreateFault"/> - <xs:enumeration value="wsrt:InvalidMetadataFault"/> <xs:enumeration value="wsrt:MultipartLimitExceededFault"/> <xs:enumeration value="wsrt:InvalidPutSyntaxFault"/> </xs:restriction> @@ -2161,4 +2114,5 @@ <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6666">6666</a></td></tr><tr><td> 2009/03/24 </td><td> DD </td><td> Added resolution of issue <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6648">6648</a></td></tr><tr><td> 2009/04/22 </td><td> KW </td><td> Added resolution of issue <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6739">6739</a></td></tr><tr><td> 2009/04/27 </td><td> DD </td><td> Added resolution of issue - <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6906">6906</a></td></tr></tbody></table></div></div></body></html> \ No newline at end of file + <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6906">6906</a></td></tr><tr><td> 2009/07/01 </td><td> DD </td><td> Added resolution of issue + <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6699">6699</a></td></tr></tbody></table></div></div></body></html> \ No newline at end of file Index: wsrt.xml =================================================================== RCS file: /w3ccvs/WWW/2002/ws/ra/edcopies/wsrt.xml,v retrieving revision 1.26 retrieving revision 1.27 diff -u -d -r1.26 -r1.27 --- wsrt.xml 27 May 2009 22:36:17 -0000 1.26 +++ wsrt.xml 1 Jul 2009 12:48:15 -0000 1.27 @@ -1816,8 +1816,6 @@ <p> WS-ResourceTransfer extends the "Create" operation to create a resource from zero or more specified fragments of the XML representation. - WS-ResourceTransfer further extends the "Create" operation such that any - resource metadata MAY be created as part of the creation of the resource. </p> <p>The extended outline for the "Create" operation is:</p> @@ -1830,7 +1828,6 @@ <kw>[Body]</kw> <wsrt:Create Dialect="<emph>xs:anyURI</emph>"?> - <wsmex:Metadata><emph>resource metadata</emph></wsmex:Metadata> ? <wsrt:Fragment> <wsrt:Expression><emph>xs:any</emph></wsrt:Expression> ? <wsrt:Value ...><emph>xs:any</emph></wsrt:Value> @@ -1861,9 +1858,8 @@ <def> <p> An element that specifies the fragments of the resource - representation to be initialized during resource creation and - optionally any resource metadata that is to be created as part of - the creation of the resource. This element MUST be present if the + representation to be initialized during resource creation. + This element MUST be present if the wsrt:ResourceTransfer header is present. </p> </def> @@ -1882,29 +1878,6 @@ </gitem> <gitem> - <label> <kw>[Body]</kw>/wsrt:Create/wsmex:Metadata </label> - <def> - <p> - When present this optional element MUST contain at least - one wsmex:MetadataSection. This is resource metadata to be created and - initialized during the creation of the resource. - </p> - <p> - A resource factory MUST generate an InvalidMetadataFault if - the Create request message contains a wsmex:Dialect that is not - supported or if the resource metadata contains values that are - not supported for the resource. - </p> - <p> - This element MAY contain a wsmex:MetadataSection with a wsmex:Dialect - of http://www.w3.org/2009/02/ws-rst allowing the - requestor to specify desired metadata as defined in this - specification (such as lifecycle metadata). - </p> - </def> - </gitem> - - <gitem> <label> <kw>[Body]</kw>/wsrt:Create/Fragment </label> <def> <p> @@ -2021,50 +1994,31 @@ <eg>(01) <s:Body> (02) <wsrt:Create Dialect="http://www.w3.org/2009/02/ws-rst/Dialect/QName" (03) xmlns:d="http://example.org/sample"> -(04) <wsmex:Metadata> -(05) <wsmex:MetadataSection Dialect="http://www.w3.org/ -(06) 2009/02/ws-rst"> -(07) <wsrt:Metadata> -(08) <wsrt:Lifetime> -(09) <wsrt:TerminateAt> -(10) <wsrt:TerminationTime> -(11) 2006-04-11T12:00:00Z -(12) </wsrt:TerminationTime> -(13) <wsrt:CurrentTime> -(14) 2006-04-10T10:00:54Z -(15) </wsrt:CurrentTime> -(16) </wsrt:TerminateAt> -(17) </wsrt:Lifetime> -(18) </wsrt:Metadata> -(19) </wsmex:MetadataSection> -(20) </wsmex:Metadata> -(21) <wsrt:Fragment> -(22) <wsrt:Expression> -(23) d:Volume -(24) </wsrt:Expression> -(25) <wsrt:Value> -(26) <d:Volume> -(27) <d:Drive>C:</d:Drive> -(28) <d:Label>MyDrive-C</d:Label> -(29) <d:TotalCapacity>10000000000</d:TotalCapacity> -(30) </d:Volume> -(31) <d:Volume> -(32) <d:Drive>D:</d:Drive> -(33) <d:Label>MyDrive-D</d:Label> -(34) <d:TotalCapacity>30000000000</d:TotalCapacity> -(35) </d:Volume> -(36) </wsrt:Value> -(37) </wsrt:Fragment> -(38) </wsrt:Create> -(39) </s:Body></eg> +(04) <wsrt:Fragment> +(05) <wsrt:Expression> +(06) d:Volume +(07) </wsrt:Expression> +(08) <wsrt:Value> +(09) <d:Volume> +(10) <d:Drive>C:</d:Drive> +(11) <d:Label>MyDrive-C</d:Label> +(12) <d:TotalCapacity>10000000000</d:TotalCapacity> +(13) </d:Volume> +(14) <d:Volume> +(15) <d:Drive>D:</d:Drive> +(16) <d:Label>MyDrive-D</d:Label> +(17) <d:TotalCapacity>30000000000</d:TotalCapacity> +(18) </d:Volume> +(19) </wsrt:Value> +(20) </wsrt:Fragment> +(21) </wsrt:Create> +(22) </s:Body></eg> </example> <p> - Line (09) indicates that the resource, once created, is scheduled for - destruction at the specific time. Messages sent to the EPR returned in - the CreateResponse, after this time, will fault. Line (23) indicates that + Line (06) indicates that resource is created with a specific value or set of values for the - <d:Volume> property. Lines (25) - (36) specify the set of values of + <d:Volume> property. Lines (08) - (19) specify the set of values of the <d:Volume> property. The response to this "Create" message is illustrated in <specref ref="createresponse_qname"/>. </p> @@ -2584,43 +2538,6 @@ </table> </div2> - <div2 id="badmetadata"> - <head>InvalidMetadataFault</head> - - <p> - This fault is generated by a resource factory if a "Create" - message contains a wsmex:Dialect that is not supported or if the resource - metadata contains values that are not supported for the resource. - </p> - - <table id="tab_badmetadata" border="1"> - <tbody> - <tr> - <th align="left"> <kw>[Action]</kw> </th> - <th align="left"> - http://www.w3.org/2009/02/ws-rst/fault - </th> - </tr> - <tr> - <td> <kw>[Code]</kw> </td> - <td> s12:Sender </td> - </tr> - <tr> - <td> <kw>[Subcode]</kw> </td> - <td> wsrt:InvalidMetadataFault </td> - </tr> - <tr> - <td> <kw>[Reason]</kw> </td> - <td> Resource metadata values not supported by resource </td> - </tr> - <tr> - <td> <kw>[Detail]</kw> </td> - <td> </td> - </tr> - </tbody> - </table> - </div2> - <div2 id="exceedmulti"> <head>MultipartLimitExceededFault</head> @@ -3537,7 +3454,6 @@ <xs:element name='Create'> <xs:complexType> <xs:sequence> - <xs:element ref='wsmex:Metadata' minOccurs='0'/> <xs:element ref='wsrt:Fragment' minOccurs='0' maxOccurs='unbounded'/> </xs:sequence> <xs:attribute name='Dialect' type='xs:anyURI'/> @@ -3612,7 +3528,6 @@ <xs:enumeration value="wsrt:PutFault"/> <xs:enumeration value="wsrt:PutModeUnsupportedFault"/> <xs:enumeration value="wsrt:CreateFault"/> - <xs:enumeration value="wsrt:InvalidMetadataFault"/> <xs:enumeration value="wsrt:MultipartLimitExceededFault"/> <xs:enumeration value="wsrt:InvalidPutSyntaxFault"/> </xs:restriction> @@ -3828,6 +3743,13 @@ <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6906">6906</loc> </td> </tr> + <tr> + <td> 2009/07/01 </td> + <td> DD </td> + <td> Added resolution of issue + <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6699">6699</loc> + </td> + </tr> </tbody> </table> </div1> Index: wst.html =================================================================== RCS file: /w3ccvs/WWW/2002/ws/ra/edcopies/wst.html,v retrieving revision 1.44 retrieving revision 1.45 diff -u -d -r1.44 -r1.45 --- wst.html 14 Jun 2009 13:13:36 -0000 1.44 +++ wst.html 1 Jul 2009 12:48:15 -0000 1.45 @@ -1034,4 +1034,4 @@ <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6674">6674</a></td></tr><tr><td> 2009/05/27 </td><td> DD </td><td> Added resolution of issue <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6906">6906</a></td></tr><tr><td> 2009/06/10 </td><td> DD </td><td> Added resolution of issue <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6712">6712</a></td></tr><tr><td> 2009/06/10 </td><td> DD </td><td> Added resolution of issue - <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6924">6924</a></td></tr></tbody></table></div></div></body></html> \ No newline at end of file + <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6924">6924</a></td></tr></tbody></table></div></div></body></html>
Received on Wednesday, 1 July 2009 12:48:31 UTC