[ 
https://issues.apache.org/jira/browse/TUSCANY-1504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517286
 ] 

Matthew Schultz edited comment on TUSCANY-1504 at 8/2/07 8:07 AM:
------------------------------------------------------------------

Here's an example xsd.  If you try to run getSequence on the root data object, 
getSequence returns null.  If you add mixed="true" to complexType, getSequence 
returns an object.  


 was:
Here's an example xsd.  If you try to run getSequence on the root data object, 
getSequence returns null.  If you add mixed="true" to complextType, getSequence 
returns an object.  

> 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
>         Attachments: letter.xsd
>
>
> 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