2006/ws/policy ws-policy-framework.html,1.123,1.124 ws-policy-framework.xml,1.149,1.150

Update of /sources/public/2006/ws/policy
In directory hutz:/tmp/cvs-serv32688

Modified Files:
	ws-policy-framework.html ws-policy-framework.xml 
Log Message:
Bug 4598 res

Index: ws-policy-framework.xml
===================================================================
RCS file: /sources/public/2006/ws/policy/ws-policy-framework.xml,v
retrieving revision 1.149
retrieving revision 1.150
diff -u -d -r1.149 -r1.150
--- ws-policy-framework.xml	14 Jun 2007 20:16:56 -0000	1.149
+++ ws-policy-framework.xml	15 Jun 2007 21:32:31 -0000	1.150
@@ -1355,7 +1355,7 @@
                         <gitem>
                             <label>Distributive</label>
                             <def>
-                                <p><el>wsp:All</el> distributes over <el>wsp:ExactlyOne</el>. For
+                                <p><el>wsp:All</el> is distributive over <el>wsp:ExactlyOne</el>.  That is, a <el>wsp:All</el> element containing only <el>wsp:ExactlyOne</el> child elements is equivalent to a <el>wsp:ExactlyOne</el> element containing, for each possible combination of one child element from each of the <el>wsp:ExactlyOne</el> element over which being distributed, a <el>wsp:All</el> element containing that combination.  For
                                     example,</p>
                                 <eg xml:space="preserve" role="needs-numbering">&lt;wsp:All&gt;
   &lt;wsp:ExactlyOne&gt;
@@ -1408,6 +1408,9 @@
 &lt;/wsp:All&gt;</eg>
                                 <p>is equivalent to:</p>
                                 <eg xml:space="preserve" role="needs-numbering">&lt;wsp:ExactlyOne /&gt;</eg>
+                                                            </def>
+                        </gitem>
+                    </glist>
                                 <p>For example, given the following compact policy expression:</p>
                                 <eg xml:space="preserve">(01) &lt;wsp:Policy
         xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702"
@@ -1418,9 +1421,7 @@
 (05)     &lt;sp:WssUsernameToken11 /&gt;
 (06)   &lt;/wsp:ExactlyOne&gt;
 (07) &lt;/wsp:Policy&gt;</eg>
-                            </def>
-                        </gitem>
-                    </glist>
+
 
                     <p>Applying Section <specref ref="Optional_Policy_Assertions"/> to
                             <att>@wsp:Optional</att> in Line (02), and distributing <el>wsp:All</el>
@@ -1474,6 +1475,58 @@
                         are combined with the two alternatives listed in Lines (09-14) in the second
                         listing to create four alternatives in the normalized policy, Lines (03-06),
                         (07-10), (11-13), and (14-16).</p>
