Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-1631

Support Decimal in SDO C++

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • C++-SCA-Next
    • C++ SDO
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gcharters Graham Charters
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: