W3C home > Mailing lists > Public > public-dap-commits@w3.org > June 2010

2009/dap/policy Profile.html,1.11,1.12

From: Dominique Hazael-Massieux via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 21 Jun 2010 13:31:48 +0000
To: public-dap-commits@w3.org
Message-Id: <E1OQh6K-0002wW-N1@lionel-hutz.w3.org>
Update of /sources/public/2009/dap/policy
In directory hutz:/tmp/cvs-serv11282

Modified Files:
	Profile.html 
Log Message:
making second xml code more readable (indent, well-formedness)


Index: Profile.html
===================================================================
RCS file: /sources/public/2009/dap/policy/Profile.html,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- Profile.html	21 Jun 2010 13:29:34 -0000	1.11
+++ Profile.html	21 Jun 2010 13:31:46 -0000	1.12
@@ -990,17 +990,19 @@
  </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:</p>
-	<pre><code> <code>&lt;target&gt;</code>
-	    <code>&lt;subject&gt;</code>
-		&lt;subject-match attr="id" match="http://maliciouswidget1.example.org"&gt;
-	    &lt;/subject&gt;
-	&lt;/target&gt; &lt;rule effect="deny"&gt;
-	   &lt;condition combine="or"&gt;
-	    &lt;resource-match attr="widget-install" /&gt; &lt;resource-match
-	    attr="widget-instantiate" /&gt; &lt;resource-match attr="api-feature" match="*"
-	    /&gt; &lt;resource-match attr="dev-cap" match="*" /&gt; &lt;/condition&gt;
-	  &lt;/rule&gt;
-	</code></pre>
+	<pre><code>&lt;target&gt;
+  &lt;subject&gt;
+    &lt;subject-match attr="id" match="http://maliciouswidget1.example.org"/&gt;
+   &lt;/subject&gt;
+&lt;/target&gt;
+&lt;rule effect="deny"&gt;
+  &lt;condition combine="or"&gt;
+    &lt;resource-match attr="widget-install" /&gt; &lt;resource-match
+      attr="widget-instantiate" /&gt;
+    &lt;resource-match attr="api-feature" match="*"/&gt;
+    &lt;resource-match attr="dev-cap" match="*" /&gt;
+  &lt;/condition&gt;
+&lt;/rule&gt;</code></pre>
     </section> <!-- premium-rate-abuse -->
 </section> <!-- example policies -->
 </section>
Received on Monday, 21 June 2010 13:31:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 21 June 2010 13:31:53 GMT