+                        
+                      <p>  Consider another example, given the following compact policy expression:</p>
+
+ <eg xml:space="preserve">(01) &lt;wsp:Policy
+        xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702"
+        xmlns:wsp="http://www.w3.org/ns/ws-policy" &gt;
+(02)   &lt;sp:RequireDerivedKeys /&gt;
+(03)   &lt;wsp:ExactlyOne&gt;
+(04)     &lt;sp:WssUsernameToken10 /&gt;
+(05)     &lt;sp:WssUsernameToken11 /&gt;
+(06)   &lt;/wsp:ExactlyOne&gt;
+(07) &lt;/wsp:Policy&gt;</eg>
+<p>Applying Section <specref ref="Optional_Policy_Assertions"/> to <att>@wsp:Optional="false"</att> in Line (02), and distributing wsp:All over wsp:ExactlyOne per Section <specref ref="Policy_Operators"/> for the assertions in Lines (04-05) yields:</p>
+
+ <eg xml:space="preserve">(01) &lt;wsp:Policy
+        xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702"
+        xmlns:wsp="http://www.w3.org/ns/ws-policy" &gt;
+(02)   &lt;wsp:ExactlyOne&gt;
+(03)     &lt;wsp:All&gt;
+(04)       &lt;sp:RequireDerivedKeys /&gt;
+(05)     &lt;/wsp:All&gt;
+(06)   &lt;/wsp:ExactlyOne&gt;
+(07)   &lt;wsp:ExactlyOne&gt;
+(08)     &lt;wsp:All&gt;
+(09)       &lt;sp:WssUsernameToken10 /&gt;
+(10)     &lt;/wsp:All&gt;
+(11)     &lt;wsp:All&gt;
+(12)       &lt;sp:WssUsernameToken11 /&gt;
+(13)     &lt;/wsp:All&gt;
+(14)   &lt;/wsp:ExactlyOne&gt;
+(15) &lt;/wsp:Policy&gt;</eg>
+
+<p>Note that the assertion listed in Line (02) in the first listing expands into an alternative in Lines (03-05) in the second listing.</p>
+
+<p>Finally, noting that <el>wsp:Policy</el> is equivalent to <el>wsp:All</el>, and distributing <el>wsp:All</el> over <el>wsp:ExactlyOne</el> yields the following normal form policy expression:</p>
+ <eg xml:space="preserve">(01) &lt;wsp:Policy
+        xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702"
+        xmlns:wsp="http://www.w3.org/ns/ws-policy" &gt;
+(02)   &lt;wsp:ExactlyOne&gt;
+(03)     &lt;wsp:All&gt;
+(04)       &lt;sp:RequireDerivedKeys /&gt;
+(05)       &lt;sp:WssUsernameToken10 /&gt;
+(06)     &lt;/wsp:All&gt;
+(07)     &lt;wsp:All&gt;
+(08)       &lt;sp:RequireDerivedKeys /&gt;
+(09)       &lt;sp:WssUsernameToken11 /&gt;
+(10)     &lt;/wsp:All&gt;
+(11)   &lt;/wsp:ExactlyOne&gt;
+(12) &lt;/wsp:Policy&gt;</eg>
+
+<p>Note that the first alternative listed in Lines (03-05) in the second listing is combined with the two alternatives listed in Lines (08-13) in the second listing to create two alternatives in the normalized policy, Lines (03-06) and (07-10).</p>
+
                 </div3>
                 <div3 id="Policy_References">
                     <head>Policy References</head>
@@ -3468,6 +3521,15 @@
                         <td>Reset Section <specref ref="change-description"/>.
                         </td>
                     </tr> 
+                                       <tr>
+                        <td>20070615</td>
+                        <td>DBO</td>
+                        <td>Implemented the resolution
+                            for issue <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=4598">4598</loc>. 
+                            Editors' action 
+                            <loc href="http://www.w3.org/2005/06/tracker/wspolicyeds/actions/310">310</loc>.
+                        </td>
+                    </tr>
                 </tbody>
             </table>
         </inform-div1>

Index: ws-policy-framework.html
===================================================================
RCS file: /sources/public/2006/ws/policy/ws-policy-framework.html,v
retrieving revision 1.123
retrieving revision 1.124
diff -u -d -r1.123 -r1.124
--- ws-policy-framework.html	14 Jun 2007 20:16:56 -0000	1.123
+++ ws-policy-framework.html	15 Jun 2007 21:32:31 -0000	1.124
@@ -881,7 +881,7 @@
 (04) <b>&nbsp; </b>&lt;/wsp:ExactlyOne&gt;
 (05) &lt;/wsp:ExactlyOne&gt;</pre></div><p>is equivalent to:</p><div class="exampleInner"><pre>(01) &lt;wsp:ExactlyOne&gt;
 (02) &nbsp; <b>&lt;!-- assertion 1 --&gt; &lt;!-- assertion 2 --&gt;</b>
-(03) &lt;/wsp:ExactlyOne&gt;</pre></div></dd><dt class="label">Distributive</dt><dd><p><code>wsp:All</code> distributes over <code>wsp:ExactlyOne</code>. For
+(03) &lt;/wsp:ExactlyOne&gt;</pre></div></dd><dt class="label">Distributive</dt><dd><p><code>wsp:All</code> is distributive over <code>wsp:ExactlyOne</code>.  That is, a <code>wsp:All</code> element containing only <code>wsp:ExactlyOne</code> child elements is equivalent to a <code>wsp:ExactlyOne</code> element containing, for each possible combination of one child element from each of the <code>wsp:ExactlyOne</code> element over which being distributed, a <code>wsp:All</code> element containing that combination.  For
                                     example,</p><div class="exampleInner"><pre>(01) &lt;wsp:All&gt;
 (02) &nbsp; &lt;wsp:ExactlyOne&gt;
 (03) <b>&nbsp; &nbsp; &lt;!-- assertion 1 --&gt;</b>
