Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Prblem with my first schema

Status
Not open for further replies.

PsychoPif

IS-IT--Management
Apr 15, 2002
3
CA
Here is my code :

<?xml version=&quot;1.0&quot;?>
<xs:schema xmlns:xs=&quot; <xs:element name=&quot;Forum&quot;>
<xs:complexeType>
<xs:sequence>
<xs:element ref=&quot;frmName&quot;/>
<xs:element ref=&quot;frmRight&quot; />
<xs:element ref=&quot;frmLastPost&quot; />
<xs:element ref=&quot;frmTopicCount&quot; />
<xs:element ref=&quot;Topic&quot; minOccurs=&quot;0&quot; maxOccurs=&quot;unbounded&quot; />
</xs:sequence>
</xs:complexeType>
</xs:element>

and it continu...

I get an error at line 4 it say that i cannot use complexe type. I did this after reading 2 tutorial, and i can't figure the problem. Can anyone help me ?
 
xs:complexeType is not defined in this schema. Use:

xs:complexType (take out the final 'e' in complexe)
 
Thanks a lot. I can't think of a tutorial where you have such kind of typo. Guess next time I'll be more critic about what i read on this web site.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top