[
https://issues.apache.org/jira/browse/AXIS2-3335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Amila Chinthaka Suriarachchi resolved AXIS2-3335.
-------------------------------------------------
Resolution: Invalid
Now adb does not use getpullParser method. please have a look at with a nighly
build.
> Attributes namespace is not defined in getPullParser method and required in
> parse method
> ----------------------------------------------------------------------------------------
>
> Key: AXIS2-3335
> URL: https://issues.apache.org/jira/browse/AXIS2-3335
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: adb
> Affects Versions: 1.3
> Environment: Windows XP, Java 1.4.2
> Reporter: Antoni Alatalo
>
> When generating code from WSDL (or XSD) with elements that has attributes,
> then they namspaces are not defined:
> <attribute name="createdDate" type="dateTime">
> <annotation>
> <documentation>date of entity
> creation</documentation>
> </annotation>
> </attribute>
> in getPullParser method:
> attribList.add(new javax.xml.namespace.QName("", "createdDate"));
> In the other hands when parsing xml in parse method for some reason
> attributes namespace is required
> The way must be the same in both sides. Probably obligatoriness should be
> removed from parse method, because in mostly cases attribute with no
> namespace goes throw validators.
> Antoni
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]