Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
Description
The SDO C++ spec does not address Decimal. The current Tuscany implementation uses String to represent Decimal to avoid loss of precision. It does not internally know that the type is Decimal nor surface any APIs (e.g. set/getDecimal) and therefore there is no validation that the values provided are correct. This can cause problems when a schema defines an xsd:decimal type. An SDO based on that schema will allow an application to set the data to any string and this value can then be serialized out and is invalid against the schema.