Altova Mailing List Archives

Re: Schema validation problem

From: ht@---.--.--.-- (----- -. --------)
Date: 1/18/2006 2:45:00 PM
steve_marjoribanks writes:

> <!--============= ComplexType =============-->
> <complexType name="CongArrayType">
> 	<complexContent>
> 		<restriction base="gml:FeatureArrayPropertyType">
> 			<sequence>
> 				<element ref="agsml:_CongFeature" maxOccurs="unbounded"/>
> 			</sequence>
> 		</restriction>
> 	</complexContent>
> </complexType>
> Whenever I try to validate it, XMLSpy highlights the <complexType
> name="CongArrayType"> tag and says:
> "The content model of complexType "agsml:CongArrayType" is not a valid
> restriction of the content model of complexType
> "gml:FeatureArrayPropertyType"

So we need to see the complex type definition of
FeatureArrayPropertyType in the imported schema document for whatever
namespace 'gml' is bound to, before we can identify the problem.

 Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                     Half-time member of W3C Team
    2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
            Fax: (44) 131 650-4587, e-mail: ht@i...
[mail really from me _always_ has this .sig -- mail without it is forged spam]


These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.