Author Topic: XSD troubles  (Read 2174 times)

so1o

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
XSD troubles
« on: October 03, 2005, 11:05:53 am »
hello everyone

here is a packagae structure that i have created

pck1
|
|---cls1
|
|---pck2
    |
    |--cls2

cls2 is associated with cls1

when i generate the xsd this is what is get

<?xml version="1.0" encoding="ISO-8859-1"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="cls1" type="cls1"/>
<xs:complexType name="cls1">
<xs:sequence>
<xs:element ref="cls2"/>
</xs:sequence>
</xs:complexType>
</xs:schema>


there is no explaination in XSD about cls2... neither there is a import as mentioned here..
http://www.sparxsystems.com.au/EAUserGuide/index.html?example.htm

please help....

- so1o