Hi All,
I have 2 XSDs - one with the Types to be used throughout the
application, and one specific to my module (a.xsd & b.xsd)
a.xsd has
<xs:attribute name="MyTest">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="A" /> </xs:restriction>
</xs:simpleType>
</xs:attribute>
b.xsd uses it as
--Regular schema stuuf---
<xs:import namespace="http://schemas.mycompany.myproject"
schemaLocation="file:///C:/Program Files/XML/a.xsd"/>
<xs:complexType name="UserA">
<xs:sequence>
<xs:element name="Type" type="xs:token" />
<xs:attribute name="MyTest" type="a:MyTest" />
</xs:complexType>
I get the error "type MyTest is not declared or is not a simple type
xml".
I have researched this for hours and cannot find a soultion .
Any help is greatly appreciated.
Thanks,
Ben
*** Sent via Developersdex
http://www.developersdex.com ***