5.1.a built-in primitive types
5.1.a built-in primitive types
When you activate the Valid Values trigger you must see an "xforms-valid" output for all the
data types. When you activate the Invalid Values trigger you must see an "XFORMS-INVALID"
output for all the data types except string, which will either have an output of xforms-valid
or no output.
Results:
Valid Values
1999-05-31T13:20:00-05:00
13:20:00-05:00
1999-05-31
1999-05
1999
--09-14
---15
--11
Strings, strings, everywhere.
true
WEZvcm1zIFJ1bGVz
DEADBEEF
1e-6
12678967.543233
INF
http://example.com/data/potato
my:myelement
Invalid Values
Bogus Data
Bogus Data
Bogus Data
Bogus Data
Bogus Data
Bogus Data
Bogus Data
Bogus Data
Bogus Data
Bogus Data
Bogus Data
Bogus Data
Bogus Data
bogus Data
% 6 7
Bogus Data
dateTime
XFORMS-INVALID (dateTime)
xforms-valid (dateTime)
time
XFORMS-INVALID (time)
xforms-valid (time)
date
XFORMS-INVALID (date)
xforms-valid (date)
gYearMonth
XFORMS-INVALID (gYearMonth)
xforms-valid (gYearMonth)
gYear
XFORMS-INVALID (gYear)
xforms-valid (gYear)
gMonthDay
XFORMS-INVALID (gMonthDay)
xforms-valid (gMonthDay)
gDay
XFORMS-INVALID (gDay)
xforms-valid (gDay)
gMonth
XFORMS-INVALID (gMonth)
xforms-valid (gMonth)
string
XFORMS-INVALID (string)
xforms-valid (string)
boolean
XFORMS-INVALID (boolean)
xforms-valid (boolean)
base64Binary
XFORMS-INVALID (base64Binary)
xforms-valid (base64Binary)
hexBinary
XFORMS-INVALID (hexBinary)
xforms-valid (hexBinary)
float
XFORMS-INVALID (float)
xforms-valid (float)
decimal
XFORMS-INVALID (decimal)
xforms-valid (decimal)
double
XFORMS-INVALID (double)
xforms-valid (double)
anyURI
XFORMS-INVALID (anyURI)
xforms-valid (anyURI)
QName
XFORMS-INVALID (QName)
xforms-valid (QName)