[OSGeo-Discuss] Please give me advice on how to check the substitionGroup attribute?

eros gml.check.tool at gmail.com
Fri Sep 17 01:36:54 EDT 2010


I would like to check if the element is substituted by "gml:AbstractFeature"
or "gml:AbstractObject"..

gml file
<gml:Grid gml:id="grid" dimension="2">
...
</gml:Grid>

<ksj:DesignatedAreaSubdivisionMesh gml:id="fi_1">
...
</ksj:DesignatedAreaSubdivisionMesh>


please see the following xsd files to check if the
ksj:DesignatedAreaSubdivisionMesh is substituted by gml:AbstractFeature

ksj scehma
<xsd:element name="DesignatedAreaSubdivisionMesh"
type="DesignatedAreaSubdivisionMeshType"
substitutionGroup="gml:GridCoverage"/>

ISO_19136_Schemas\coverage.xsd
<element name="GridCoverage" type="gml:DiscreteCoverageType"
substitutionGroup="gml:AbstractDiscreteCoverage">
<element name="AbstractDiscreteCoverage" type="gml:DiscreteCoverageType"
abstract="true" substitutionGroup="gml:AbstractCoverage">
<element name="AbstractCoverage" type="gml:AbstractCoverageType"
abstract="true" substitutionGroup="gml:AbstractFeature">



please see the following xsd files to check if the gml:Grid is substituted
by gml:AbstractFeature

ISO_19136_Schemas\grids.xsd
<element name="Grid" type="gml:GridType"
substitutionGroup="gml:AbstractImplicitGeometry">
<element name="AbstractImplicitGeometry" type="gml:AbstractGeometryType"
abstract="true" substitutionGroup="gml:AbstractGeometry"/>

ISO_19136_Schemas\geometryBasic0d1d.xsd
<element name="AbstractGeometry" type="gml:AbstractGeometryType"
abstract="true" substitutionGroup="gml:AbstractGML">

ISO_19136_Schemas\gmlBase.xsd
<element name="AbstractGML" type="gml:AbstractGMLType" abstract="true"
substitutionGroup="gml:AbstractObject">


Please guide me on how to resolve the substitutionGroup to check if it is
gml:AbstractObject or gml:AbstractFeature..

thanks in advance.
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Please-give-me-advice-on-how-to-check-the-substitionGroup-attribute-tp5541483p5541483.html
Sent from the OSGeo Discuss mailing list archive at Nabble.com.


More information about the Discuss mailing list