Hi,There's a typo there. In:
I have written this xml schema:
... cut ...
When I try to validate the document I receive these errors:
Validation * * *7, 43 * src-resolve: Cannot resolve the name 'XMFLOW' to
a(n) 'type definition' component.
<xs:element name="XMLFLOW" type="XMFLOW"/>
<xs:complexType name="XMLFLOW">
type="XMFLOW" should go to type="XMLFLOW".
Validation * * *19, 41 *s4s-elt-invalid-content.1: The content ofThe syntax for the complexTypes is wrong. It should be something
'PRODUCT' is invalid. Element 'element' is invalid, misplaced, or
occurs too often.
like:
<xs:complexType name="PRODUCT">
<xs:sequence <!-- This is added -->
<xs:element name="INFO" type="INFO"/>
...
</xs:sequence>
</xs:complexType>
HTH,
Pete Cordell
Codalogic Ltd
Interface XML to C++ the easy way using XML C++
data binding to convert XSD schemas to C++ classes.
Visit http://www.codalogic.com/lmx/ for more info