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 "Deepal Jayasinghe (JIRA)" <ji...@apache.org> on 2007/11/12 19:07:51 UTC
[jira] Assigned: (AXIS2-3279) Axis2-1.3: BeanUtil: wrong xsi:type
handling
[ https://issues.apache.org/jira/browse/AXIS2-3279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Deepal Jayasinghe reassigned AXIS2-3279:
----------------------------------------
Assignee: Deepal Jayasinghe
> Axis2-1.3: BeanUtil: wrong xsi:type handling
> --------------------------------------------
>
> Key: AXIS2-3279
> URL: https://issues.apache.org/jira/browse/AXIS2-3279
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: adb
> Affects Versions: 1.3
> Reporter: Jabber W
> Assignee: Deepal Jayasinghe
> Fix For: 1.3
>
>
> In the deserialize(Class beanClass,
> OMElement beanElement,
> ObjectSupplier objectSupplier,
> String arrayLocalName)
> 1. there is a bug in the xsi:type hadnling (line 295) :
> String instanceTypeName = beanElement.getAttributeValue(new QName("type"))
> -- which returns null when attribute supplied instead of --
> String instanceTypeName =
> beanElement.getAttributeValue(QName.valueOf("{http://www.w3.org/2001/XMLSchema-instance}type"))
> As a result the supplied xsi:type is missed.
> BUT !!
> 2. Though the attribute value was collected properly it's still buggish :
> the assumption that the xsi:type contains the java name is not justified (line 298):
> beanClass = Loader.loadClass(beanClass.getClassLoader(), instanceTypeName)
> The xsi:type of course may be translated to appropriate class, but it shoudn't be the same.
> All mentioned is highly important issue when the extender types are used.
--
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