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

                 Key: TUSCANY-1504
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1504
             Project: Tuscany
          Issue Type: Bug
          Components: C++ SDO
    Affects Versions: Cpp-M3
            Reporter: Matthew Schultz


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.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to