Fix FeatureTypeSchemaBuilder handling of multiple includes
----------------------------------------------------------
Key: GEOS-4824
URL: https://jira.codehaus.org/browse/GEOS-4824
Project: GeoServer
Issue Type: Bug
Components: WFS
Affects Versions: 2.2.x
Reporter: Ben Caradoc-Davies
Assignee: Justin Deoliveira
Attachments: FeatureTypeSchemaBuilder.patch
Justin,
there is a problem with my GEOS-4511 FeatureTypeSchemaBuilder fix: it is possible that multiple schemas may be included into the targetNamespace. For example, an app-schema user may specify multiple component schemas in the same namespace instead of a single top-level schema (a bad practice, but not prohibited; may happen in the context of multiple feature types). My GEOS-4511 FeatureTypeSchemaBuilder fix inadvertently removed support for this by using a single map for both imports and includes.
Please review the attached patch which reverts my GEOS-4511 FeatureTypeSchemaBuilder fix and replaces it with a more general fix that allows multiple includes for the targetNamespace.
Kind regards,
Ben.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira