diff _test/Resources/types.xml @ 100:df6b4f054957

Schema in progress Added simple mailer
author wizard
date Thu, 06 May 2010 00:54:17 +0400
parents 6dd659f6f66c
children d8dc6cad3f55
line wrap: on
line diff
--- a/_test/Resources/types.xml	Wed May 05 17:33:55 2010 +0400
+++ b/_test/Resources/types.xml	Thu May 06 00:54:17 2010 +0400
@@ -1,5 +1,7 @@
 <schema>
-	<SimpleType name="email" nativeType="SCALAR"/>
+	<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"/>
 </schema>
\ No newline at end of file