You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by sa...@apache.org on 2012/06/18 08:09:51 UTC

svn commit: r1351210 [1/2] - in /axis/axis2/java/core/trunk/modules/adb-codegen: test-resources/schemas/ test-resources/schemas/custom_schemas/ test-resources/schemas/custom_schemas/XSD2JAVA1/ test-resources/schemas/custom_schemas/XSD2JAVA1/com/ test-r...

Author: sagara
Date: Mon Jun 18 06:09:49 2012
New Revision: 1351210

URL: http://svn.apache.org/viewvc?rev=1351210&view=rev
Log:
AXIS2-5335 - applying test cases patch for adb-codegen module.

Added:
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA1/
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA1/com/
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA1/com/w3schools/
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA1/com/w3schools/www/
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA1/com/w3schools/www/ExtensionMapper.java   (with props)
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA1/com/w3schools/www/Order.java   (with props)
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA2/
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA2/axis2/
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA2/axis2/apache/
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA2/axis2/apache/org/
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA2/axis2/apache/org/ExtensionMapper.java   (with props)
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA3/
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA3/books/
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA3/books/ExtensionMapper.java   (with props)
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA4/
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA4/sample/
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA4/sample/axisversion/
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA4/sample/axisversion/ExtensionMapper.java   (with props)
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated.xsd   (with props)
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated1.xsd   (with props)
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated10.xsd   (with props)
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated11.xsd   (with props)
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated12.xsd   (with props)
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated13.xsd   (with props)
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated2.xsd   (with props)
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated3.xsd   (with props)
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated4.xsd   (with props)
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated5.xsd   (with props)
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated6.xsd   (with props)
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated7.xsd   (with props)
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated8.xsd   (with props)
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated9.xsd   (with props)
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/note.xsd   (with props)
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/sampleSchema1.xsd   (with props)
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/sampleSchema2.xsd   (with props)
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/sampleSchema3.xsd   (with props)
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/sampleSchema4.xsd   (with props)
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/sampleSchema5.xsd   (with props)
    axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/sampleSchema6.xsd   (with props)
    axis/axis2/java/core/trunk/modules/adb-codegen/test/org/apache/axis2/schema/ExtensionUtilityTest.java   (with props)
    axis/axis2/java/core/trunk/modules/adb-codegen/test/org/apache/axis2/schema/SchemaCompilerTest.java   (with props)
    axis/axis2/java/core/trunk/modules/adb-codegen/test/org/apache/axis2/schema/XMLSchemaTest.java   (with props)
    axis/axis2/java/core/trunk/modules/adb-codegen/test/org/apache/axis2/schema/XSD2JavaTest.java   (with props)

