Author: ajith
Date: Sat Mar 22 09:39:52 2008
New Revision: 640012

URL: http://svn.apache.org/viewvc?rev=640012&view=rev
Log:
1.Fixing Jira 310 (still need a test case to verify)

Modified:
    
webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/SchemaBuilder.java

Modified: 
webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/SchemaBuilder.java
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/SchemaBuilder.java?rev=640012&r1=640011&r2=640012&view=diff
==============================================================================
--- 
webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/SchemaBuilder.java
 (original)
+++ 
webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/SchemaBuilder.java
 Sat Mar 22 09:39:52 2008
@@ -702,6 +702,15 @@
                                
complexContent.setAnnotation(handleAnnotation(el));
                        }
                }
+               
+               if (complexEl.hasAttribute("mixed")) {
+                       String mixed = complexEl.getAttribute("mixed");
+                       if (mixed.equalsIgnoreCase("true"))
+                               complexContent.setMixed(true);
+                       else
+                               complexContent.setMixed(false);
+               } 
+               
                return complexContent;
        }
 



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

Reply via email to