Update of /var/cvs/config
In directory james.mmbase.org:/tmp/cvs-serv2085
Modified Files:
Tag: MMBase-1_8
datatypes.xml
Log Message:
added a bit more reasonable error message for dutch zipcode
See also: http://cvs.mmbase.org/viewcvs/config
Index: datatypes.xml
===================================================================
RCS file: /var/cvs/config/datatypes.xml,v
retrieving revision 1.45.2.13
retrieving revision 1.45.2.14
diff -u -b -r1.45.2.13 -r1.45.2.14
--- datatypes.xml 19 Jun 2008 13:49:15 -0000 1.45.2.13
+++ datatypes.xml 11 Aug 2008 13:28:59 -0000 1.45.2.14
@@ -4,7 +4,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.mmbase.org/xmlns/datatypes
http://www.mmbase.org/xmlns/datatypes.xsd">
- <!-- @version $Id: datatypes.xml,v 1.45.2.13 2008/06/19 13:49:15 michiel Exp
$ -->
+ <!-- @version $Id: datatypes.xml,v 1.45.2.14 2008/08/11 13:28:59 michiel Exp
$ -->
<!--
schematic syntax of one datatype entry:
@@ -153,7 +153,10 @@
<description xml:lang="en">
The valid values of such a field, are zip-codes as they are used in
the Netherlands.
</description>
- <pattern value="(?i)\A[0-9]{4}\s*[A-Z]{2}\z" />
+ <pattern value="(?i)\A[0-9]{4}\s*[A-Z]{2}\z">
+ <description xml:lang="nl">Ongeldige postcode. Een geldige postcode is
bijv. 1234 AB.</description>
+ <description xml:lang="en">Invalide zipcode. A valid dutch zip code is
e.g. 1234 AB.</description>
+ </pattern>
<setprocessor>
<class name="org.mmbase.util.transformers.UpperCaser" />
</setprocessor>
@@ -720,4 +723,8 @@
</specialization>
</datatype>
+ <datatype id="list">
+ <class name="org.mmbase.datatypes.ListDataType" />
+ </datatype>
+
</datatypes>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs