Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Validation error on schemalocation of Eclipse-generated xsd file.
Validation error on schemalocation of Eclipse-generated xsd file. [message #204746] Tue, 20 November 2007 14:30 Go to previous message
Juan Pedro Silva is currently offline Juan Pedro SilvaFriend
Messages: 258
Registered: July 2009
Senior Member
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<body bgcolor="#ffffff" text="#000000">
Hi everybody. <br>
I've asked this in the EMF newsgroup and I was told this newsgroup was
more appropriate.<br>
I'm generating some xsd, wsdl, etc., for my project, and suddenly came
upon this problem.<br>
While generating an schema <b>with the eclipse wizard</b>, I get:<br>
&lt;xsd:import namespace=<a class="moz-txt-link-rfc2396E"
schemaLocation=" ../../../../../../../plugin/org.eclipse.emf.ecore/model/Ecor e.xsd "/&gt;<br>
I guess "../../../../../../../" represents the path to the eclipse
installation folder (there are just as much "../" segments as
directories before my eclipse installation folder), but when trying to
validate the xsd I get "Failed
to read schema document" for that line, and therefore all files
that reference this schema are not valid. I placed Ecore.xsd in the
same folder and shortened the path to "./" and validation worked fine.
Is the path expression invalid?, which is the maximum allowed depth for
it to be valid?. Relative paths are supposed to be valid, although I
understand this one is not among the most elegant ones.<br>
I'm a newcomer to schemas, so I'm a little lost here. I would very much
appreciate your help.<br>
Thank you in advance.<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Juan Pedro<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Line delimiters
Next Topic:Corollary to org.eclipse.jst.component.dependency in WTP 1.5
Goto Forum:

Current Time: Sat Jul 22 09:20:31 GMT 2017

Powered by FUDForum. Page generated in 0.08684 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software