@@ -918,7 +918,7 @@
 (04) <b>&nbsp; &nbsp; &lt;!-- assertion 2 --&gt;</b>
 (05) &nbsp; &lt;/wsp:ExactlyOne&gt;
 (06) &nbsp; &lt;wsp:ExactlyOne /&gt;
-(07) &lt;/wsp:All&gt;</pre></div><p>is equivalent to:</p><div class="exampleInner"><pre>(01) &lt;wsp:ExactlyOne /&gt;</pre></div><p>For example, given the following compact policy expression:</p><div class="exampleInner"><pre>(01) &lt;wsp:Policy
+(07) &lt;/wsp:All&gt;</pre></div><p>is equivalent to:</p><div class="exampleInner"><pre>(01) &lt;wsp:ExactlyOne /&gt;</pre></div></dd></dl><p>For example, given the following compact policy expression:</p><div class="exampleInner"><pre>(01) &lt;wsp:Policy
 &nbsp; &nbsp; &nbsp; &nbsp; xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702"
 &nbsp; &nbsp; &nbsp; &nbsp; xmlns:wsp="http://www.w3.org/ns/ws-policy" &gt;
 (02)&nbsp; &nbsp;&lt;sp:RequireDerivedKeys wsp:Optional="true" /&gt;
@@ -926,7 +926,7 @@
 (04)&nbsp; &nbsp; &nbsp;&lt;sp:WssUsernameToken10 /&gt;
 (05)&nbsp; &nbsp; &nbsp;&lt;sp:WssUsernameToken11 /&gt;
 (06)&nbsp; &nbsp;&lt;/wsp:ExactlyOne&gt;
-(07) &lt;/wsp:Policy&gt;</pre></div></dd></dl><p>Applying Section <a href="#Optional_Policy_Assertions"><b>4.3.1 Optional Policy Assertions</b></a> to
+(07) &lt;/wsp:Policy&gt;</pre></div><p>Applying Section <a href="#Optional_Policy_Assertions"><b>4.3.1 Optional Policy Assertions</b></a> to
                             <code>@wsp:Optional</code> in Line (02), and distributing <code>wsp:All</code>
                         over <code>wsp:ExactlyOne</code> per Section <a href="#Policy_Operators"><b>4.3.3 Policy Operators</b></a>
                         for the assertions in Lines (04-05) yields:</p><div class="exampleInner"><pre>(01) &lt;wsp:Policy
@@ -971,7 +971,44 @@
 (18) &lt;/wsp:Policy&gt;</pre></div><p>Note that the two alternatives listed in Lines (03-06) in the second listing
                         are combined with the two alternatives listed in Lines (09-14) in the second
                         listing to create four alternatives in the normalized policy, Lines (03-06),
