html5/markup/tools generate-spec-source.xsl,1.313,1.314

Update of /sources/public/html5/markup/tools
In directory hutz:/tmp/cvs-serv12867/tools

Modified Files:
	generate-spec-source.xsl 
Log Message:
updated

Index: generate-spec-source.xsl
===================================================================
RCS file: /sources/public/html5/markup/tools/generate-spec-source.xsl,v
retrieving revision 1.313
retrieving revision 1.314
diff -u -d -r1.313 -r1.314
--- generate-spec-source.xsl	13 Feb 2012 07:21:53 -0000	1.313
+++ generate-spec-source.xsl	13 Mar 2012 01:49:30 -0000	1.314
@@ -48,28 +48,28 @@
       </s:rule>
     </xsl:for-each>
   </xsl:variable>
-  <xsl:variable name="warnings">
-    <xsl:for-each
-      select="document('../syntax/relaxng/warnings.sch')//*[@context]">
-      <s:rule>
-        <xsl:choose>
-          <xsl:when test="contains(@context,'|')">
-            <xsl:for-each select="str:tokenize(@context,'|')">
-              <xsl:call-template name="get-context"/>
-            </xsl:for-each>
-          </xsl:when>
-          <xsl:otherwise>
-            <xsl:for-each select="@context">
-              <xsl:call-template name="get-context"/>
-            </xsl:for-each>
-          </xsl:otherwise>
-        </xsl:choose>
-        <xsl:for-each select="s:report|s:assert">
-          <xsl:copy-of select="."/>
-        </xsl:for-each>
-      </s:rule>
-    </xsl:for-each>
-  </xsl:variable>
+  <!-- * <xsl:variable name="warnings"> -->
+    <!-- * <xsl:for-each -->
+      <!-- * select="document('../syntax/relaxng/warnings.sch')//*[@context]"> -->
+      <!-- * <s:rule> -->
+        <!-- * <xsl:choose> -->
+          <!-- * <xsl:when test="contains(@context,'|')"> -->
+            <!-- * <xsl:for-each select="str:tokenize(@context,'|')"> -->
+              <!-- * <xsl:call-template name="get-context"/> -->
+            <!-- * </xsl:for-each> -->
+          <!-- * </xsl:when> -->
+          <!-- * <xsl:otherwise> -->
+            <!-- * <xsl:for-each select="@context"> -->
+              <!-- * <xsl:call-template name="get-context"/> -->
+            <!-- * </xsl:for-each> -->
+          <!-- * </xsl:otherwise> -->
+        <!-- * </xsl:choose> -->
+        <!-- * <xsl:for-each select="s:report|s:assert"> -->
+          <!-- * <xsl:copy-of select="."/> -->
+        <!-- * </xsl:for-each> -->
+      <!-- * </s:rule> -->
+    <!-- * </xsl:for-each> -->
+  <!-- * </xsl:variable> -->
   <xsl:template match="/">
     <html xml:lang="en">
       <xsl:text>&#10;  </xsl:text>
@@ -2704,18 +2704,18 @@
           </xsl:otherwise>
         </xsl:choose>
         <xsl:text>&#10;          </xsl:text>
-        <xsl:if
-          test="exsl:node-set($warnings)/s:rule[child::s:context = $name]
-          [child::s:report[@test[contains(.,concat('@',$attribute-name))]]]
-          and not($attribute-name='summary')
-          ">
-          <dd class="warning">
-            <xsl:value-of
-              select="exsl:node-set($warnings)/s:rule[child::s:context = $name]
-              /s:report[@test[contains(.,concat('@',$attribute-name))]]
-              "/>
-          </dd>
-        </xsl:if>
+        <!-- * <xsl:if -->
+          <!-- * test="exsl:node-set($warnings)/s:rule[child::s:context = $name] -->
+          <!-- * [child::s:report[@test[contains(.,concat('@',$attribute-name))]]] -->
+          <!-- * and not($attribute-name='summary') -->
+          <!-- * "> -->
+          <!-- * <dd class="warning"> -->
+            <!-- * <xsl:value-of -->
+              <!-- * select="exsl:node-set($warnings)/s:rule[child::s:context = $name] -->
+              <!-- * /s:report[@test[contains(.,concat('@',$attribute-name))]] -->
+              <!-- * "/> -->
+          <!-- * </dd> -->
+        <!-- * </xsl:if> -->
         <xsl:for-each select="exsl:node-set($definition)/*/*[@class='attr-values']/h:a">
           <xsl:if test="
             starts-with(@href,'#common.data.')

Received on Tuesday, 13 March 2012 01:49:43 UTC