Support encoding multiple WFS feature types with the same XSD type
------------------------------------------------------------------

                 Key: GEOT-3354
                 URL: http://jira.codehaus.org/browse/GEOT-3354
             Project: GeoTools
          Issue Type: Bug
          Components: data app-schema
    Affects Versions: 2.7-beta1
            Reporter: Ben Caradoc-Davies
            Assignee: Ben Caradoc-Davies


When users define two WFS feature types (XSD elements) with the same XSD type, 
they encounter an exception at encode time. The reason the two types compare 
unequal is under investigation.

{code}
java.lang.IllegalArgumentException: Type with same name already exists in cache.
        at org.geotools.gml2.FeatureTypeCache.put(FeatureTypeCache.java:45)
        at 
org.geoserver.wfs.xml.v1_1_0.WFSConfiguration.configureContext(WFSConfiguration.java:233)
        at org.geotools.xml.Configuration.setupContext(Configuration.java:645)
        at org.geotools.xml.Encoder.<init>(Encoder.java:229)
        at 
org.geoserver.wfs.xml.GML3OutputFormat.createEncoder(GML3OutputFormat.java:213)
        at 
org.geoserver.wfs.xml.GML3OutputFormat.write(GML3OutputFormat.java:161)
        at 
org.geoserver.wfs.WFSGetFeatureOutputFormat.write(WFSGetFeatureOutputFormat.java:141)
{code}

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

        

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to