- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Sat, 09 May 2009 14:59:00 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/markup In directory hutz:/tmp/cvs-serv14351 Modified Files: datatypes.html spec.html Log Message: h:tml; dispense with the nonzero-date-fullyear nonsense Index: datatypes.html =================================================================== RCS file: /sources/public/html5/markup/datatypes.html,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- datatypes.html 6 May 2009 10:26:29 -0000 1.6 +++ datatypes.html 9 May 2009 14:58:58 -0000 1.7 @@ -124,8 +124,9 @@ <li>the literal letters <code>T</code> and <code>Z</code> in the date/time syntax must always be uppercase</li> - <li>the year component is a <dfn id="data-nonzero-date-fullyear">nonzero-date-fullyear</dfn>, defined as: Four or more - digits, representing <var title="">year</var>, where <var title="">year</var> > 0</li> + <li>a <dfn id="data-date-fullyear">date-fullyear</dfn> is + defined as four or more digits representing a number + greater than 0</li> </ul> <div class="example"> @@ -290,9 +291,10 @@ <div class="content-models"> <div><span class="common-pattern-name"><dfn id="form.data.date">date</dfn></span><code class="punc"> = </code> <a href="datatypes.html#form.data.date" class="hash">#</a></div> <div class="datatype-desc">A valid <b class="defined-elsewhere">full-date</b>, as defined in - RFC 3339 <a href="references.html#refsRFC3339">[RFC3339]</a>, with the - additional qualification that the year component is a - <a href="datatypes.html#data-nonzero-date-fullyear">nonzero-date-fullyear</a>.</div> + RFC 3339 <a href="references.html#refsRFC3339">[RFC3339]</a>, with the + additional qualification that the year component is a + <a href="datatypes.html#data-date-fullyear">date-fullyear</a> as + defined in this document.</div> <div class="example"> <p>Example:</p> @@ -303,7 +305,7 @@ <div id="form.data.month-mdl" class="section"> <h2 class="common-subhead">10.35. Month <a class="hash" href="#form.data.month-mdl">#</a></h2> <div class="content-models"> - <div><span class="common-pattern-name"><dfn id="form.data.month">month</dfn></span><code class="punc"> = </code><a href="datatypes.html#data-nonzero-date-fullyear">nonzero-date-fullyear</a> "-" <a href="datatypes.html#data-date-month">date-month</a> <a href="datatypes.html#form.data.month" class="hash">#</a></div> + <div><span class="common-pattern-name"><dfn id="form.data.month">month</dfn></span><code class="punc"> = </code><a href="datatypes.html#data-date-fullyear">date-fullyear</a> "-" <a href="datatypes.html#data-date-month">date-month</a> <a href="datatypes.html#form.data.month" class="hash">#</a></div> <div class="datatype-desc">…where <dfn id="data-date-month">date-month</dfn> is as defined in RFC 3339 <a href="references.html#refsRFC3339">[RFC3339]</a>.</div> <div class="example"> @@ -315,7 +317,7 @@ <div id="form.data.week-mdl" class="section"> <h2 class="common-subhead">10.36. Week <a class="hash" href="#form.data.week-mdl">#</a></h2> <div class="content-models"> - <div><span class="common-pattern-name"><dfn id="form.data.week">week</dfn></span><code class="punc"> = </code><a href="datatypes.html#data-nonzero-date-fullyear">nonzero-date-fullyear</a> "-W" <a href="datatypes.html#data-date-week">date-week</a> <a href="datatypes.html#form.data.week" class="hash">#</a></div> + <div><span class="common-pattern-name"><dfn id="form.data.week">week</dfn></span><code class="punc"> = </code><a href="datatypes.html#data-date-fullyear">date-fullyear</a> "-W" <a href="datatypes.html#data-date-week">date-week</a> <a href="datatypes.html#form.data.week" class="hash">#</a></div> <div class="datatype-desc">…where <dfn id="data-date-week">date-week</dfn> is a valid <b class="defined-elsewhere">date-week</b>, as defined in RFC 3339 <a href="references.html#refsRFC3339">[RFC3339]</a>.</div> Index: spec.html =================================================================== RCS file: /sources/public/html5/markup/spec.html,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- spec.html 9 May 2009 08:33:00 -0000 1.14 +++ spec.html 9 May 2009 14:58:58 -0000 1.15 @@ -14513,8 +14513,9 @@ <li>the literal letters <code>T</code> and <code>Z</code> in the date/time syntax must always be uppercase</li> - <li>the year component is a <dfn id="data-nonzero-date-fullyear">nonzero-date-fullyear</dfn>, defined as: Four or more - digits, representing <var title="">year</var>, where <var title="">year</var> > 0</li> + <li>a <dfn id="data-date-fullyear">date-fullyear</dfn> is + defined as four or more digits representing a number + greater than 0</li> </ul> <div class="example"> <p>Examples:</p> @@ -14737,9 +14738,10 @@ <span class="common-pattern-name"><dfn id="form.data.date">date</dfn></span><code class="punc"> = </code> <a href="#form.data.date" class="hash">#</a> </div> <div class="datatype-desc">A valid <b class="defined-elsewhere">full-date</b>, as defined in - RFC 3339 <a href="#refsRFC3339">[RFC3339]</a>, with the - additional qualification that the year component is a - <a href="#data-nonzero-date-fullyear">nonzero-date-fullyear</a>.</div> + RFC 3339 <a href="#refsRFC3339">[RFC3339]</a>, with the + additional qualification that the year component is a + <a href="#data-date-fullyear">date-fullyear</a> as + defined in this document.</div> <div class="example"> <p>Example:</p> @@ -14752,7 +14754,7 @@ </h2> <div class="content-models"> <div> -<span class="common-pattern-name"><dfn id="form.data.month">month</dfn></span><code class="punc"> = </code><a href="#data-nonzero-date-fullyear">nonzero-date-fullyear</a> "-" <a href="#data-date-month">date-month</a> <a href="#form.data.month" class="hash">#</a> +<span class="common-pattern-name"><dfn id="form.data.month">month</dfn></span><code class="punc"> = </code><a href="#data-date-fullyear">date-fullyear</a> "-" <a href="#data-date-month">date-month</a> <a href="#form.data.month" class="hash">#</a> </div> <div class="datatype-desc">…where <dfn id="data-date-month">date-month</dfn> is as defined in RFC 3339 <a href="#refsRFC3339">[RFC3339]</a>.</div> @@ -14767,7 +14769,7 @@ </h2> <div class="content-models"> <div> -<span class="common-pattern-name"><dfn id="form.data.week">week</dfn></span><code class="punc"> = </code><a href="#data-nonzero-date-fullyear">nonzero-date-fullyear</a> "-W" <a href="#data-date-week">date-week</a> <a href="#form.data.week" class="hash">#</a> +<span class="common-pattern-name"><dfn id="form.data.week">week</dfn></span><code class="punc"> = </code><a href="#data-date-fullyear">date-fullyear</a> "-W" <a href="#data-date-week">date-week</a> <a href="#form.data.week" class="hash">#</a> </div> <div class="datatype-desc">…where <dfn id="data-date-week">date-week</dfn> is a valid <b class="defined-elsewhere">date-week</b>, as defined in RFC 3339 <a href="#refsRFC3339">[RFC3339]</a>.</div>
Received on Saturday, 9 May 2009 14:59:08 UTC