Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DescribeFeaturetype response contains unexpected wrapper schema #1537

Closed
lgoltz opened this issue Jul 4, 2023 · 0 comments · Fixed by #1538
Closed

DescribeFeaturetype response contains unexpected wrapper schema #1537

lgoltz opened this issue Jul 4, 2023 · 0 comments · Fixed by #1538
Labels
WFS deegree Web Feature Service

Comments

@lgoltz
Copy link
Contributor

lgoltz commented Jul 4, 2023

The WFS is configured for GML 3.1 with disabled dynamic schema and static schema location:

    <GMLFormat gmlVersion="GML_31">
        <MimeType>text/xml; subtype=gml/3.1.1</MimeType>
        <MimeType>text/xml; subtype="gml/3.1.1"</MimeType>
        <MimeType>application/gml+xml; version=3.1</MimeType>
        <GenerateBoundedByForFeatures>false</GenerateBoundedByForFeatures>
        <GetFeatureResponse>
            <DisableDynamicSchema>true</DisableDynamicSchema>
            <SchemaLocation>../appschemas/test_gml311.xsd</SchemaLocation>
        </GetFeatureResponse>
        <!-- Genauigkeit auf 6 Stellen testweise aktiviert -->
        <DecimalCoordinateFormatter places="6"/>        
    </GMLFormat>

The referenced SchemaLocation test_gml311.xsd imports the GML 3.1 schema:

<import namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/3.1.1/base/gml.xsd"/>

The DescribeFeaturetype response [1] contains a wrappper schema instead of the original schema:

<schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://geobasis-bb.de/forstfoerderung/wald">
  <include schemaLocation="http://localhost:8081/deegree-webservices/appschemas/test_gml311.xsd"/>
  <import namespace="http://www.w3.org/2001/SMIL20/" schemaLocation="http://schemas.opengis.net/gml/3.1.1/smil/smil20.xsd"/>
  <import namespace="http://www.w3.org/2001/SMIL20/Language" schemaLocation="http://schemas.opengis.net/gml/3.1.1/smil/smil20-language.xsd"/>
</schema>

SMIL 2.0 is imported in https://schemas.opengis.net/gml/3.1.1/base/defaultStyle.xsd.

Expected behavior: The DescribeFeaturetype request returns the original schema test_gml311.xsd.

[1] http://localhost:8081/deegree-webservices/services/test?service=WFS&request=DescribeFeaturetype&version=1.1.0

@lgoltz lgoltz added the WFS deegree Web Feature Service label Jul 4, 2023
lgoltz added a commit to lat-lon/deegree3 that referenced this issue Jul 4, 2023
…rom appNamespaces to avoid a wrapper schema
lgoltz added a commit to lat-lon/deegree3 that referenced this issue Jul 4, 2023
lgoltz added a commit to lat-lon/deegree3 that referenced this issue Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WFS deegree Web Feature Service
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant