In the (altered) XSD for CCMM Geometry, in the part connecting to GML, there is a missing <gml> element.
From the specification in Dataspecer, the following XSD is generated (with no support for GML):
<xs:element minOccurs="0" name="gml" type="xs:anySimpleType" sawsdl:modelReference="http://www.opengis.net/ont/geosparql#asGML">
<xs:annotation>
<xs:documentation xml:lang="en">
geography markup language literal - Representation of geometry object as GML Literal.
</xs:documentation>
</xs:annotation>
</xs:element>
The expectation would be that the XML including GML would look like this:
<geometry>
<gml>
<gml:MultiSurface gml:id="MS.AU.2.27"
srsName="http://www.opengis.net/def/crs/EPSG/0/5514" srsDimension="2">
<gml:surfaceMember>
<gml:Polygon gml:id="S.AU.2.27.1">
<gml:exterior>
<gml:LinearRing>
<gml:posList>-700345.18 -989088.81 -700397.4 -989124.72 -700413.72
-989135.06 -700460.36 -989161.37 -700464.2 -989163.4 -700499.66
-989177.78 -700543.38 -989185.44 -700547.56 -989186.17
-734005.2 -1034221.4 -734000.7 -1034206.55 -733990.88 -1034174.1
-733982.57 -1034166.93 -733980.5 -1034165.15 -733970.63
-1034131.76 -733969.44 -1034127.73 -733973.52 -1034126.34
-733972.62 -1034123.26</gml:posList>
</gml:LinearRing>
</gml:exterior>
</gml:Polygon>
</gml:surfaceMember>
</gml:MultiSurface>
</gml>
<wkt srsName="http://www.opengis.net/def/crs/EPSG/0/4326">POLYGON ((14.508682697577541
50.51144569678917, 14.477983995157558 50.518028235000116, 14.478035479185621
50.45555539736816, 14.43880488232486 50.421645176771875, 14.36581743554305
50.446719892855725, 14.35739194570175 50.36258757705775, 14.250657864603255
However, in the manual alteration of the XSD, the entire <gml> element was replaced by
<xs:element minOccurs="0" ref="gml:AbstractGeometry"
instead of it being included in the <gml> element.
resulting in XML:
<geometry>
<gml:MultiSurface gml:id="MS.AU.2.27"
srsName="http://www.opengis.net/def/crs/EPSG/0/5514" srsDimension="2">
<gml:surfaceMember>
<gml:Polygon gml:id="S.AU.2.27.1">
<gml:exterior>
<gml:LinearRing>
<gml:posList>-700345.18 -989088.81 -700397.4 -989124.72 -700413.72
-989135.06 -700460.36 -989161.37 -700464.2 -989163.4 -700499.66
-989177.78 -700543.38 -989185.44 -700547.56 -989186.17
-734005.2 -1034221.4 -734000.7 -1034206.55 -733990.88 -1034174.1
-733982.57 -1034166.93 -733980.5 -1034165.15 -733970.63
-1034131.76 -733969.44 -1034127.73 -733973.52 -1034126.34
-733972.62 -1034123.26</gml:posList>
</gml:LinearRing>
</gml:exterior>
</gml:Polygon>
</gml:surfaceMember>
</gml:MultiSurface>
<wkt srsName="http://www.opengis.net/def/crs/EPSG/0/4326">POLYGON ((14.508682697577541
50.51144569678917, 14.477983995157558 50.518028235000116, 14.478035479185621
50.45555539736816, 14.43880488232486 50.421645176771875, 14.36581743554305
50.446719892855725, 14.35739194570175 50.36258757705775, 14.250657864603255
which is inconsistent.
In the (altered) XSD for CCMM Geometry, in the part connecting to GML, there is a missing
<gml>element.From the specification in Dataspecer, the following XSD is generated (with no support for GML):
The expectation would be that the XML including GML would look like this:
However, in the manual alteration of the XSD, the entire
<gml>element was replaced byinstead of it being included in the
<gml>element.resulting in XML:
which is inconsistent.