The following is the definition of a user-derived datatype which might be used to accept form input with an upper limit to the number
of characters that are acceptable.
<simpleType name='form-input'>
<restriction base='string'>
<maxLength value='50'/>
</restriction>
</simpleType>