You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jaxme-dev@ws.apache.org by "Jochen Wiedmann (JIRA)" <ja...@ws.apache.org> on 2005/08/12 22:14:54 UTC
[jira] Aktualisiert: (JAXME-65) mixed="true" attribute on complexTypes unsupported?
[ http://issues.apache.org/jira/browse/JAXME-65?page=all ]
Jochen Wiedmann updated JAXME-65:
---------------------------------
Attachment: JAXME-65.patch
The ChoiceHandlerSG did not treat a choice with minOccurs="0" as optional.
> 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
> Attachments: JAXME-65.patch
>
> 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: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org