[ 
http://jira.codehaus.org/browse/XFIRE-1063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_101900
 ] 

Alex Chujko commented on XFIRE-1063:
------------------------------------

sorry
"Obviously getOrCreateMapKeyType will return null" -> Obviously 
getOrCreateMapKeyType will return createObjectType() from AbstractTypeCreator.

> Map types does not resolved properly
> ------------------------------------
>
>                 Key: XFIRE-1063
>                 URL: http://jira.codehaus.org/browse/XFIRE-1063
>             Project: XFire
>          Issue Type: Bug
>          Components: Aegis Module
>    Affects Versions: 1.2.6
>         Environment: any
>            Reporter: Alex Chujko
>            Assignee: Dan Diephouse
>
> Preconditions: no .aegis.xml files, using just *beans* approach by mens of 
> spring module.
> Seems like there is a but with generic types resolving,e.g:
> public class Pair
> {
> ...
> }
> Map<String, Set<Pair>> - as *in* parameter, will be resolved like this:
>   <xsd:complexType name="anyType2anyTypeMap">
>   <xsd:sequence>
>   <xsd:element maxOccurs="unbounded" minOccurs="0" name="entry">
>   <xsd:complexType>
>   <xsd:sequence>
>   <xsd:element maxOccurs="1" minOccurs="0" name="key" type="xsd:anyType" /> 
>   <xsd:element maxOccurs="1" minOccurs="0" name="value" type="xsd:anyType" /> 
>   </xsd:sequence>
>   </xsd:complexType>
>   </xsd:element>
>   </xsd:sequence>
>   </xsd:complexType>
> It happens cos createClassInfo function is called from the 
> Java5TypeCreator(cos there is no mappings findMapping=*null*) but it'll do 
> only setGenericType.
> Obviously getOrCreateMapKeyType will return *null* cos it'll be called not 
> from Java5TypeCreator but from XMLTypeCreator(see ?if (info.getKeyType() != 
> null)?).
> All works fine for Annotations.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to