[
https://issues.apache.org/jira/browse/WSCOMMONS-310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12581279#action_12581279
]
Ajith Harshana Ranabahu commented on WSCOMMONS-310:
---------------------------------------------------
Checked in the fix - need to add the test case before I mark this as resolved
> Attribute "mixed" is not handled for complextContent element
> ------------------------------------------------------------
>
> Key: WSCOMMONS-310
> URL: https://issues.apache.org/jira/browse/WSCOMMONS-310
> Project: WS-Commons
> Issue Type: Bug
> Components: XmlSchema
> Reporter: Michael Roberts
>
> the handleComplexContent method in SchemaBuilder needs to handle "mixed"
> attributes, perhaps like this:
> if (complexEl.hasAttribute("mixed")) {
> String mixed = complexEl.getAttribute("mixed");
> if (mixed.equalsIgnoreCase("true"))
> complexContent.setMixed(true);
> else
> complexContent.setMixed(false);
> }
> There is already code in handleComplexType, but the "mixed" attribute can
> appear on either element.
> This bug prevents Dublin Core from being read by XmlSchema and then
> serialized again to create an equivalent schema.
--
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]