It's hard to tell exactly why you are seeing this from the snippets
but here are some suggestions.
does DP,xsd have a targetNamespace? (it doesn't in the snippet)
Does this work if an xsd:include is used instead?
Are there any typo's in the namespace declarations.

Best of Luck,
-Jacob Danner

On 6/27/07, Naveen Ravindra <[EMAIL PROTECTED]> wrote:

I have DCP.xsd where in i import DP.xsd(which contains Artifact element).

I have placed both the xsd in the same directory but i get the error:
src-resolve: type '[EMAIL PROTECTED]:///dp.ecore' not found


DP.xsd
A chunk from xsd file below
<xsd:schema xmlns:dp="http:///dp.ecore"/>


DCP.xsd
<xsd:schema xmlns:dcp="http:///dcp.ecore";
xmlns:defaultprofile="http:///dp.ecore";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
targetNamespace="http:///dcp.ecore";>

  <xsd:import namespace="http:///dp.ecore"; schemaLocation="DP.xsd"/>


Regards,
Naveen
--
View this message in context:
http://www.nabble.com/SchemaCompiler---error%3A-src-resolve%3A-type-%27Artifact%40http%3A---dp.ecore%27-not-found-tf3987733.html#a11322586
Sent from the Xml Beans - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to