You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Executing the GmlTool to create the SQLFeatureStore configuration for MineralResourcesCore.xsd with reference data fails with
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scopedTarget.parseJobParameter' defined in org.deegree.tools.featurestoresql.config.SqlFeatureStoreConfigCreatorConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.deegree.tools.featurestoresql.config.LoadParameter]: Factory method 'parseJobParameter' threw exception; nested exception is class org.deegree.commons.xml.XMLParsingException: Error in XML document (file 'file:/xxx/refrenceData.gml', line: 27, column: 9, character offset: 3694): Feature type "{http://inspire.ec.europa.eu/schemas/base2/2.0}DocumentCitation" is unknown.
<element name="DocumentCitation" substitutionGroup="gml:AbstractGML" type="base2:DocumentCitationType">
<annotation>
<documentation>-- Name --
document citation
-- Definition --
Citation for the purposes of unambiguously referencing a document.</documentation>
</annotation>
</element>
<complexType name="DocumentCitationType">
<complexContent>
<extension base="gml:AbstractGMLType">
...
deegree recognized only substituions of "AbstractFeature" as feature types, hence DocumentCitation is not detected as feature type and parsing of the reference data fails.
There may be more examples of AbstractGML "feature types" in INSPIRE application schema.
The text was updated successfully, but these errors were encountered:
Executing the GmlTool to create the SQLFeatureStore configuration for MineralResourcesCore.xsd with reference data fails with
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scopedTarget.parseJobParameter' defined in org.deegree.tools.featurestoresql.config.SqlFeatureStoreConfigCreatorConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.deegree.tools.featurestoresql.config.LoadParameter]: Factory method 'parseJobParameter' threw exception; nested exception is class org.deegree.commons.xml.XMLParsingException: Error in XML document (file 'file:/xxx/refrenceData.gml', line: 27, column: 9, character offset: 3694): Feature type "{http://inspire.ec.europa.eu/schemas/base2/2.0}DocumentCitation" is unknown.
The relevant part of the referenceData.gml:
deegree evaluates the annotation of the property declaration of sourceReference as reference to base2:DocumentCitation:
base2:DocumentCitation is substituted from AbstractGML (https://inspire.ec.europa.eu/schemas/base2/2.0/BaseTypes2.xsd):
deegree recognized only substituions of "AbstractFeature" as feature types, hence DocumentCitation is not detected as feature type and parsing of the reference data fails.
There may be more examples of AbstractGML "feature types" in INSPIRE application schema.
The text was updated successfully, but these errors were encountered: