Maps to a UML Attribute with the stereotype XSDmaxLength. The name and type of such an attribute do not make sense.
- value – to Attribute initial value.
| Panel |
|---|
| title | maxLength XML representation summary |
|---|
|
<maxLength fixed = boolean : false id = ID value = nonNegativeInteger {any attributes with non-schema namespace…}> Content: (annotation?) </maxLength> |
| Panel |
|---|
| title | maxLength XML code sample |
|---|
|
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> |