W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2009

[whatwg] Microdata example validation

From: Philip Jägenstedt <philipj@opera.com>
Date: Tue, 17 Nov 2009 23:11:18 +0100
Message-ID: <op.u3j7w4hdsr6mfa@worf>

The Jack Bauer example has validation issues (using http://validator.nu/)

My fix:

--- jack.html.orig	2009-11-17 11:03:03.000000000 +0100
+++ jack.html	2009-11-17 11:03:19.000000000 +0100
@@ -41,12 +41,12 @@
   you're interested in the CTU five-a-side football team we're trying
   to get going.</p>
- <ins datetime="2008-07-20T21:00:00+0100">
+ <ins datetime="2008-07-20T21:00:00+01:00">
    <span itemprop="rev" itemscope>
     <meta itemprop="type" content="date-time">
-   <meta itemprop="value" content="2008-07-20T21:00:00+0100">
+   <meta itemprop="value" content="2008-07-20T21:00:00+01:00">
    <p itemprop="tel" itemscope><strong>Update!</strong>
    My new <span itemprop="type">home</span> phone number is
-  <span itemprop="value">01632 960 123</span>.
+  <span itemprop="value">01632 960 123</span>.</p>

This is just a convenient format, not a patch...

Apart from this I get validation errors in this and many other examples  
because the meta and link elements aren't allowed in the contexts where  
they are used, but I suspect this is just validator.nu being in need of  
fixing (waiting for new account email so I can report).

Philip J?genstedt
Received on Tuesday, 17 November 2009 14:11:18 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:19 UTC