You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Philipp Lehmann (JIRA)" <ji...@apache.org> on 2016/07/13 14:13:20 UTC

[jira] [Created] (AXIS2-5801) Axis2 xsd2java - namespace added to inherited attributes

Philipp Lehmann created AXIS2-5801:
--------------------------------------

             Summary: Axis2 xsd2java - namespace added to inherited attributes
                 Key: AXIS2-5801
                 URL: https://issues.apache.org/jira/browse/AXIS2-5801
             Project: Axis2
          Issue Type: Bug
          Components: adb
    Affects Versions: 1.7.3
         Environment: Axis2 1.7.3 
 Windows 
 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="http://www.example.org/master" 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="http://www.example.org/master">
<ns1:Attribute  name="name"/>
</child:Object>

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







--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org