-                        (07-10), (11-13), and (14-16).</p></div><div class="div3">
+                        (07-10), (11-13), and (14-16).</p><p>  Consider another example, given the following compact policy expression:</p><div class="exampleInner"><pre>(01) &lt;wsp:Policy
+        xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702"
+        xmlns:wsp="http://www.w3.org/ns/ws-policy" &gt;
+(02)   &lt;sp:RequireDerivedKeys /&gt;
+(03)   &lt;wsp:ExactlyOne&gt;
+(04)     &lt;sp:WssUsernameToken10 /&gt;
+(05)     &lt;sp:WssUsernameToken11 /&gt;
+(06)   &lt;/wsp:ExactlyOne&gt;
+(07) &lt;/wsp:Policy&gt;</pre></div><p>Applying Section <a href="#Optional_Policy_Assertions"><b>4.3.1 Optional Policy Assertions</b></a> to <code>@wsp:Optional="false"</code> in Line (02), and distributing wsp:All over wsp:ExactlyOne per Section <a href="#Policy_Operators"><b>4.3.3 Policy Operators</b></a> for the assertions in Lines (04-05) yields:</p><div class="exampleInner"><pre>(01) &lt;wsp:Policy
+        xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702"
+        xmlns:wsp="http://www.w3.org/ns/ws-policy" &gt;
+(02)   &lt;wsp:ExactlyOne&gt;
+(03)     &lt;wsp:All&gt;
+(04)       &lt;sp:RequireDerivedKeys /&gt;
+(05)     &lt;/wsp:All&gt;
+(06)   &lt;/wsp:ExactlyOne&gt;
+(07)   &lt;wsp:ExactlyOne&gt;
+(08)     &lt;wsp:All&gt;
+(09)       &lt;sp:WssUsernameToken10 /&gt;
+(10)     &lt;/wsp:All&gt;
+(11)     &lt;wsp:All&gt;
+(12)       &lt;sp:WssUsernameToken11 /&gt;
+(13)     &lt;/wsp:All&gt;
+(14)   &lt;/wsp:ExactlyOne&gt;
+(15) &lt;/wsp:Policy&gt;</pre></div><p>Note that the assertion listed in Line (02) in the first listing expands into an alternative in Lines (03-05) in the second listing.</p><p>Finally, noting that <code>wsp:Policy</code> is equivalent to <code>wsp:All</code>, and distributing <code>wsp:All</code> over <code>wsp:ExactlyOne</code> yields the following normal form policy expression:</p><div class="exampleInner"><pre>(01) &lt;wsp:Policy
+        xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702"
+        xmlns:wsp="http://www.w3.org/ns/ws-policy" &gt;
+(02)   &lt;wsp:ExactlyOne&gt;
+(03)     &lt;wsp:All&gt;
+(04)       &lt;sp:RequireDerivedKeys /&gt;
+(05)       &lt;sp:WssUsernameToken10 /&gt;
+(06)     &lt;/wsp:All&gt;
+(07)     &lt;wsp:All&gt;
+(08)       &lt;sp:RequireDerivedKeys /&gt;
+(09)       &lt;sp:WssUsernameToken11 /&gt;
+(10)     &lt;/wsp:All&gt;
+(11)   &lt;/wsp:ExactlyOne&gt;
+(12) &lt;/wsp:Policy&gt;</pre></div><p>Note that the first alternative listed in Lines (03-05) in the second listing is combined with the two alternatives listed in Lines (08-13) in the second listing to create two alternatives in the normalized policy, Lines (03-06) and (07-10).</p></div><div class="div3">
 <h4><a name="Policy_References" id="Policy_References"></a>4.3.4 Policy References</h4><p>The <code>wsp:PolicyReference</code> element is used to reference <a title="policy expression" href="#policy_expression">policy expressions</a>. The semantics of
                         the <code>wsp:PolicyReference</code> element are determined by the context in
                         which it is used (for an example, see <a href="#Policy_Inclusion"><b>4.3.5 Policy Inclusion</b></a>).</p><p>The schema outline for the <code>wsp:PolicyReference</code> element is as
@@ -1700,4 +1737,8 @@
                             Editors' action 
                             <a href="http://www.w3.org/2005/06/tracker/wspolicyeds/actions/318">318</a>.
                         </td></tr><tr><td rowspan="1" colspan="1">20070614</td><td rowspan="1" colspan="1">ASV</td><td rowspan="1" colspan="1">Reset Section <a href="#change-description"><b>D. Changes in this Version of the Document</b></a>.
+                        </td></tr><tr><td rowspan="1" colspan="1">20070615</td><td rowspan="1" colspan="1">DBO</td><td rowspan="1" colspan="1">Implemented the resolution
+                            for issue <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=4598">4598</a>. 
+                            Editors' action 
+                            <a href="http://www.w3.org/2005/06/tracker/wspolicyeds/actions/310">310</a>.
                         </td></tr></tbody></table><br></div></div></body></html>
\ No newline at end of file

Received on Friday, 15 June 2007 21:32:41 UTC