Handling of AbstractGML #1643
Labels
needs discussion
requires discussion with contributor
TMC discussion
to be discussed by technical management committee members
tools
deegree command line tools (CLI)
WFS
deegree Web Feature Service
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: