html5/pubnotes Overview.html,1.298,1.299 Overview.src.html,1.284,1.285 specgen.xsl,1.35,1.36

Update of /sources/public/html5/pubnotes
In directory hutz:/tmp/cvs-serv18086

Modified Files:
	Overview.html Overview.src.html specgen.xsl 
Log Message:
build fix: changed the way that timestamps a generated


Index: specgen.xsl
===================================================================
RCS file: /sources/public/html5/pubnotes/specgen.xsl,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- specgen.xsl	30 Jun 2008 01:14:40 -0000	1.35
+++ specgen.xsl	8 Jul 2008 23:58:04 -0000	1.36
@@ -1,7 +1,8 @@
 <xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform'
                 xmlns:h='http://www.w3.org/1999/xhtml'
                 xmlns='http://www.w3.org/1999/xhtml'
-                exclude-result-prefixes='h'
+                xmlns:date="http://exslt.org/dates-and-times"
+                exclude-result-prefixes='h date'
                 version='1.0' id='xslt'>
 
   <xsl:output method='xml' encoding='UTF-8'
@@ -200,22 +201,26 @@
 
   <xsl:template name='date'>
     <xsl:variable name='date'>
-      <xsl:choose>
-        <xsl:when test='$maturity="ED"'>
-          <xsl:value-of select='translate(substring-before(substring-after(substring-after(substring-after($id, " "), " "), " "), " "), "/", "")'/>
-        </xsl:when>
-        <xsl:otherwise>
-          <xsl:value-of select='substring($this, string-length($this) - 8, 8)'/>
-        </xsl:otherwise>
-      </xsl:choose>
+      <xsl:value-of select='substring($this, string-length($this) - 8, 8)'/>
     </xsl:variable>
-    <xsl:value-of select='number(substring($date, 7))'/>
-    <xsl:text> </xsl:text>
-    <xsl:call-template name='monthName'>
-      <xsl:with-param name='n' select='number(substring($date, 5, 2))'/>
-    </xsl:call-template>
-    <xsl:text> </xsl:text>
-    <xsl:value-of select='substring($date, 1, 4)'/>
+    <xsl:choose>
+      <xsl:when test='$maturity="ED"'>
+        <xsl:value-of select="date:day-in-month()"/>
+        <xsl:text> </xsl:text>
+        <xsl:value-of select="date:month-name()"/>
+        <xsl:text> </xsl:text>
+        <xsl:value-of select="date:year()"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select='number(substring($date, 7))'/>
+        <xsl:text> </xsl:text>
+        <xsl:call-template name='monthName'>
+          <xsl:with-param name='n' select='number(substring($date, 5, 2))'/>
+        </xsl:call-template>
+        <xsl:text> </xsl:text>
+        <xsl:value-of select='substring($date, 1, 4)'/>
+      </xsl:otherwise>
+    </xsl:choose>
   </xsl:template>
 
   <xsl:template name='maturity'>
@@ -256,12 +261,13 @@
   </xsl:template>
 
   <xsl:template name='revision-note'>
-      <xsl:if test='$maturity="ED"'>
-        <div class='ednote'>
-          <h4 class='ednoteHeader'>Editorial note</h4>
-          <p>This is revision <xsl:value-of select='$id'/>.</p>
-        </div>
-      </xsl:if>
+    <xsl:if test='$maturity="ED"'>
+      <div class='ednote'>
+        <h4 class='ednoteHeader'>Editorial note</h4>
+        <p>This document was generated on
+          <b><xsl:value-of select='date:date-time()'/></b>.</p>
+      </div>
+    </xsl:if>
   </xsl:template>
 
   <xsl:template match="h:*[@id = 'status']">

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/pubnotes/Overview.html,v
retrieving revision 1.298
retrieving revision 1.299
diff -u -d -r1.298 -r1.299
--- Overview.html	8 Jul 2008 23:34:10 -0000	1.298
+++ Overview.html	8 Jul 2008 23:58:03 -0000	1.299
@@ -5,7 +5,7 @@
 <!-- * Run “make” to regenerate it. -->
 <!-- * -->
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>HTML 5 Publication Notes</title>
-    <meta content="$Id$" name="revision" />
+    
     <link href="style.css" type="text/css" rel="stylesheet" />
     
     
@@ -13,7 +13,7 @@
   </head>
   <body><div class="head"><div><a href="http://www.w3.org/"><img src="http://www.w3.org/Icons/w3c_home" width="72" height="48" alt="W3C" /></a></div><h1>HTML 5 Publication Notes</h1><h2>
         W3C
-        Editor’s Draft <em>8 July 2008</em></h2><dl><dt>Latest Editor’s Draft:</dt><dd><a id="latestED" href="http://dev.w3.org/html5/pubnotes/Overview.src.html">http://dev.w3.org/html5/pubnotes/Overview.src.html</a><script type="text/ecmascript">
+        Editor’s Draft <em>9 July 2008</em></h2><dl><dt>Latest Editor’s Draft:</dt><dd><a id="latestED" href="http://dev.w3.org/html5/pubnotes/Overview.src.html">http://dev.w3.org/html5/pubnotes/Overview.src.html</a><script type="text/ecmascript">
                 var id = "$Id$";
                 var a = document.getElementById('cvsVersionLink');
                 var xs = id.match(/ ([0-9]\.[0-9.]+) /);
@@ -42,7 +42,8 @@
         made, without necessarily needing to read the
         specification itself or to read through the entire diff
         document that shows all the changes..</p>
-    <div class="ednote"><h4 class="ednoteHeader">Editorial note</h4><p>This is revision $Id$.</p></div></div>
+    <div class="ednote"><h4 class="ednoteHeader">Editorial note</h4><p>This document was generated on
+          <b>2008-07-09T08:57:25+09:00</b>.</p></div></div>
     <div id="status">
       <h2>Status of this Document</h2>
     <p><em>
@@ -52,7 +53,7 @@
         report can be found in the <a href="http://www.w3.org/TR/">W3C technical
           reports index</a> at http://www.w3.org/TR/.
       </em></p><p>
-        This document is the 8 July 2008 <b>Editor’s Draft</b> of 
+        This document is the 9 July 2008 <b>Editor’s Draft</b> of 
         <cite>HTML 5 Publication Notes</cite>.
       
       Please send comments about this document to

Index: Overview.src.html
===================================================================
RCS file: /sources/public/html5/pubnotes/Overview.src.html,v
retrieving revision 1.284
retrieving revision 1.285
diff -u -d -r1.284 -r1.285
--- Overview.src.html	8 Jul 2008 23:34:10 -0000	1.284
+++ Overview.src.html	8 Jul 2008 23:58:03 -0000	1.285
@@ -6,7 +6,7 @@
 <!-- * See comment at end of file. -->
 <html lang=en>
   <head><meta charset=utf-8><title>HTML 5 Publication Notes</title>
-    <meta name='revision' content='$Id$'>
+    <!-- * <meta name='revision' content='$Id$'> -->
     <link rel=stylesheet href=style.css type=text/css>
     <link rel=stylesheet href=http://www.w3.org/StyleSheets/TR/W3C-ED type=text/css>
     <link rel=stylesheet href=src.css type=text/css>

Received on Tuesday, 8 July 2008 23:58:41 UTC