Added: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA1/com/w3schools/www/ExtensionMapper.java
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA1/com/w3schools/www/ExtensionMapper.java?rev=1351210&view=auto
==============================================================================
--- axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA1/com/w3schools/www/ExtensionMapper.java (added)
+++ axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA1/com/w3schools/www/ExtensionMapper.java Mon Jun 18 06:09:49 2012
@@ -0,0 +1,28 @@
+
+/**
+ * ExtensionMapper.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis2 version: 1.7.0-SNAPSHOT  Built on : Jun 18, 2012 (11:35:39 IST)
+ */
+
+        
+            package com.w3schools.www;
+        
+            /**
+            *  ExtensionMapper class
+            */
+            @SuppressWarnings({"unchecked","unused"})
+        
+        public  class ExtensionMapper{
+
+          public static java.lang.Object getTypeObject(java.lang.String namespaceURI,
+                                                       java.lang.String typeName,
+                                                       javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{
+
+              
+             throw new org.apache.axis2.databinding.ADBException("Unsupported type " + namespaceURI + " " + typeName);
+          }
+
+        }
+    
\ No newline at end of file

Propchange: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA1/com/w3schools/www/ExtensionMapper.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA1/com/w3schools/www/Order.java
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA1/com/w3schools/www/Order.java?rev=1351210&view=auto
==============================================================================
--- axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA1/com/w3schools/www/Order.java (added)
+++ axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA1/com/w3schools/www/Order.java Mon Jun 18 06:09:49 2012
@@ -0,0 +1,645 @@
+
+/**
+ * Order.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis2 version: 1.7.0-SNAPSHOT  Built on : Jun 18, 2012 (11:35:39 IST)
+ */
+
+            
+                package com.w3schools.www;
+            
+
+            /**
+            *  Order bean class
+            */
+            @SuppressWarnings({"unchecked","unused"})
+        
+        public  class Order
+        implements org.apache.axis2.databinding.ADBBean{
+        
+                public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName(
+                "http://www.w3schools.com",
+                "order",
+                "ns1");
+
+            
+
+                        /**
+                        * field for To
+                        */
+
+                        
+                                    protected java.lang.String localTo ;
+                                
+
+                           /**
+                           * Auto generated getter method
+                           * @return java.lang.String
+                           */
+                           public  java.lang.String getTo(){
+                               return localTo;
+                           }
+
+                           
+                        
+                            /**
+                               * Auto generated setter method
+                               * @param param To
+                               */
+                               public void setTo(java.lang.String param){
+                            
+                                            this.localTo=param;
+                                    
+
+                               }
+                            
+
+                        /**
+                        * field for From
+                        */
+
+                        
+                                    protected java.lang.String localFrom ;
+                                
+
+                           /**
+                           * Auto generated getter method
+                           * @return java.lang.String
+                           */
+                           public  java.lang.String getFrom(){
+                               return localFrom;
+                           }
+
+                           
+                        
+                            /**
+                               * Auto generated setter method
+                               * @param param From
+                               */
+                               public void setFrom(java.lang.String param){
+                            
+                                            this.localFrom=param;
+                                    
+
+                               }
+                            
+
+                        /**
+                        * field for Heading
+                        */
+
+                        
+                                    protected java.lang.String localHeading ;
+                                
+
+                           /**
+                           * Auto generated getter method
+                           * @return java.lang.String
+                           */
+                           public  java.lang.String getHeading(){
+                               return localHeading;
+                           }
+
+                           
+                        
+                            /**
+                               * Auto generated setter method
+                               * @param param Heading
+                               */
+                               public void setHeading(java.lang.String param){
+                            
+                                            this.localHeading=param;
+                                    
+
+                               }
+                            
+
+                        /**
+                        * field for Body
+                        */
+
+                        
+                                    protected java.lang.String localBody ;
+                                
+
+                           /**
+                           * Auto generated getter method
+                           * @return java.lang.String
+                           */
+                           public  java.lang.String getBody(){
+                               return localBody;
+                           }
+
+                           
+                        
+                            /**
+                               * Auto generated setter method
+                               * @param param Body
+                               */
+                               public void setBody(java.lang.String param){
+                            
+                                            this.localBody=param;
+                                    
+
+                               }
+                            
+
+     
+     
+        /**
+        *
+        * @param parentQName
+        * @param factory
+        * @return org.apache.axiom.om.OMElement
+        */
+       public org.apache.axiom.om.OMElement getOMElement (
+               final javax.xml.namespace.QName parentQName,
+               final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{
+
+
+        
+               return factory.createOMElement(new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME));
+            
+        }
+
+         public void serialize(final javax.xml.namespace.QName parentQName,
+                                       javax.xml.stream.XMLStreamWriter xmlWriter)
+                                throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{
+                           serialize(parentQName,xmlWriter,false);
+         }
+
+         public void serialize(final javax.xml.namespace.QName parentQName,
+                               javax.xml.stream.XMLStreamWriter xmlWriter,
+                               boolean serializeType)
+            throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{
+            
+                
+
+
+                java.lang.String prefix = null;
+                java.lang.String namespace = null;
+                
+
+                    prefix = parentQName.getPrefix();
+                    namespace = parentQName.getNamespaceURI();
+                    writeStartElement(prefix, namespace, parentQName.getLocalPart(), xmlWriter);
+                
+                  if (serializeType){
+               
+
+                   java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://www.w3schools.com");
+                   if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){
+                       writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type",
+                           namespacePrefix+":order",
+                           xmlWriter);
+                   } else {
+                       writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type",
+                           "order",
+                           xmlWriter);
+                   }
+
+               
+                   }
+               
+                                    namespace = "http://www.w3schools.com";
+                                    writeStartElement(null, namespace, "to", xmlWriter);
+                             
+
+                                          if (localTo==null){
+                                              // write the nil attribute
+                                              
+                                                     throw new org.apache.axis2.databinding.ADBException("to cannot be null!!");
+                                                  
+                                          }else{
+
+                                        
+                                                   xmlWriter.writeCharacters(localTo);
+                                            
+                                          }
+                                    
+                                   xmlWriter.writeEndElement();
+                             
+                                    namespace = "http://www.w3schools.com";
+                                    writeStartElement(null, namespace, "from", xmlWriter);
+                             
+
+                                          if (localFrom==null){
+                                              // write the nil attribute
+                                              
+                                                     throw new org.apache.axis2.databinding.ADBException("from cannot be null!!");
+                                                  
+                                          }else{
+
+                                        
+                                                   xmlWriter.writeCharacters(localFrom);
+                                            
+                                          }
+                                    
+                                   xmlWriter.writeEndElement();
+                             
+                                    namespace = "http://www.w3schools.com";
+                                    writeStartElement(null, namespace, "heading", xmlWriter);
+                             
+
+                                          if (localHeading==null){
+                                              // write the nil attribute
+                                              
+                                                     throw new org.apache.axis2.databinding.ADBException("heading cannot be null!!");
+                                                  
+                                          }else{
+
+                                        
+                                                   xmlWriter.writeCharacters(localHeading);
+                                            
+                                          }
+                                    
+                                   xmlWriter.writeEndElement();
+                             
+                                    namespace = "http://www.w3schools.com";
+                                    writeStartElement(null, namespace, "body", xmlWriter);
+                             
+
+                                          if (localBody==null){
+                                              // write the nil attribute
+                                              
+                                                     throw new org.apache.axis2.databinding.ADBException("body cannot be null!!");
+                                                  
+                                          }else{
+
+                                        
+                                                   xmlWriter.writeCharacters(localBody);
+                                            
+                                          }
+                                    
+                                   xmlWriter.writeEndElement();
+                             
+                    xmlWriter.writeEndElement();
+               
+
+        }
+
+        private static java.lang.String generatePrefix(java.lang.String namespace) {
+            if(namespace.equals("http://www.w3schools.com")){
+                return "ns1";
+            }
+            return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
+        }
+
+        /**
+         * Utility method to write an element start tag.
+         */
+        private void writeStartElement(java.lang.String prefix, java.lang.String namespace, java.lang.String localPart,
+                                       javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException {
+            java.lang.String writerPrefix = xmlWriter.getPrefix(namespace);
+            if (writerPrefix != null) {
+                xmlWriter.writeStartElement(writerPrefix, localPart, namespace);
+            } else {
+                if (namespace.length() == 0) {
+                    prefix = "";
+                } else if (prefix == null) {
+                    prefix = generatePrefix(namespace);
+                }
+
+                xmlWriter.writeStartElement(prefix, localPart, namespace);
+                xmlWriter.writeNamespace(prefix, namespace);
+                xmlWriter.setPrefix(prefix, namespace);
+            }
+        }
+        
+        /**
+         * Util method to write an attribute with the ns prefix
+         */
+        private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,
+                                    java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{
+            java.lang.String writerPrefix = xmlWriter.getPrefix(namespace);
+            if (writerPrefix != null) {
+                xmlWriter.writeAttribute(writerPrefix, namespace,attName,attValue);
+            } else {
+                xmlWriter.writeNamespace(prefix, namespace);
+                xmlWriter.setPrefix(prefix, namespace);
+                xmlWriter.writeAttribute(prefix, namespace,attName,attValue);
+            }
+        }
+
+        /**
+         * Util method to write an attribute without the ns prefix
+         */
+        private void writeAttribute(java.lang.String namespace,java.lang.String attName,
+                                    java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{
+            if (namespace.equals("")) {
+                xmlWriter.writeAttribute(attName,attValue);
+            } else {
+                xmlWriter.writeAttribute(registerPrefix(xmlWriter, namespace), namespace,attName,attValue);
+            }
+        }
+
+
+           /**
+             * Util method to write an attribute without the ns prefix
+             */
+            private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName,
+                                             javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException {
+
+                java.lang.String attributeNamespace = qname.getNamespaceURI();
+                java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace);
+                if (attributePrefix == null) {
+                    attributePrefix = registerPrefix(xmlWriter, attributeNamespace);
+                }
+                java.lang.String attributeValue;
+                if (attributePrefix.trim().length() > 0) {
+                    attributeValue = attributePrefix + ":" + qname.getLocalPart();
+                } else {
+                    attributeValue = qname.getLocalPart();
+                }
+
+                if (namespace.equals("")) {
+                    xmlWriter.writeAttribute(attName, attributeValue);
+                } else {
+                    registerPrefix(xmlWriter, namespace);
+                    xmlWriter.writeAttribute(attributePrefix, namespace, attName, attributeValue);
+                }
+            }
+        /**
+         *  method to handle Qnames
+         */
+
+        private void writeQName(javax.xml.namespace.QName qname,
+                                javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException {
+            java.lang.String namespaceURI = qname.getNamespaceURI();
+            if (namespaceURI != null) {
+                java.lang.String prefix = xmlWriter.getPrefix(namespaceURI);
+                if (prefix == null) {
+                    prefix = generatePrefix(namespaceURI);
+                    xmlWriter.writeNamespace(prefix, namespaceURI);
+                    xmlWriter.setPrefix(prefix,namespaceURI);
+                }
+
+                if (prefix.trim().length() > 0){
+                    xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname));
+                } else {
+                    // i.e this is the default namespace
+                    xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname));
+                }
+
+            } else {
+                xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname));
+            }
+        }
+
+        private void writeQNames(javax.xml.namespace.QName[] qnames,
+                                 javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException {
+
+            if (qnames != null) {
+                // we have to store this data until last moment since it is not possible to write any
+                // namespace data after writing the charactor data
+                java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer();
+                java.lang.String namespaceURI = null;
+                java.lang.String prefix = null;
+
+                for (int i = 0; i < qnames.length; i++) {
+                    if (i > 0) {
+                        stringToWrite.append(" ");
+                    }
+                    namespaceURI = qnames[i].getNamespaceURI();
+                    if (namespaceURI != null) {
+                        prefix = xmlWriter.getPrefix(namespaceURI);
+                        if ((prefix == null) || (prefix.length() == 0)) {
+                            prefix = generatePrefix(namespaceURI);
+                            xmlWriter.writeNamespace(prefix, namespaceURI);
+                            xmlWriter.setPrefix(prefix,namespaceURI);
+                        }
+
+                        if (prefix.trim().length() > 0){
+                            stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i]));
+                        } else {
+                            stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i]));
+                        }
+                    } else {
+                        stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i]));
+                    }
+                }
+                xmlWriter.writeCharacters(stringToWrite.toString());
+            }
+
+        }
+
+
+        /**
+         * Register a namespace prefix
+         */
+        private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException {
+            java.lang.String prefix = xmlWriter.getPrefix(namespace);
+            if (prefix == null) {
+                prefix = generatePrefix(namespace);
+                javax.xml.namespace.NamespaceContext nsContext = xmlWriter.getNamespaceContext();
+                while (true) {
+                    java.lang.String uri = nsContext.getNamespaceURI(prefix);
+                    if (uri == null || uri.length() == 0) {
+                        break;
+                    }
+                    prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
+                }
+                xmlWriter.writeNamespace(prefix, namespace);
+                xmlWriter.setPrefix(prefix, namespace);
+            }
+            return prefix;
+        }
+
+
+  
+
+     /**
+      *  Factory class that keeps the parse method
+      */
+    public static class Factory{
+        private static org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog(Factory.class);
+
+        
+        
+
+        /**
+        * static method to create the object
+        * Precondition:  If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable
+        *                If this object is not an element, it is a complex type and the reader is at the event just after the outer start element
+        * Postcondition: If this object is an element, the reader is positioned at its end element
+        *                If this object is a complex type, the reader is positioned at the end element of its outer element
+        */
+        public static Order parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{
+            Order object =
+                new Order();
+
+            int event;
+            javax.xml.namespace.QName currentQName = null;
+            java.lang.String nillableValue = null;
+            java.lang.String prefix ="";
+            java.lang.String namespaceuri ="";
+            try {
+                
+                while (!reader.isStartElement() && !reader.isEndElement())
+                    reader.next();
+
+                currentQName = reader.getName();
+                
+                if (reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","type")!=null){
+                  java.lang.String fullTypeName = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance",
+                        "type");
+                  if (fullTypeName!=null){
+                    java.lang.String nsPrefix = null;
+                    if (fullTypeName.indexOf(":") > -1){
+                        nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(":"));
+                    }
+                    nsPrefix = nsPrefix==null?"":nsPrefix;
+
+                    java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(":")+1);
+                    
+                            if (!"order".equals(type)){
+                                //find namespace for the prefix
+                                java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix);
+                                return (Order)com.w3schools.www.ExtensionMapper.getTypeObject(
+                                     nsUri,type,reader);
+                              }
+                        
+
+                  }
+                
+
+                }
+
+                
+
+                
+                // Note all attributes that were handled. Used to differ normal attributes
+                // from anyAttributes.
+                java.util.Vector handledAttributes = new java.util.Vector();
+                
+
+                
+                    
+                    reader.next();
+                
+                                    
+                                    while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
+                                
+                                    if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.w3schools.com","to").equals(reader.getName())){
+                                
+                                    nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","nil");
+                                    if ("true".equals(nillableValue) || "1".equals(nillableValue)){
+                                        throw new org.apache.axis2.databinding.ADBException("The element: "+"to" +"  cannot be null");
+                                    }
+                                    
+
+                                    java.lang.String content = reader.getElementText();
+                                    
+                                              object.setTo(
+                                                    org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content));
+                                              
+                                        reader.next();
+                                    
+                              }  // End of if for expected property start element
+                                
+                                else{
+                                    // 1 - A start element we are not expecting indicates an invalid parameter was passed
+                                    throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName());
+                                }
+                            
+                                    
+                                    while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
+                                
+                                    if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.w3schools.com","from").equals(reader.getName())){
+                                
+                                    nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","nil");
+                                    if ("true".equals(nillableValue) || "1".equals(nillableValue)){
+                                        throw new org.apache.axis2.databinding.ADBException("The element: "+"from" +"  cannot be null");
+                                    }
+                                    
+
+                                    java.lang.String content = reader.getElementText();
+                                    
+                                              object.setFrom(
+                                                    org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content));
+                                              
+                                        reader.next();
+                                    
+                              }  // End of if for expected property start element
+                                
+                                else{
+                                    // 1 - A start element we are not expecting indicates an invalid parameter was passed
+                                    throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName());
+                                }
+                            
+                                    
+                                    while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
+                                
+                                    if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.w3schools.com","heading").equals(reader.getName())){
+                                
+                                    nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","nil");
+                                    if ("true".equals(nillableValue) || "1".equals(nillableValue)){
+                                        throw new org.apache.axis2.databinding.ADBException("The element: "+"heading" +"  cannot be null");
+                                    }
+                                    
+
+                                    java.lang.String content = reader.getElementText();
+                                    
+                                              object.setHeading(
+                                                    org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content));
+                                              
+                                        reader.next();
+                                    
+                              }  // End of if for expected property start element
+                                
+                                else{
+                                    // 1 - A start element we are not expecting indicates an invalid parameter was passed
+                                    throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName());
+                                }
+                            
+                                    
+                                    while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
+                                
+                                    if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.w3schools.com","body").equals(reader.getName())){
+                                
+                                    nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","nil");
+                                    if ("true".equals(nillableValue) || "1".equals(nillableValue)){
+                                        throw new org.apache.axis2.databinding.ADBException("The element: "+"body" +"  cannot be null");
+                                    }
+                                    
+
+                                    java.lang.String content = reader.getElementText();
+                                    
+                                              object.setBody(
+                                                    org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content));
+                                              
+                                        reader.next();
+                                    
+                              }  // End of if for expected property start element
+                                
+                                else{
+                                    // 1 - A start element we are not expecting indicates an invalid parameter was passed
+                                    throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName());
+                                }
+                              
+                            while (!reader.isStartElement() && !reader.isEndElement())
+                                reader.next();
+                            
+                                if (reader.isStartElement())
+                                // 2 - A start element we are not expecting indicates a trailing invalid property
+                                
+                                    throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName());
+                                
+
+
+
+            } catch (javax.xml.stream.XMLStreamException e) {
+                throw new java.lang.Exception(e);
+            }
+
+            return object;
+        }
+
+        }//end of factory class
+
+        
+
+        }
+           
+    
\ No newline at end of file

