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

The schema got from a SDO object is not consistent with the schema from which the object is generated.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Cpp-M3
    • Java-SDO-Next
    • C++ SDO
    • None
    • Windows XP
      Visual C++6.0
      CPP-tuscany_sdo-M3
      libxml2-2.7.2
      iconv-1.7.2
      zlib-1.2.3
    • Patch Available

    Description


      The schema got from a SDO object is not consistent with the schema from which the object is generated. The attributes in the initial schema become elements in the schema generated later. The reason is that when generating the SDO object, the isContainment attribue of a properties comming from a attribute in the schema is not setted to false.(The default value of inContainment is true.) Therefor, the property is recognized as a element not a attribute for its isContainment attribue is true.

      Attachments

        1. SDOSchemaSAX2Parser.cpp
          56 kB
          Yuling Zhang
        2. SDOSchemaBugTestcase.cpp
          3 kB
          Yuling Zhang

        Activity

          People

            Unassigned Unassigned
            ling091 Yuling Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified