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 "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2007/12/24 09:36:43 UTC
[jira] Resolved: (AXIS2-3335) Attributes namespace is not defined
in getPullParser method and required in parse method
[ 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org