5.2.1.b built-in derived types which allow empty content
non empty content
non empty content
non empty content
non empty content
non empty content
non empty content
non empty content
non / empty / content
non empty content
non / empty / content
non empty content
non empty content
non empty content
non empty content
non empty content
non empty content
non empty content
non empty content
non empty content
non empty content
non empty content
non empty content
non empty content
5.2.1.b built-in derived types which allow empty content
When the form first displays you should not see any valid or invalid messages. If an implementation fires validity events on
form initialization (incorrectly) then you may see XFORMS-INVALID output for all types (except string) below. This is not
being tested but is an error.
When you activate the Run Test trigger below you must see an 'xforms-valid' output for all the
data types. If the data type does not accept empty content you will see an 'XFORMS-INVALID' output.
An 'XFORMS-INVALID' output is a failure for this test case.
Run Test
Result:
normalizedString:
XFORMS-INVALID (normalizedString)
xforms-valid (normalizedString)
token
XFORMS-INVALID (token)
xforms-valid (token)
language
XFORMS-INVALID (language)
xforms-valid (language)
Name
XFORMS-INVALID (Name)
xforms-valid (Name)
NCName
XFORMS-INVALID (NCName)
xforms-valid (NCName)
ID
XFORMS-INVALID (ID)
xforms-valid (ID)
IDREF
XFORMS-INVALID (IDREF)
xforms-valid (IDREF)
IDREFS
XFORMS-INVALID (IDREFS)
xforms-valid (IDREFS)
NMTOKEN
XFORMS-INVALID (NMTOKEN)
xforms-valid (NMTOKEN)
NMTOKENS
XFORMS-INVALID (NMTOKENS)
xforms-valid (NMTOKENS)
integer
XFORMS-INVALID (integer)
xforms-valid (integer)
nonPositiveInteger
XFORMS-INVALID (nonPositiveInteger)
xforms-valid (nonPositiveInteger)
negativeInteger
XFORMS-INVALID (negativeInteger)
xforms-valid(negativeInteger)
long
XFORMS-INVALID (long)
xforms-valid (long)
int
XFORMS-INVALID (int)
xforms-valid (int)
short
XFORMS-INVALID (short)
xforms-valid (short)
byte
XFORMS-INVALID (byte)
xforms-valid (byte)
nonNegativeInteger
XFORMS-INVALID (nonNegativeInteger)
xforms-valid (nonNegativeInteger)
unsignedLong
XFORMS-INVALID (unsignedLong)
xforms-valid (unsignedLong)
unsignedInt
XFORMS-INVALID (unsignedInt)
xforms-valid (unsignedInt)
unsignedShort
XFORMS-INVALID (unsignedShort)
xforms-valid (unsignedShort)
unsignedByte
XFORMS-INVALID (unsignedByte)
xforms-valid (unsignedByte)
positiveInteger
XFORMS-INVALID (positiveInteger)
xforms-valid event (positiveInteger)