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:simpleTyp e>
<xs:restricti on base="xs:token" >
<xs:enumerati on value="A" /> </xs:restriction>
</xs:simpleType>
</xs:attribute>
b.xsd uses it as
--Regular schema stuuf---
<xs:import namespace="http ://schemas.mycompa ny.myproject"
schemaLocation= "file:///C:/Program Files/XML/a.xsd"/>
<xs:complexTy pe 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 ***
Comment