You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Graham Charters (JIRA)" <tu...@ws.apache.org> on 2007/08/29 12:25:31 UTC

[jira] Created: (TUSCANY-1631) Support Decimal in SDO C++

Support Decimal in SDO C++
--------------------------

                 Key: TUSCANY-1631
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1631
             Project: Tuscany
          Issue Type: Improvement
          Components: C++ SDO, C++ Specification
            Reporter: Graham Charters
            Priority: Minor


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org