Propchange: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA1/com/w3schools/www/Order.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA2/axis2/apache/org/ExtensionMapper.java
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA2/axis2/apache/org/ExtensionMapper.java?rev=1351210&view=auto
==============================================================================
--- axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA2/axis2/apache/org/ExtensionMapper.java (added)
+++ axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA2/axis2/apache/org/ExtensionMapper.java Mon Jun 18 06:09:49 2012
@@ -0,0 +1,28 @@
+
+/**
+ * ExtensionMapper.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis2 version: 1.7.0-SNAPSHOT  Built on : Jun 18, 2012 (11:35:39 IST)
+ */
+
+        
+            package axis2.apache.org;
+        
+            /**
+            *  ExtensionMapper class
+            */
+            @SuppressWarnings({"unchecked","unused"})
+        
+        public  class ExtensionMapper{
+
+          public static java.lang.Object getTypeObject(java.lang.String namespaceURI,
+                                                       java.lang.String typeName,
+                                                       javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{
+
+              
+             throw new org.apache.axis2.databinding.ADBException("Unsupported type " + namespaceURI + " " + typeName);
+          }
+
+        }
+    
\ No newline at end of file

Propchange: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA2/axis2/apache/org/ExtensionMapper.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA3/books/ExtensionMapper.java
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA3/books/ExtensionMapper.java?rev=1351210&view=auto
==============================================================================
--- axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA3/books/ExtensionMapper.java (added)
+++ axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA3/books/ExtensionMapper.java Mon Jun 18 06:09:49 2012
@@ -0,0 +1,28 @@
+
+/**
+ * ExtensionMapper.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis2 version: 1.7.0-SNAPSHOT  Built on : Jun 18, 2012 (11:35:39 IST)
+ */
+
+        
+            package books;
+        
+            /**
+            *  ExtensionMapper class
+            */
+            @SuppressWarnings({"unchecked","unused"})
+        
+        public  class ExtensionMapper{
+
+          public static java.lang.Object getTypeObject(java.lang.String namespaceURI,
+                                                       java.lang.String typeName,
+                                                       javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{
+
+              
+             throw new org.apache.axis2.databinding.ADBException("Unsupported type " + namespaceURI + " " + typeName);
+          }
+
+        }
+    
\ No newline at end of file

Propchange: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA3/books/ExtensionMapper.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA4/sample/axisversion/ExtensionMapper.java
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA4/sample/axisversion/ExtensionMapper.java?rev=1351210&view=auto
==============================================================================
--- axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA4/sample/axisversion/ExtensionMapper.java (added)
+++ axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA4/sample/axisversion/ExtensionMapper.java Mon Jun 18 06:09:49 2012
@@ -0,0 +1,28 @@
+
+/**
+ * ExtensionMapper.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis2 version: 1.7.0-SNAPSHOT  Built on : Jun 18, 2012 (11:35:39 IST)
+ */
+
+        
+            package sample.axisversion;
+        
+            /**
+            *  ExtensionMapper class
+            */
+            @SuppressWarnings({"unchecked","unused"})
+        
+        public  class ExtensionMapper{
+
+          public static java.lang.Object getTypeObject(java.lang.String namespaceURI,
+                                                       java.lang.String typeName,
+                                                       javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{
+
+              
+             throw new org.apache.axis2.databinding.ADBException("Unsupported type " + namespaceURI + " " + typeName);
+          }
+
+        }
+    
\ No newline at end of file

Propchange: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/XSD2JAVA4/sample/axisversion/ExtensionMapper.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated.xsd
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated.xsd?rev=1351210&view=auto
==============================================================================
--- axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated.xsd (added)
+++ axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated.xsd Mon Jun 18 06:09:49 2012
@@ -0,0 +1,21 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements. See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership. The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License. You may obtain a copy of the License at
+  ~
+  ~ http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied. See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
+
+
+<schema xmlns="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="unqualified"/>

Propchange: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Added: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated1.xsd
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated1.xsd?rev=1351210&view=auto
==============================================================================
--- axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated1.xsd (added)
+++ axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated1.xsd Mon Jun 18 06:09:49 2012
@@ -0,0 +1,21 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements. See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership. The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License. You may obtain a copy of the License at
+  ~
+  ~ http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied. See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
+
+
+<schema xmlns="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="unqualified"/>

Propchange: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated1.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Added: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated10.xsd
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated10.xsd?rev=1351210&view=auto
==============================================================================
--- axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated10.xsd (added)
+++ axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated10.xsd Mon Jun 18 06:09:49 2012
@@ -0,0 +1,21 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements. See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership. The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License. You may obtain a copy of the License at
+  ~
+  ~ http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied. See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
+
+
+<schema xmlns="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="unqualified"/>

Propchange: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated10.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Added: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated11.xsd
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated11.xsd?rev=1351210&view=auto
==============================================================================
--- axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated11.xsd (added)
+++ axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated11.xsd Mon Jun 18 06:09:49 2012
@@ -0,0 +1,21 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements. See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership. The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License. You may obtain a copy of the License at
+  ~
+  ~ http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied. See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
+
+
+<schema xmlns="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="unqualified"/>

Propchange: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated11.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Added: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated12.xsd
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated12.xsd?rev=1351210&view=auto
==============================================================================
--- axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated12.xsd (added)
+++ axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated12.xsd Mon Jun 18 06:09:49 2012
@@ -0,0 +1,21 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements. See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership. The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License. You may obtain a copy of the License at
+  ~
+  ~ http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied. See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
+
+
+<schema xmlns="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="unqualified"/>

Propchange: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated12.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Added: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated13.xsd
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated13.xsd?rev=1351210&view=auto
==============================================================================
--- axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated13.xsd (added)
+++ axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated13.xsd Mon Jun 18 06:09:49 2012
@@ -0,0 +1,21 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements. See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership. The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License. You may obtain a copy of the License at
+  ~
+  ~ http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied. See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
+
+
+<schema xmlns="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="unqualified"/>

Propchange: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated13.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Added: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated2.xsd
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated2.xsd?rev=1351210&view=auto
==============================================================================
--- axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated2.xsd (added)
+++ axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated2.xsd Mon Jun 18 06:09:49 2012
@@ -0,0 +1,21 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements. See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership. The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License. You may obtain a copy of the License at
+  ~
+  ~ http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied. See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
+
+
+<schema xmlns="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="unqualified"/>

Propchange: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated2.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Added: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated3.xsd
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated3.xsd?rev=1351210&view=auto
==============================================================================
--- axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated3.xsd (added)
+++ axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated3.xsd Mon Jun 18 06:09:49 2012
@@ -0,0 +1,21 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements. See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership. The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License. You may obtain a copy of the License at
+  ~
+  ~ http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied. See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
+
+
+<schema xmlns="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="unqualified"/>

Propchange: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated3.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Added: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated4.xsd
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated4.xsd?rev=1351210&view=auto
==============================================================================
--- axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated4.xsd (added)
+++ axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated4.xsd Mon Jun 18 06:09:49 2012
@@ -0,0 +1,21 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements. See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership. The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License. You may obtain a copy of the License at
+  ~
+  ~ http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied. See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
+
+
+<schema xmlns="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="unqualified"/>

Propchange: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated4.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Added: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated5.xsd
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated5.xsd?rev=1351210&view=auto
==============================================================================
--- axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated5.xsd (added)
+++ axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated5.xsd Mon Jun 18 06:09:49 2012
@@ -0,0 +1,21 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements. See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership. The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License. You may obtain a copy of the License at
+  ~
+  ~ http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied. See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
+
+
+<schema xmlns="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="unqualified"/>

Propchange: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated5.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Added: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated6.xsd
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated6.xsd?rev=1351210&view=auto
==============================================================================
--- axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated6.xsd (added)
+++ axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated6.xsd Mon Jun 18 06:09:49 2012
@@ -0,0 +1,21 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements. See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership. The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License. You may obtain a copy of the License at
+  ~
+  ~ http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied. See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
+
+
+<schema xmlns="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="unqualified"/>

Propchange: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated6.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Added: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated7.xsd
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated7.xsd?rev=1351210&view=auto
==============================================================================
--- axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated7.xsd (added)
+++ axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated7.xsd Mon Jun 18 06:09:49 2012
@@ -0,0 +1,21 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements. See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership. The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License. You may obtain a copy of the License at
+  ~
+  ~ http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied. See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
+
+
+<schema xmlns="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="unqualified"/>

Propchange: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated7.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Added: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated8.xsd
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated8.xsd?rev=1351210&view=auto
==============================================================================
--- axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated8.xsd (added)
+++ axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated8.xsd Mon Jun 18 06:09:49 2012
@@ -0,0 +1,21 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements. See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership. The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License. You may obtain a copy of the License at
+  ~
+  ~ http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied. See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
+
+
+<schema xmlns="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="unqualified"/>

Propchange: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated8.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Added: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated9.xsd
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated9.xsd?rev=1351210&view=auto
==============================================================================
--- axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated9.xsd (added)
+++ axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated9.xsd Mon Jun 18 06:09:49 2012
@@ -0,0 +1,21 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements. See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership. The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License. You may obtain a copy of the License at
+  ~
+  ~ http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied. See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
+
+
+<schema xmlns="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="unqualified"/>

Propchange: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/generated9.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Added: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/note.xsd
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/note.xsd?rev=1351210&view=auto
==============================================================================
--- axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/note.xsd (added)
+++ axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/note.xsd Mon Jun 18 06:09:49 2012
@@ -0,0 +1,37 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements. See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership. The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License. You may obtain a copy of the License at
+  ~
+  ~ http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied. See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
+
+<?xml version="1.0"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+targetNamespace="http://www.w3schools.com"
+xmlns="http://www.w3schools.com"
+elementFormDefault="qualified">
+
+<xs:element name="note">
+  <xs:complexType>
+    <xs:sequence>
+      <xs:element name="to" type="xs:string"/>
+      <xs:element name="from" type="xs:string"/>
+      <xs:element name="heading" type="xs:string"/>
+      <xs:element name="body" type="xs:string"/>
+    </xs:sequence>
+  </xs:complexType>
+</xs:element>
+
+</xs:schema>

Propchange: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/note.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Added: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/sampleSchema1.xsd
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/sampleSchema1.xsd?rev=1351210&view=auto
==============================================================================
--- axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/sampleSchema1.xsd (added)
+++ axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/sampleSchema1.xsd Mon Jun 18 06:09:49 2012
@@ -0,0 +1,38 @@
+<?xml version="1.0"?>
+
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements. See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership. The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License. You may obtain a copy of the License at
+  ~
+  ~ http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied. See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
+
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+targetNamespace="http://www.w3schools.com"
+xmlns="http://www.w3schools.com"
+elementFormDefault="qualified">
+
+<xs:element name="order">
+  <xs:complexType>
+    <xs:sequence>
+      <xs:element name="to" type="xs:string"/>
+      <xs:element name="from" type="xs:string"/>
+      <xs:element name="heading" type="xs:string"/>
+      <xs:element name="body" type="xs:string"/>
+    </xs:sequence>
+  </xs:complexType>
+</xs:element>
+
+</xs:schema>

Propchange: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/sampleSchema1.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Added: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/sampleSchema2.xsd
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/sampleSchema2.xsd?rev=1351210&view=auto
==============================================================================
--- axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/sampleSchema2.xsd (added)
+++ axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/sampleSchema2.xsd Mon Jun 18 06:09:49 2012
@@ -0,0 +1,104 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements. See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership. The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License. You may obtain a copy of the License at
+  ~
+  ~ http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied. See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
+
+<!-- mails.xsd -->
+
+<xsd:schema xmlns:xsd="http://www.example.org/2001/XMLSchema">
+
+ <xsd:element name="mails" type="mailsType" />
+
+ <xsd:complexType name="mailsType">
+  <xsd:sequence minOccurs="0" maxOccurs="unbounded">
+   <xsd:element name="mail" type="mailType" />
+  </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="mailType">
+  <xsd:sequence>
+   <xsd:element name="envelope" type="envelopeType" />
+   <xsd:element name="body" type="bodyType" />
+   <xsd:element name="attachment" type="attachmentType"
+		minOccurs="0" maxOccurs="unbounded" />
+  </xsd:sequence>
+  <xsd:attribute use="required" name="id" type="xsd:integer" />
+ </xsd:complexType>
+
+ <xsd:element name="header">
+  <xsd:complexType>
+   <xsd:simpleContent>
+    <xsd:extension base="xsd:string">
+     <xsd:attribute ref="name" use="required" />
+    </xsd:extension>
+   </xsd:simpleContent>
+  </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="Date" type="xsd:dateTime" />
+
+ <xsd:complexType name="envelopeType">
+  <xsd:sequence>
+   <xsd:element name="From" type="xsd:string" />
+   <xsd:element name="To" type="xsd:string" />
+   <xsd:element ref="Date" />
+   <xsd:element name="Subject" type="xsd:string" />
+   <xsd:element ref="header" minOccurs="0" maxOccurs="unbounded" />
+  </xsd:sequence>
+  <xsd:attribute name="From" type="xsd:string" use="required" />
+ </xsd:complexType>
+
+ <xsd:simpleType name="bodyType">
+  <xsd:restriction base="xsd:string" />
+ </xsd:simpleType>
+
+ <xsd:complexType name="attachmentType">
+  <xsd:group ref="attachmentContent" />
+  <xsd:attribute ref="name" use="required" />
+ </xsd:complexType>
+
+ <xsd:group name="attachmentContent">
+  <xsd:sequence>
+   <xsd:element name="mimetype">
+    <xsd:complexType>
+     <xsd:attributeGroup ref="mimeTypeAttributes" />
+    </xsd:complexType>
+   </xsd:element>
+   <xsd:element name="content" type="xsd:string" minOccurs="0" />
+  </xsd:sequence>
+ </xsd:group>
+
+ <xsd:attribute name="name" type="xsd:string" />
+
+ <xsd:attributeGroup name="mimeTypeAttributes">
+  <xsd:attribute name="type" type="mimeTopLevelType" use="required" />
+  <xsd:attribute name="subtype" type="xsd:string" use="required" />
+ </xsd:attributeGroup>
+
+ <xsd:simpleType name="mimeTopLevelType">
+  <xsd:restriction base="xsd:string">
+   <xsd:enumeration value="text" />
+   <xsd:enumeration value="multipart" />
+   <xsd:enumeration value="application" />
+   <xsd:enumeration value="message" />
+   <xsd:enumeration value="image" />
+   <xsd:enumeration value="audio" />
+   <xsd:enumeration value="video" />
+  </xsd:restriction>
+ </xsd:simpleType>
+
+</xsd:schema>

Propchange: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/sampleSchema2.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Added: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/sampleSchema3.xsd
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/sampleSchema3.xsd?rev=1351210&view=auto
==============================================================================
--- axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/sampleSchema3.xsd (added)
+++ axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/sampleSchema3.xsd Mon Jun 18 06:09:49 2012
@@ -0,0 +1,46 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements. See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership. The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License. You may obtain a copy of the License at
+  ~
+  ~ http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied. See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
+
+<xsd:schema xmlns:xsd="http://www.example.com/2001/XMLSchema"
+            targetNamespace="urn:books"
+            xmlns:bks="urn:books">
+
+  <xsd:element name="books" type="bks:BooksForm"/>
+
+  <xsd:complexType name="BooksForm">
+    <xsd:sequence>
+      <xsd:element name="book" 
+                  type="bks:BookForm" 
+                  minOccurs="0" 
+                  maxOccurs="unbounded"/>
+      </xsd:sequence>
+  </xsd:complexType>
+
+  <xsd:complexType name="BookForm">
+    <xsd:sequence>
+      <xsd:element name="author"   type="xsd:string"/>
+      <xsd:element name="title"    type="xsd:string"/>
+      <xsd:element name="genre"    type="xsd:string"/>
+      <xsd:element name="price"    type="xsd:float" />
+      <xsd:element name="pub_date" type="xsd:date" />
+      <xsd:element name="review"   type="xsd:string"/>
+    </xsd:sequence>
+    <xsd:attribute name="id"   type="xsd:string"/>
+  </xsd:complexType>
+</xsd:schema>

Propchange: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/sampleSchema3.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Added: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/sampleSchema4.xsd
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/sampleSchema4.xsd?rev=1351210&view=auto
==============================================================================
--- axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/sampleSchema4.xsd (added)
+++ axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/sampleSchema4.xsd Mon Jun 18 06:09:49 2012
@@ -0,0 +1,54 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements. See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership. The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License. You may obtain a copy of the License at
+  ~
+  ~ http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied. See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
+
+
+<xs:schema xmlns:xs="http://www.w3.org/2000/XMLSchema"
+	xmlns:ns="http://axisversion.sample" xmlns:ns1="http://org.apache.axis2/xsd"
+	attributeFormDefault="qualified" elementFormDefault="qualified"
+	targetNamespace="http://axisversion.sample">
+	<xs:element name="VersionException">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element minOccurs="0" name="VersionException"
+					nillable="true" type="ns:Exception" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:complexType name="Exception">
+		<xs:sequence>
+			<xs:element minOccurs="0" name="Message" nillable="true"
+				type="xs:string" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:element name="getVersion">
+		<xs:complexType>
+			<xs:sequence />
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="getVersionResponse">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element minOccurs="0" name="return" nillable="true"
+					type="xs:string" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+</xs:schema>
+
+

Propchange: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/sampleSchema4.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Added: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/sampleSchema5.xsd
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/sampleSchema5.xsd?rev=1351210&view=auto
==============================================================================
--- axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/sampleSchema5.xsd (added)
+++ axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/sampleSchema5.xsd Mon Jun 18 06:09:49 2012
@@ -0,0 +1,31 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements. See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership. The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License. You may obtain a copy of the License at
+  ~
+  ~ http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied. See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
+
+
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            xmlns:ord="http://www.w3schools.com">
+  <xs:import namespace="http://www.w3schools.com"
+              schemaLocation="test-resources/schemas/custom_schemas/sampleSchema1.xsd"/>
+  <xs:element name="envelope" type="EnvelopeType"/>
+  <xs:complexType name="EnvelopeType">
+    <xs:sequence>
+      <xs:element ref="ord:order" maxOccurs="unbounded"/>
+    </xs:sequence>
+  </xs:complexType>
+</xs:schema>

Propchange: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/sampleSchema5.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Added: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/sampleSchema6.xsd
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/sampleSchema6.xsd?rev=1351210&view=auto
==============================================================================
--- axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/sampleSchema6.xsd (added)
+++ axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/sampleSchema6.xsd Mon Jun 18 06:09:49 2012
@@ -0,0 +1,65 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements. See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership. The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License. You may obtain a copy of the License at
+  ~
+  ~ http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied. See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
+
+
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+  <xs:element name="items" type="ItemsType"/>
+  <xs:complexType name="ItemsType">
+    <xs:choice minOccurs="0" maxOccurs="unbounded">
+      <xs:element name="shirt" type="ProductType"/>
+      <xs:element name="hat" type="ProductType"/>
+      <xs:element name="umbrella" type="ProductType"/>
+    </xs:choice>
+  </xs:complexType>
+  <!-- Element only content -->
+  <xs:complexType name="ProductType">
+    <xs:sequence>
+      <xs:element name="number" type="xs:integer"/>
+      <xs:element name="name" type="xs:string"/>
+      <xs:choice minOccurs="0" maxOccurs="unbounded">
+        <xs:element name="size" type="SizeType"/>
+        <xs:element name="color" type="ColorType"/>
+        <xs:element name="description" type="DescriptionType"/>
+      </xs:choice>
+    </xs:sequence>
+    <xs:attribute  name="effDate" type="xs:date"
+                    default="1900-01-01"/>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+  </xs:complexType>
+  <!-- Simple content -->
+  <xs:complexType name="SizeType">
+    <xs:simpleContent>
+      <xs:extension base="xs:integer">
+        <xs:attribute name="system" type="xs:token"/>
+      </xs:extension>
+    </xs:simpleContent>
+  </xs:complexType>
+  <!-- Empty content -->
+  <xs:complexType name="ColorType">
+    <xs:attribute name="value" type="xs:string"/>
+  </xs:complexType>
+  <!-- Mixed content -->
+  <xs:complexType name="DescriptionType" mixed="true">
+    <xs:sequence>
+      <xs:any namespace="http://www.w3.org/1999/xhtml"
+      minOccurs="0" maxOccurs="unbounded"
+      processContents="skip"/>
+    </xs:sequence>
+  </xs:complexType>
+</xs:schema>

Propchange: axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/schemas/custom_schemas/sampleSchema6.xsd
------------------------------------------------------------------------------
    svn:eol-style = native