Hi Michael,

Michael Mogley wrote:

> The following xml generates an invalid reference error when deserializing
> using XStream 1.4.2:
> 
> 
> 
> <list>
> 
>   <typeA/>
> 
>   <typeA/>
> 
>   <typeA/>
> 
> 
> 
>   <typeB>
> 
>     <items>
> 
>       <typeA reference=”../../../typeA[2]”/>
> 
>     </items>
> 
>   </typeB>
> 
> </list>
> 
> 
> 
> Anyone see what I’m doing wrong?  And I’ve left the mode at the default
> ‘RELATIVE_REFERENCES’.

Cannot say, it looks right. You have to provide more info. Useful: complete 
error message and stack trace, data structure and XStream initialization.

Cheers,
Jörg


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

    http://xircles.codehaus.org/manage_email


Reply via email to