Schema validation error when using scientific notation e.g."8.0E-4" in a schema element defined as "xsd:decimal" .
book
Article ID: KB0093678
calendar_today
Updated On:
Products
Versions
TIBCO ActiveMatrix BusinessWorks
-
Not Applicable
-
Description
Resolution: As per the specification at http://www.w3.org/TR/xmlschema-2/#decimal:
>>>>>>>>>>>>>>>> 3.2.3.1 Lexical representation
Decimal has a lexical representation consisting of a finite-length sequence of decimal digits (#x30-#x39) separated by a period as a decimal indicator. An optional leading sign is allowed. If the sign is omitted, "+" is assumed. Leading and trailing zeroes are optional. If the fractional part is zero, the period and following zero(es) can be omitted. For example: -1.23, 12678967.543233, +100000.00, 210.
>>>>>>>>>>>>>>>
Decimal cannot accept data in scientific notation. To receive scientific notation, use "xsd:float" or "xsd:double" instead of xsd:decimal.
Issue/Introduction
Schema validation error when using scientific notation e.g."8.0E-4" in a schema element defined as "xsd:decimal" .