html5/markup/tools chunker.xsl,1.16,1.17 generate-spec-source.xsl,1.290,1.291 specgen.xsl,1.79,1.80

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

Modified Files:
	chunker.xsl generate-spec-source.xsl specgen.xsl 
Log Message:
made markup-consistency fix from Dom


Index: generate-spec-source.xsl
===================================================================
RCS file: /sources/public/html5/markup/tools/generate-spec-source.xsl,v
retrieving revision 1.290
retrieving revision 1.291
diff -u -d -r1.290 -r1.291
--- generate-spec-source.xsl	4 Aug 2010 17:17:59 -0000	1.290
+++ generate-spec-source.xsl	5 Aug 2010 07:42:17 -0000	1.291
@@ -2103,7 +2103,7 @@
               <div class="attr-content-models">
                 <p>
                   <span class="pattern" id="colgroup.attrs">
-                    <a class="ref"
+                    <a
                       title="global-attributes"
                       href="#global-attributes">global attributes</a>
                     <span class="postfix optional">?</span>
@@ -2152,7 +2152,7 @@
             <xsl:when test="@name='li'">
               <div class="attr-content-models">
                 <p>
-                  <a class="ref"
+                  <a
                     title="global-attributes"
                     href="#global-attributes">global attributes</a>
                   <span class="postfix optional">?</span>

Index: specgen.xsl
===================================================================
RCS file: /sources/public/html5/markup/tools/specgen.xsl,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -d -r1.79 -r1.80
--- specgen.xsl	5 Aug 2010 05:40:28 -0000	1.79
+++ specgen.xsl	5 Aug 2010 07:42:17 -0000	1.80
@@ -131,7 +131,7 @@
   <xsl:template name="make-index">
     <xsl:variable name="index-contents">
     <xsl:text>&#10;</xsl:text>
-      <div id="index">
+      <div>
         <xsl:text>&#10;</xsl:text>
         <h2>Index <a class="hash" href="#index">#</a>
           <xsl:text> </xsl:text>
@@ -298,7 +298,9 @@
     </xsl:variable>
     <xsl:choose>
       <xsl:when test="$chunk = 0">
-        <xsl:copy-of select="$index-contents"/>
+        <div id="index">
+          <xsl:copy-of select="$index-contents"/>
+        </div>
       </xsl:when>
       <xsl:otherwise>
         <xsl:call-template name="write.chunk">

Index: chunker.xsl
===================================================================
RCS file: /sources/public/html5/markup/tools/chunker.xsl,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- chunker.xsl	5 Aug 2010 05:40:28 -0000	1.16
+++ chunker.xsl	5 Aug 2010 07:42:17 -0000	1.17
@@ -11,7 +11,7 @@
   <!-- * "Acknowledgements" comment at the end of this file. -->
 
   <xsl:template name="write.chunk">
-    <xsl:param name="id"/>
+    <xsl:param name="id" select="@id"/>
     <xsl:param name="maturity">ED</xsl:param>
     <xsl:param name="filename" select="''"/>
     <xsl:param name="quiet" select="0"/>
@@ -45,6 +45,7 @@
       doctype-system="{$doctype-system}"
       >
       <xsl:call-template name="build.chunk">
+        <xsl:with-param name="id" select="$id"/>
         <xsl:with-param name="title" select="$title"/>
         <xsl:with-param name="prev" select="$prev"/>
         <xsl:with-param name="next" select="$next"/>
@@ -55,6 +56,7 @@
     </exsl:document>
   </xsl:template>
   <xsl:template name="build.chunk">
+    <xsl:param name="id" select="@id"/>
     <xsl:param name="title"/>
     <xsl:param name="prev"/>
     <xsl:param name="next"/>
@@ -129,7 +131,7 @@
         </xsl:otherwise>
       </xsl:choose>
     </xsl:variable>
-    <html id="{@id}">
+    <html id="{$id}">
       <xsl:text>&#10;</xsl:text>
       <head>
         <xsl:text>&#10;</xsl:text>

Received on Thursday, 5 August 2010 07:42:22 UTC