axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philipp Lehmann (JIRA)" <>
Subject [jira] [Created] (AXIS2-5801) Axis2 xsd2java - namespace added to inherited attributes
Date Wed, 13 Jul 2016 14:13:20 GMT
Philipp Lehmann created AXIS2-5801:

             Summary: Axis2 xsd2java - namespace added to inherited attributes
                 Key: AXIS2-5801
             Project: Axis2
          Issue Type: Bug
          Components: adb
    Affects Versions: 1.7.3
         Environment: Axis2 1.7.3 
 Maven 3.3+ 
            Reporter: Philipp Lehmann

We have recently migrated from Axis2 1.6.2 to 1.7.3.
We have multiple XSDs that extend complex-type elements from a common parent XSD.

After the migration we have the namespace  add to the attributes.

1.6.2   <Attribute name="name"/>
1.7.3   <Attribute xmlns="" name="name"/>

Each time a Attribute is created a XML-Namespace is Setup. Is it possible to define the XML-Namespace
 in the root knot? 

For example:

 <child:Object xmlns:ns1="">
<ns1:Attribute  name="name"/>

I will attach an example with two XSDs and the Axis 1.7.3 generated source-code.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message