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]

Reply via email to