diff _test/Resources/types.xml @ 101:d8dc6cad3f55

Schema in progress
author wizard
date Thu, 06 May 2010 17:55:59 +0400
parents df6b4f054957
children cf3b6ef2be22
line wrap: on
line diff
--- a/_test/Resources/types.xml	Thu May 06 00:54:17 2010 +0400
+++ b/_test/Resources/types.xml	Thu May 06 17:55:59 2010 +0400
@@ -2,6 +2,9 @@
 	<SimpleType type="email" nativeType="SCALAR">
 		<RegExp message="Неверный формат %Node.name_no%">^\w+(\.\w+)*@$\w+(\.\w+)+</RegExp>
 	</SimpleType>
-	<SimpleType name="scalar" nativeType="SCALAR"/>
-	<SimpleType name="date" nativeType="DateTime"/>
+	<SimpleType type="scalar" nativeType="SCALAR"/>
+	<SimpleType type="date" nativeType="DateTime">
+		<Property name="timezone" optional="1"/>
+		<Property name="locale" optional="1"/>
+	</SimpleType>
 </schema>
\ No newline at end of file