[Ooc-checkins] libpobj dictionary.dtd,1.89,1.90
Brought to you by:
mva
From: Michael v. A. <mv...@us...> - 2008-07-30 11:07:21
|
Update of /cvsroot/ooc/libpobj In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv7396 Modified Files: dictionary.dtd Log Message: add support for errorMsgKey Index: dictionary.dtd =================================================================== RCS file: /cvsroot/ooc/libpobj/dictionary.dtd,v retrieving revision 1.89 retrieving revision 1.90 diff -u -d -r1.89 -r1.90 --- dictionary.dtd 2 Jun 2008 11:55:38 -0000 1.89 +++ dictionary.dtd 30 Jul 2008 10:53:40 -0000 1.90 @@ -192,9 +192,14 @@ `restrictTo=regexp' - The whole string must match the regular expression in + The whole string must match the regular expression in pattern. + `errorMsgKey' + + An optional error message resource key that should be used if the + restriction does not match. + The `pattern' child element is required, although its content is ignored for `anything', `alphanum', and `numeric'. --> @@ -202,7 +207,8 @@ <!ELEMENT pattern (#PCDATA)> <!ELEMENT stringPattern (description?, pattern)> <!ATTLIST stringPattern name CDATA #REQUIRED - restrictTo %restrictVariants; "anything"> + restrictTo %restrictVariants; "anything" + errorMsgKey NMTOKEN #IMPLIED> <!-- A `type' element defines a named type. Using the `typeRef' element, a field or parameter definition may refer to this type. @@ -855,6 +861,11 @@ The minimum number of characters that a (non-NULL) value of this type must hold. Default is zero. + `errorMsgKey' + + An optional error message resource key that should be used if the + restriction does not match. + The type is mapped to these SQL and programming language types: @@ -870,7 +881,8 @@ patternName CDATA #IMPLIED restrictTo %restrictVariants; "anything" pattern CDATA #IMPLIED - minimumLength CDATA "0"> + minimumLength CDATA "0" + errorMsgKey NMTOKEN #IMPLIED> <!-- Reference to an object. In SQL terms, this is a foreign key constraint on the id attribute of a table. For the application, it is a pointer |