<p>For "list-single" or "list-multi", to indicate that the user may enter a custom value (matching the datatype constraints) or choose from the predefined values, the <validate/> element shall contain an <open/> child element:</p>
@ -160,7 +165,6 @@
@@ -160,7 +165,6 @@
</field>
]]></example>
<p>The <open/> validation method applies to "text-multi" differently; it hints that each value for a "text-multi" field shall be validated separately. This effectively turns "text-multi" fields into an open-ended "list-multi", with no options and all values automatically selected.</p>
<p>The <open/> element MUST be empty (i.e., not contain any character data or child elements) and MUST NOT possess any attributes.</p>
<p>To indicate that the value should fall within a certain range, the <validate/> element shall contain a <range/> child element:</p>
@ -178,7 +182,6 @@
@@ -178,7 +182,6 @@
<p>The 'max' attribute specifies the maximum allowable value. This attribute is OPTIONAL. The value depends on the datatype in use.</p>
<p>The 'min' attribute specifies the minimum allowable value. This attribute is OPTIONAL. The value depends on the datatype in use.</p>
<p>The <range/> element SHOULD possess either a 'min' or 'max' attribute, and MAY possess both. If neither attribute is included, the processor MUST assume that there are no range constraints.</p>
<p>The <range/> element MUST be empty (i.e., not contain any character data or child elements).</p>
<p>To indicate that the value should be restricted to a regular expression, the <validate/> element shall contain a <regex/> child element:</p>
@ -192,7 +195,7 @@
@@ -192,7 +195,7 @@
</field>
]]></example>
<p>The XML character data of this element is the pattern to apply. The syntax of this content MUST be that defined for POSIX extended regular expressions<note>The "best" definition of this syntax can be found in the <linkurl='http://www.gsp.com/cgi-bin/man.cgi?section=7&topic=re_format'>re_format(7) man page</link></note>, including support for Unicode<note>Guidelines for adapting regular expressions to support Unicode is defined at <linkurl='http://www.unicode.org/reports/tr18/'>http://www.unicode.org/reports/tr18/</link></note>.</p>
<p>The <regex/> element MUST contain character data only (i.e., not contain any child elements) and MUST NOT possess any attributes.</p>
<p>The <regex/> element MUST contain character data only.</p>
</section3>
</section2>
<section2topic='Selection Ranges in "list-multi"'anchor='usecases-ranges'>