gml:ReferenceType cannot be encoded
-----------------------------------

                 Key: GEOT-2494
                 URL: http://jira.codehaus.org/browse/GEOT-2494
             Project: GeoTools
          Issue Type: Improvement
          Components: ext xml-xsd
    Affects Versions: 2.6-M2
            Reporter: Rini Angreani
            Assignee: Rini Angreani
             Fix For: 2.6-M2


ClassCastException is thrown when gml:ReferenceType is being encoded, because 
the object was expected to be an Association, whereas it could be an 
association represented by a ComplexAttribute.
I changed the cast to Property instead, as it'd cover both Association and 
ComplexAttribute.
I also added an encode method needed to encode client properties for complex 
features. 

-- 
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

        

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to