W3C home > Mailing lists > Public > public-html-commits@w3.org > February 2012

html5/markup/src datatypes.html,1.59,1.60

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 13 Feb 2012 07:21:55 +0000
To: public-html-commits@w3.org
Message-Id: <E1RwqEV-0004Bu-J0@lionel-hutz.w3.org>
Update of /sources/public/html5/markup/src
In directory hutz:/tmp/cvs-serv15526/src

Modified Files:
	datatypes.html 
Log Message:
Fix bug 15761. Thanks Filipus Klutiero.
Also define "non-empty string" and "string without breaks".


Index: datatypes.html
===================================================================
RCS file: /sources/public/html5/markup/src/datatypes.html,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -d -r1.59 -r1.60
--- datatypes.html	12 May 2011 07:23:50 -0000	1.59
+++ datatypes.html	13 Feb 2012 07:21:53 -0000	1.60
@@ -774,6 +774,8 @@
         <var class="defined-elsewhere">ldh-str</var>
         is as defined in
         <a href="#refsRFC1034">[RFC 1034]</a>.</p>
+      <p>That is, any string which matches the following regular expression:</p>
+      <pre><code>/^[a-zA-Z0-9.!#$%&amp;’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/</code></pre>
       </div>
       <div class="example">
         <p>Examples:</p>
@@ -947,4 +949,21 @@
       points of the polygon, in order.</div>
     </dd>
   </dl>
+  <dl><dt>nonemptystring</dt>
+    <dd></dd>
+    <dd>
+      <div class="datatype-desc">
+      Any string that is not empty.
+      </div>
+    </dd>
+  </dl>
+  <dl><dt>stringwithoutlinebreaks</dt>
+    <dd></dd>
+    <dd>
+      <div class="datatype-desc">
+      Any string that contains no line feed (U+000A, “LF”) or carriage
+      return (U+000D, “CR”) characters.
+      </div>
+    </dd>
+  </dl>
 </section>
Received on Monday, 13 February 2012 07:21:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 13 February 2012 07:21:59 GMT