W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > May 2008

xsd:date or xsd:#date?

From: Micah Dubinko <mdubinko@yahoo-inc.com>
Date: Thu, 01 May 2008 10:09:56 -0700
Message-ID: <4819F964.60100@yahoo-inc.com>
To: RDFa <public-rdf-in-xhtml-tf@w3.org>
CC: Peter Mika <pmika@yahoo-inc.com>

Here is an example from the latest editors' draft 

In it, I see what seems to be 2 minor errors, and one possibly larger one.

  <head><title>Jo's Friends and Family Blog</title></head>
      I'm holding
      <span property="cal:summary">
        one last summer Barbecue
      <span property="cal:dtstart" content="20070916T1600-0500"
        September 16th at 4pm

Minor: The datatype should be called xsd:dateTime (capital T)
Minor: The value should be "2007-09-16T16:00-05:00", not 
(ISO8601 seems to allow skipping the delimiters, but XML Schema doesn't)

Here's the possibly significant error:

1. The properly declared namespace for XML Schema is 

2. The value of the datatype CURIE on line 15 is xsd:dateTime

3. Applying the CURIE algorithm--simple concatenation--yields 
--Which is not recognized as a XML Schema datatype! There's no source 
for the intervening # character to originate from.

Is it necessary to write xsd:#dateTime? Or is the XML Schema (and 
possibly other?) namespces grandfathered in somehow?

In Section 2 you define the xsd namespace differently (and not per XML 
Schema spec, AFAICT)
xsd: http://www.w3.org/2001/XMLSchema#

Apologies if this has been mentioned or discussed before, but as far as 
I can see, this looks like an error in the specification. We noticed 
this during implementation. Other parts of the specification have 
similar markup, this one example is just to keep the discussion crisp.

Thanks for looking,

Received on Thursday, 1 May 2008 17:11:28 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:27 UTC