mixed="true" attribute on complexTypes unsupported?
---------------------------------------------------

         Key: JAXME-65
         URL: http://issues.apache.org/jira/browse/JAXME-65
     Project: JaxMe
        Type: Bug
  Components: JaxMe Core  
    Versions: 0.5    
 Environment: All
    Reporter: Marcus Crafter
    Priority: Minor


Hi All,

Hope all is going well.

Using the following XSD snippet:

<xs:element name="text">
 <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="1">
        <xs:element ref="problem"/>
        <xs:element ref="reason"/>
        <xs:element ref="solution"/>
      </xs:choice>
      .... attribute definitions ....
</xs:complexType>
</xs:element>

it seems that the "mixed" attribute is ignored as the following

<text>
 some text
</text>

Doesn't parse correctly. However

<text>
 <problem>some text</problem>
</text>

Does.

My input XML document and XSD schema validates correctly using xmllint - is 
"mixed=true" a bug or known issue?

Cheers,

Marcus

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to