
Hi, We have been trying to validate the GML version 3.1.1. We have managed to track down 140 of the 144 errors in the XML Schema. The last four errors are really puzzling. Could someone please help with interpreting and fixing the errors? The errors are: http://www.w3.org/TR/xmlschema-1/#rcase-Recurse E rcase-Recurse.2: There is not a complete functional mapping between the particles. coverage.xsd file:/E:/downloads/GML3.1/GML2004-10-29/base/coverage.xsd 407:37 http://www.w3.org/TR/xmlschema-1/#derivation-ok-restriction E derivation-ok-restriction.5.4.2: Error for type 'GridDomainType'. The particle of the type is not a valid restriction of the particle of the base. coverage.xsd file:/E:/downloads/GML3.1/GML2004-10-29/base/coverage.xsd 407:37 http://www.w3.org/TR/xmlschema-1/#rcase-Recurse E rcase-Recurse.2: There is not a complete functional mapping between the particles. coverage.xsd file:/E:/downloads/GML3.1/GML2004-10-29/base/coverage.xsd 407:37 http://www.w3.org/TR/xmlschema-1/#derivation-ok-restriction E derivation-ok-restriction.5.4.2: Error for type 'GridDomainType'. The particle of the type is not a valid restriction of the particle of the base. coverage.xsd file:/E:/downloads/GML3.1/GML2004-10-29/base/coverage.xsd 407:37 The section in the coverage.xsd file looks like this: <complexType name="GridCoverageType"> <complexContent> <restriction base="gml:AbstractDiscreteCoverageType"> <sequence> <group ref="gml:StandardObjectProperties"/> <element ref="gml:boundedBy" minOccurs="0"/> <element ref="gml:gridDomain"/> <element ref="gml:rangeSet"/> <element ref="gml:coverageFunction" minOccurs="0"/> </sequence> </restriction> </complexContent> <element name="gridDomain" type="gml:GridDomainType" substitutionGroup="gml:domainSet"/> <!-- =========================================================== --> <complexType name="GridDomainType"> <complexContent> <restriction base="gml:DomainSetType"> <sequence minOccurs="0"> <element ref="gml:Grid"/> </sequence> <attributeGroup ref="gml:AssociationAttributeGroup"/> </restriction> </complexContent> </complexType> Can anyone see the problem? Thanks John Hockaday Geoscience Australia GPO Box 378 Canberra ACT 2601 (02) 6249 9735 http://www.ga.gov.au/