diff --git a/core/trunk/core/xml/datatypes.xsd b/core/trunk/core/xml/datatypes.xsd
index 9f584a35db02d9449f9f022665363c59ea447a45..e1e92f5b086f84abd0155c0ee731278f4d1e465a 100644
--- a/core/trunk/core/xml/datatypes.xsd
+++ b/core/trunk/core/xml/datatypes.xsd
@@ -176,4 +176,13 @@
     <xsd:union memberTypes="xsd:date xsd:time xsd:string" das:baseType="xsd:string"/>
   </xsd:simpleType>
 
+    <!-- Datetime --> 
+  <xsd:simpleType name="date" das:enclosed='true'>
+    <xsd:annotation>
+      <xsd:appinfo>
+        <das:sqltype driver='postgresql'>date</das:sqltype>
+      </xsd:appinfo>
+    </xsd:annotation>
+    <xsd:union memberTypes="xsd:date" das:baseType="xsd:string"/>
+  </xsd:simpleType>
 </xsd:schema>