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 "Marcus Crafter (JIRA)" <ja...@ws.apache.org> on 2005/08/12 13:15:54 UTC
[jira] Created: (JAXME-65) mixed="true" attribute on complexTypes unsupported?
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: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org
[jira] Aktualisiert: (JAXME-65) mixed="true" attribute on complexTypes unsupported?
Posted by "Jochen Wiedmann (JIRA)" <ja...@ws.apache.org>.
[ 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
[jira] Geschlossen: (JAXME-65) mixed="true" attribute on complexTypes unsupported?
Posted by "Jochen Wiedmann (JIRA)" <ja...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/JAXME-65?page=all ]
Jochen Wiedmann closed JAXME-65:
--------------------------------
Fix Version: 0.6
Resolution: Fixed
Assign To: Jochen Wiedmann
Patch applied to trunk and 0.5 branch.
> 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
> Assignee: Jochen Wiedmann
> Priority: Minor
> Fix For: 0.6
> 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