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

getSequence() returns null with a complexType defined without mixed="true"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Cpp-M3
    • Java-SDO-Next
    • C++ SDO
    • None

    Description

      getSequence returns null if complextType does not have the mixed attribute or the mixed attribute is set to false.

      Looking at the code, SDOSchemaSAX2Parser::startComplexType and
      SDOSchemaSAX2Parser::defineType appears to be the two places that
      isSequenced is set. In startComplexType, it appears that both mixed and
      sequence are both treated as an attribute. I cannot tell if it ever
      reads the child <sequence>.

      It appears that isSequenced should be set to true on the basis of the
      child <sequence> and not on the basis of mixed.

      Attachments

        1. letter.xsd
          0.5 kB
          Matthew Schultz

        Activity

          People

            Unassigned Unassigned
            logistiker Matthew Schultz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: