Okay, I am not 100% sure about this, but I have tested it in XMLSpy and I don’t get an error.
The issue is this:
I have a schema I created in MyEclipse. This schema imports one other schema; therefore, I use the import element in the schema.
I declare the namespace as such,
xmlns:doc="http://webservice.my.mil/documentservices/schema/myInfo"
The import statement looks like this:
<xs:import namespace="http://webservice.my.mil/documentservices/schema/myInfo"
schemaLocation="file:///MyDocument.xsd"/>
The element that has a problem looks like this
<xs:element ref="doc:Record" minOccurs="0" maxOccurs="10"/>
The warning for the import statement is the file could not be read. The error for the element is it can not resolve the the name “doc:Record”
Any suggestions would be appreciated.
Russ