D
dickster
I have a query surrounding about elementFormDefault
I have abbreviated the schemas - and hopefully have included all the
relevant information
I get the following error message (AltovaXmlSpy-when I click validate)
in Schema1.xsd:
"The content model of complex type '{no name}' is not a valid
restriction of the content model of complex type 'origo:TimePeriod'"
What does this mean? - when I switch elementFormDefault to "qualified"
I DONT GET ANY ERROR MESSAGE :-|
---------------------------------------------------------------------------------------
Schema1.xsd
---------------------------------------------------------------------------------------
<xsd:schema
xmlnsrigo="http://www.origoservices.com"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.origoservices.com"
elementFormDefault="unqualified"
attributeFormDefault="unqualified">
<xsd:include schemaLocation="Schema2.xsd"/>
<xsd:complexType name="product">
<xsd:sequence>
I have abbreviated the schemas - and hopefully have included all the
relevant information
I get the following error message (AltovaXmlSpy-when I click validate)
in Schema1.xsd:
"The content model of complex type '{no name}' is not a valid
restriction of the content model of complex type 'origo:TimePeriod'"
What does this mean? - when I switch elementFormDefault to "qualified"
I DONT GET ANY ERROR MESSAGE :-|
---------------------------------------------------------------------------------------
Schema1.xsd
---------------------------------------------------------------------------------------
<xsd:schema
xmlnsrigo="http://www.origoservices.com"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.origoservices.com"
elementFormDefault="unqualified"
attributeFormDefault="unqualified">
<xsd:include schemaLocation="Schema2.xsd"/>
<xsd:complexType name="product">
<xsd:sequence>