- From: Dominique Hazael-Massieux via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 13 Apr 2010 15:01:39 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/policy In directory hutz:/tmp/cvs-serv16755 Modified Files: Overview.html Log Message: fixing somewhat the examples Index: Overview.html =================================================================== RCS file: /sources/public/2009/dap/policy/Overview.html,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- Overview.html 9 Apr 2010 16:12:37 -0000 1.7 +++ Overview.html 13 Apr 2010 15:01:37 -0000 1.8 @@ -1157,11 +1157,10 @@ <pre><code> <code><target></code> <code><subject></code> - <subject-match attr="author-key-root-fingerprint">sha256 ******** - root fingerprint of author **** /> - </subject> <-- to identify the Identified domain, the same would + <subject-match attr="author-key-root-fingerprint" match="sha256 ******** root fingerprint of author ****" /> <-- to identify the Identified domain, the same would apply for the Unidentified domain--> - </target> <rule effect=one-shot> + </target> + <rule effect="one-shot"> <code><condition></code> <resource-match attr="dev-cap" match="messaging.*.send" param:recipients="+4409*" func="glob"/> <-- to block UK premium @@ -1173,7 +1172,7 @@ fragment for blocking Spanish premium rate numbers that could be added, along with the condition combining operator (please note: there are probably more elegant ways of expressing this by using regular expressions): <pre><code> - <condition combine=or> + <condition combine="or"> <resource-match attr="dev-cap" match="messaging.*.send" param:recipients="+4409*" func="glob"/> <-- to block UK premium rate numbers --> <resource-match attr="dev-cap" @@ -1185,16 +1184,15 @@ halting the spread of the malware in its early stages of distribution. </p> <p> Clearly, if the widget is prevented from installing, then it cannot call a device API – these functions are shown as a belt and braces example: - <pre><code> <code><target></code>; + <pre><code> <code><target></code> <code><subject></code> - <subject-match attr="id" match="http://www.maliciouswidget1.org" - /> + <subject-match attr="id" match="http://maliciouswidget1.example.org"> </subject> - </target> <rule effect=deny> - <condition combine=or> - <resource-match attr=widget-install /> <resource-match - attr=widget-instantiate /> <resource-match attr=api-feature match=* - /> <resource-match attr=dev-cap match=* /> </condition> + </target> <rule effect="deny"> + <condition combine="or"> + <resource-match attr="widget-install" /> <resource-match + attr="widget-instantiate" /> <resource-match attr="api-feature" match="*" + /> <resource-match attr="dev-cap" match="*" /> </condition> </rule> </code></pre> </section> <!-- premium-rate-abuse -->
Received on Tuesday, 13 April 2010 15:01:40 UTC