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: [email protected]
For additional commands, e-mail: [email protected]