We're updating the issue view to help you get more done. 

WFS 2.0 DescribeFeatureType responses for app-schema types contain a spurious WFS 2.0 jar import

Description

WFS 2.0 DescribeFeatureType responses for app-schema types contain a spurious WFS 2.0 jar import. For example, with the app-schema tutorial configuration, the response for:
http://localhost:8080/geoserver/wfs?request=DescribeFeatureType&version=2.0.0&typeName=gsml:MappedFeature
contains a spurious import for the WFS 2.0 jar:

1 <xsd:import namespace="http://www.opengis.net/wfs/2.0" schemaLocation="jar:file:/home/ben/.m2/repository/org/geotools/xsd/gt-xsd-wfs/18-SNAPSHOT/gt-xsd-wfs-18-SNAPSHOT.jar!/org/geotools/wfs/v2_0/wfs.xsd"/>

The WFS 1.1 response does not contain this import:
http://localhost:8080/geoserver/wfs?request=DescribeFeatureType&version=1.1.0&typeName=gsml:MappedFeature

Environment

None

Status

Assignee

Nuno Oliveira

Reporter

Ben Caradoc-Davies

Triage

Fix versions

Affects versions

2.12-beta

Components

Priority

Medium