Update of /var/cvs/config
In directory james.mmbase.org:/tmp/cvs-serv2186

Modified Files:
        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.69
retrieving revision 1.70
diff -u -b -r1.69 -r1.70
--- datatypes.xml       8 Aug 2008 15:23:12 -0000       1.69
+++ datatypes.xml       11 Aug 2008 13:29:50 -0000      1.70
@@ -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.69 2008/08/08 15:23:12 andre Exp $ -->
+  <!-- @version $Id: datatypes.xml,v 1.70 2008/08/11 13:29:50 michiel Exp $ -->
 
   <!--
   schematic syntax of one datatype entry:
@@ -154,7 +154,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>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to