Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Problems with Ecore schemalocation while generating xsd with wizard.
Problems with Ecore schemalocation while generating xsd with wizard. [message #414725] Tue, 20 November 2007 11:50 Go to next 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">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi everybody. <br>
I'm generating some xsd, wsdl, etc., for my project, and suddenly came
upon this problem.<br>
<br>
While generating an schema <b>with the eclipse wizard</b>, I get:<br>
<br>
&lt;xsd:import namespace=<a class="moz-txt-link-rfc2396E" href="http://www.eclipse.org/emf/2002/Ecore">"http://www.eclipse.org/emf/2002/Ecore"</a>
schemaLocation=" ../../../../../../../plugin/org.eclipse.emf.ecore/model/Ecor e.xsd "/&gt;<br>
<br>
I guess "../../../../../../../" represents the path to the eclipse
installation folder, but when trying to validate the xsd I get "Failed
to read schema document" for that line, and therefore all my wsdl files
are not valid.<br>
What should I do?, I don't know if that is a valid way of expressing
the path or not, or if I should set something in the genmodel. I
thought of generating all referenced/used schemas (including ecore),
but they don't show up in the package page.<br>
<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>
Regards,<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; <br>
</body>
</html>
Re: Problems with Ecore schemalocation while generating xsd with wizard. [message #414730 is a reply to message #414725] Tue, 20 November 2007 12:36 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33143
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------090605070602000804000001
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Juan,

Comments below.

Juan Pedro Silva wrote:
> Hi everybody.
> I'm generating some xsd, wsdl, etc., for my project, and suddenly came
> upon this problem.
EMF doesn't generate WSDLs yet...
>
> While generating an schema *with the eclipse wizard*, I get:
>
> <xsd:import namespace="http://www.eclipse.org/emf/2002/Ecore"
> schemaLocation=" ../../../../../../../plugin/org.eclipse.emf.ecore/model/Ecor e.xsd "/>
>
> I guess "../../../../../../../" represents the path to the eclipse
> installation folder, but when trying to validate the xsd I get "Failed
> to read schema document" for that line, and therefore all my wsdl
> files are not valid.
This represents a relative path from the workspace location of your
..xsd, which I assume is of the form
paltform:/resource/project/d1/d2/d3/d4/d5/d6/Your.xsd, such that
resolving that relative path against the absolute path of the .xsd, will
yield the absolute address
platform:/plugin/org/eclipse.emf.ecore/model/Ecore.xsd. When validating
in an Eclipse environment, it should be possible to resolve this .xsd
since new
URL("platform:/plugin/org/eclipse.emf.ecore/model/Ecore.xsd ").openStream()
should be able to fetch it. In any other context, you'd likely need an
XML catalog to specify how to find the Ecore.xsd. Likely you should be
avoiding the use of type in the Ecore.ecore/Ecore.xsd and use the data
types in the XMLTypePackage which correspond to the data types defined
in the XML Schema for schemas, i.e., xsd:int, xsd:string and so on.
> What should I do?, I don't know if that is a valid way of expressing
> the path or not, or if I should set something in the genmodel. I
> thought of generating all referenced/used schemas (including ecore),
> but they don't show up in the package page.
It's not clear if the above path is invalid or if you are validating in
a context where platform:/plugin URLs don't work natively. It seems
likely that you might want to use the XML Schema data types instead if
having a schema with minimal dependencies is important.
>
> I'm a newcomer to schemas, so I'm a little lost here. I would very
> much appreciate your help.
> Thank you in advance.
> Regards,
> Juan Pedro
>


--------------090605070602000804000001
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Juan,<br>
<br>
Comments below.<br>
<br>
Juan Pedro Silva wrote:
<blockquote cite="mid:fhuhqb$qlm$1@build.eclipse.org" type="cite">Hi
everybody. <br>
I'm generating some xsd, wsdl, etc., for my project, and suddenly came
upon this problem.<br>
</blockquote>
EMF doesn't generate WSDLs yet...<br>
<blockquote cite="mid:fhuhqb$qlm$1@build.eclipse.org" type="cite"><br>
While generating an schema <b>with the eclipse wizard</b>, I get:<br>
<br>
&lt;xsd:import namespace=<a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2002/Ecore">"http://www.eclipse.org/emf/2002/Ecore"</a>
schemaLocation=" ../../../../../../../plugin/org.eclipse.emf.ecore/model/Ecor e.xsd "/&gt;<br>
<br>
I guess "../../../../../../../" represents the path to the eclipse
installation folder, but when trying to validate the xsd I get "Failed
to read schema document" for that line, and therefore all my wsdl files
are not valid.<br>
</blockquote>
This represents a relative path from the workspace location of your
..xsd, which I assume is of the form
paltform:/resource/project/d1/d2/d3/d4/d5/d6/Your.xsd,&n bsp; such that
resolving that relative path against the absolute path of the .xsd,
will yield the absolute address
platform:/plugin/org/eclipse.emf.ecore/model/Ecore.xsd.& nbsp; When
validating in an Eclipse environment, it should be possible to resolve
this .xsd since new
URL("platform:/plugin/org/eclipse.emf.ecore/model/Ecore.xsd ").openStream()
should be able to fetch it.&nbsp; In any other context, you'd likely need an
XML catalog to specify how to find the Ecore.xsd.&nbsp; Likely you should be
avoiding the use of type in the Ecore.ecore/Ecore.xsd and use the data
types in the XMLTypePackage which correspond to the data types defined
in the XML Schema for schemas, i.e., xsd:int, xsd:string and so on.<br>
<blockquote cite="mid:fhuhqb$qlm$1@build.eclipse.org" type="cite">What
should I do?, I don't know if that is a valid way of expressing
the path or not, or if I should set something in the genmodel. I
thought of generating all referenced/used schemas (including ecore),
but they don't show up in the package page.<br>
</blockquote>
It's not clear if the above path is invalid or if you are validating in
a context where platform:/plugin URLs don't work natively. It seems
likely that you might want to use the XML Schema data types instead if
having a schema with minimal dependencies is important.<br>
<blockquote cite="mid:fhuhqb$qlm$1@build.eclipse.org" type="cite"><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>
Regards,<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; <br>
</blockquote>
<br>
</body>
</html>

--------------090605070602000804000001--


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Problems with Ecore schemalocation while generating xsd with wizard. [message #414732 is a reply to message #414730] Tue, 20 November 2007 13:02 Go to previous messageGo to next 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">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ed, thanks for your answer.<br>
In respect of your comments: <br>
<br>
-Yes, the wsdl generation is mine, not eclipse's.&nbsp;<span
class="moz-smiley-s1"><span> :-) </span></span> I'll be glad to make
it available whenever you feel like (planning to offer it to Servus
project, as you told me in a previous post). Currently, I'm tunning it
and it only makes document/literal wrapped wsdl files. Regardless of
the Ecore.xsd issue, they are validating fine so far.<br>
<br>
-The validation is taking place in a eclipse environment, selecting the
file (already in the workspace) in the package explorer,
right-click/validate. So it goes down to one of two options: either I'm
having some miss-configuration, or the validation rules don't allow
such a path expression. I placed Ecore.xsd in the same folder and
shortened the path to "./" and it worked fine.<br>
<br>
-I am using UML Primitive Types for the parameters, which I guess is
causing the ecore type references. Is there any option I can turn on so
that the XSD Exporter would perform a type mapping for me?. The
available type options while modeling UML are UML, Ecore, Default,
Standard, the ones available in the current model, and the ones
available in the applied profiles, so I cannot choose XML Schema data
types while editing the models, and would have to make the
transformation by code on a later step.<br>
<br>
I'll hold for your suggestions.<br>
Regards,<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; Juan Pedro<br>
<br>
<br>
<br>
<br>
Ed Merks escribi&oacute;:
<blockquote cite="mid:fhukd5$3ar$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
Juan,<br>
<br>
Comments below.<br>
<br>
Juan Pedro Silva wrote:
<blockquote cite="mid:fhuhqb$qlm$1@build.eclipse.org" type="cite">Hi
everybody. <br>
I'm generating some xsd, wsdl, etc., for my project, and suddenly came
upon this problem.<br>
</blockquote>
EMF doesn't generate WSDLs yet...<br>
<blockquote cite="mid:fhuhqb$qlm$1@build.eclipse.org" type="cite"><br>
While generating an schema <b>with the eclipse wizard</b>, I get:<br>
<br>
&lt;xsd:import namespace=<a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2002/Ecore">"http://www.eclipse.org/emf/2002/Ecore"</a>
schemaLocation=" ../../../../../../../plugin/org.eclipse.emf.ecore/model/Ecor e.xsd "/&gt;<br>
<br>
I guess "../../../../../../../" represents the path to the eclipse
installation folder, but when trying to validate the xsd I get "Failed
to read schema document" for that line, and therefore all my wsdl files
are not valid.<br>
</blockquote>
This represents a relative path from the workspace location of your
..xsd, which I assume is of the form
paltform:/resource/project/d1/d2/d3/d4/d5/d6/Your.xsd,&n bsp; such that
resolving that relative path against the absolute path of the .xsd,
will yield the absolute address
platform:/plugin/org/eclipse.emf.ecore/model/Ecore.xsd.& nbsp; When
validating in an Eclipse environment, it should be possible to resolve
this .xsd since new
URL("platform:/plugin/org/eclipse.emf.ecore/model/Ecore.xsd ").openStream()
should be able to fetch it.&nbsp; In any other context, you'd likely need an
XML catalog to specify how to find the Ecore.xsd.&nbsp; Likely you should be
avoiding the use of type in the Ecore.ecore/Ecore.xsd and use the data
types in the XMLTypePackage which correspond to the data types defined
in the XML Schema for schemas, i.e., xsd:int, xsd:string and so on.<br>
<blockquote cite="mid:fhuhqb$qlm$1@build.eclipse.org" type="cite">What
should I do?, I don't know if that is a valid way of expressing
the path or not, or if I should set something in the genmodel. I
thought of generating all referenced/used schemas (including ecore),
but they don't show up in the package page.<br>
</blockquote>
It's not clear if the above path is invalid or if you are validating in
a context where platform:/plugin URLs don't work natively. It seems
likely that you might want to use the XML Schema data types instead if
having a schema with minimal dependencies is important.<br>
<blockquote cite="mid:fhuhqb$qlm$1@build.eclipse.org" type="cite"><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>
Regards,<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; <br>
</blockquote>
<br>
</blockquote>
</body>
</html>
Re: Problems with Ecore schemalocation while generating xsd with wizard. [message #414740 is a reply to message #414732] Tue, 20 November 2007 14:01 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33143
Registered: July 2009
Senior Member
Juan,

Comments below.

Juan Pedro Silva wrote:
> Ed, thanks for your answer.
> In respect of your comments:
>
> -Yes, the wsdl generation is mine, not eclipse's. :-) I'll be glad to
> make it available whenever you feel like (planning to offer it to
> Servus project, as you told me in a previous post). Currently, I'm
> tunning it and it only makes document/literal wrapped wsdl files.
> Regardless of the Ecore.xsd issue, they are validating fine so far.
Yes, please keep an eye on the Servus project. I'm sure your
contributions will be welcomed...
>
> -The validation is taking place in a eclipse environment, selecting
> the file (already in the workspace) in the package explorer,
> right-click/validate. So it goes down to one of two options: either
> I'm having some miss-configuration, or the validation rules don't
> allow such a path expression. I placed Ecore.xsd in the same folder
> and shortened the path to "./" and it worked fine.
So likely WTP is providing that support. What is the exact absolute
location URI of the schema that contains this relative path? Is it
really that many levels deep that the relative path should resolve to
the correct absolute path? I suppose having to modify one import on the
result isn't too bad, just kind of annoying...
>
> -I am using UML Primitive Types for the parameters, which I guess is
> causing the ecore type references. Is there any option I can turn on
> so that the XSD Exporter would perform a type mapping for me?
No, it will always use exactly the types you refer to.
> . The available type options while modeling UML are UML, Ecore,
> Default, Standard, the ones available in the current model, and the
> ones available in the applied profiles, so I cannot choose XML Schema
> data types while editing the models, and would have to make the
> transformation by code on a later step.
I guess you'd need some different UML provide to access the XML Type
package's types. I don't know enough about UML for how to create that.
>
> I'll hold for your suggestions.
> Regards,
> Juan Pedro
>
>
>
>
> Ed Merks escribió:
>> Juan,
>>
>> Comments below.
>>
>> Juan Pedro Silva wrote:
>>> Hi everybody.
>>> I'm generating some xsd, wsdl, etc., for my project, and suddenly
>>> came upon this problem.
>> EMF doesn't generate WSDLs yet...
>>>
>>> While generating an schema *with the eclipse wizard*, I get:
>>>
>>> <xsd:import namespace="http://www.eclipse.org/emf/2002/Ecore"
>>> schemaLocation=" ../../../../../../../plugin/org.eclipse.emf.ecore/model/Ecor e.xsd "/>
>>>
>>> I guess "../../../../../../../" represents the path to the eclipse
>>> installation folder, but when trying to validate the xsd I get
>>> "Failed to read schema document" for that line, and therefore all my
>>> wsdl files are not valid.
>> This represents a relative path from the workspace location of your
>> ..xsd, which I assume is of the form
>> paltform:/resource/project/d1/d2/d3/d4/d5/d6/Your.xsd, such that
>> resolving that relative path against the absolute path of the .xsd,
>> will yield the absolute address
>> platform:/plugin/org/eclipse.emf.ecore/model/Ecore.xsd. When
>> validating in an Eclipse environment, it should be possible to
>> resolve this .xsd since new
>> URL("platform:/plugin/org/eclipse.emf.ecore/model/Ecore.xsd ").openStream()
>> should be able to fetch it. In any other context, you'd likely need
>> an XML catalog to specify how to find the Ecore.xsd. Likely you
>> should be avoiding the use of type in the Ecore.ecore/Ecore.xsd and
>> use the data types in the XMLTypePackage which correspond to the data
>> types defined in the XML Schema for schemas, i.e., xsd:int,
>> xsd:string and so on.
>>> What should I do?, I don't know if that is a valid way of expressing
>>> the path or not, or if I should set something in the genmodel. I
>>> thought of generating all referenced/used schemas (including ecore),
>>> but they don't show up in the package page.
>> It's not clear if the above path is invalid or if you are validating
>> in a context where platform:/plugin URLs don't work natively. It
>> seems likely that you might want to use the XML Schema data types
>> instead if having a schema with minimal dependencies is important.
>>>
>>> I'm a newcomer to schemas, so I'm a little lost here. I would very
>>> much appreciate your help.
>>> Thank you in advance.
>>> Regards,
>>> Juan Pedro
>>>
>>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Problems with Ecore schemalocation while generating xsd with wizard. [message #414741 is a reply to message #414740] Tue, 20 November 2007 14:10 Go to previous messageGo to next message
Juan Pedro Silva is currently offline Juan Pedro SilvaFriend
Messages: 258
Registered: July 2009
Senior Member
Ed, comments inline.

Ed Merks escribió:
>> -The validation is taking place in a eclipse environment, selecting
>> the file (already in the workspace) in the package explorer,
>> right-click/validate. So it goes down to one of two options: either
>> I'm having some miss-configuration, or the validation rules don't
>> allow such a path expression. I placed Ecore.xsd in the same folder
>> and shortened the path to "./" and it worked fine.
> So likely WTP is providing that support. What is the exact absolute
> location URI of the schema that contains this relative path? Is it
> really that many levels deep that the relative path should resolve to
> the correct absolute path? I suppose having to modify one import on
> the result isn't too bad, just kind of annoying...
By counting the segments I get that it is the proper path to Ecore.xsd
(seven ../ segments take me to the "eclipse" folder, and the rest of the
path takes to the correspondent plugin and file). I'll turn to the
webtools newsgroup and ask there about the depth of the path.
>> . The available type options while modeling UML are UML, Ecore,
>> Default, Standard, the ones available in the current model, and the
>> ones available in the applied profiles, so I cannot choose XML Schema
>> data types while editing the models, and would have to make the
>> transformation by code on a later step.
> I guess you'd need some different UML provide to access the XML Type
> package's types. I don't know enough about UML for how to create that.
Ok, I may post in the UML newsgroup about this if I can't solve the
issue with what I'm told in the webtools newsgroup.
Thanks again for your quick replies and all your help.
Regards,
Juan Pedro
Re: Problems with Ecore schemalocation while generating xsd with wizard. [message #414751 is a reply to message #414741] Tue, 20 November 2007 16:04 Go to previous messageGo to next 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">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ed, while posting on webtools newsgroup, I noticed the generated path:<br>
<br>
schemaLocation="../../../../../../../<font color="#ff0000"><b>plugin</b></font>/org.eclipse.emf.ecore/model/Ecore.xsd "<br>
<br>
refers to a wrong folder <i>"plugin"</i> instead of <i>"plugins"</i>,
which is the correct folder. It's odd somehow, as
the schema was generated by the EMF Exporter wizard, not by me.<br>
I tried placing the ecore jar file in a new "plugin" folder, and
everything
works fine.<br>
<br>
What is strange is that, should it be a miss-configuration of my
environmental variables, I should be getting error almost everywhere
else where I needed Ecore.xsd.<br>
The other strange thing is that this is not a variable a user normally
sets, is it?, it is platform-generated..<br>
<br>
I hold for your comments.<br>
Regards,<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; Juan Pedro<br>
<br>
Juan Pedro Silva escribi&oacute;:
<blockquote cite="mid:fhuq01$uis$1@build.eclipse.org" type="cite">Ed,
comments inline.
<br>
<br>
Ed Merks escribi&oacute;:
<br>
<blockquote type="cite">
<blockquote type="cite">-The validation is taking place in a
eclipse environment, selecting the file (already in the workspace) in
the package explorer, right-click/validate. So it goes down to one of
two options: either I'm having some miss-configuration, or the
validation rules don't allow such a path expression. I placed Ecore.xsd
in the same folder and shortened the path to "./" and it worked fine.
<br>
</blockquote>
So likely WTP is providing that support.&nbsp; What is the exact absolute
location URI of the schema that contains this relative path?&nbsp; Is it
really that many levels deep that the relative path should resolve to
the correct absolute path?&nbsp; I suppose having to modify one import on
the result isn't too bad, just kind of annoying...
<br>
</blockquote>
By counting the segments I get that it is the proper path to Ecore.xsd
(seven ../ segments take me to the "eclipse" folder, and the rest of
the path takes to the correspondent plugin and file). I'll turn to the
webtools newsgroup and ask there about the depth of the path.
<br>
<blockquote type="cite">
<blockquote type="cite">. The available type options while modeling
UML are UML, Ecore, Default, Standard, the ones available in the
current model, and the ones available in the applied profiles, so I
cannot choose XML Schema data types while editing the models, and would
have to make the transformation by code on a later step.
<br>
</blockquote>
I guess you'd need some different UML provide to access the XML Type
package's types.&nbsp; I don't know enough about UML for how to create that.
<br>
</blockquote>
Ok, I may post in the UML newsgroup about this if I can't solve the
issue with what I'm told in the webtools newsgroup.
<br>
Thanks again for your quick replies and all your help.
<br>
Regards,
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Juan Pedro
<br>
</blockquote>
</body>
</html>
Re: Problems with Ecore schemalocation while generating xsd with wizard. [message #414753 is a reply to message #414751] Tue, 20 November 2007 16:18 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33143
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------010904080603030808030908
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Juan,

It's a logical location as created by this URI method:

public static URI createPlatformPluginURI(String pathName, boolean
encode)
{
return createPlatformURI("platform:/plugin",
"platform:/plugin/", pathName, encode);
}

It should access the contents of the installed plugin in the running
environment. So your "plugin" folder comment kind of confuses me...


Juan Pedro Silva wrote:
> Ed, while posting on webtools newsgroup, I noticed the generated path:
>
> schemaLocation=" ../../../../../../../*plugin*/org.eclipse.emf.ecore/model/Ec ore.xsd "
>
> refers to a wrong folder /"plugin"/ instead of /"plugins"/, which is
> the correct folder. It's odd somehow, as the schema was generated by
> the EMF Exporter wizard, not by me.
> I tried placing the ecore jar file in a new "plugin" folder, and
> everything works fine.
>
> What is strange is that, should it be a miss-configuration of my
> environmental variables, I should be getting error almost everywhere
> else where I needed Ecore.xsd.
> The other strange thing is that this is not a variable a user normally
> sets, is it?, it is platform-generated..
>
> I hold for your comments.
> Regards,
> Juan Pedro
>
> Juan Pedro Silva escribi


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Problems with Ecore schemalocation while generating xsd with wizard. [message #414757 is a reply to message #414753] Tue, 20 November 2007 16:59 Go to previous messageGo to next 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">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ed, I been trying to debug the execution of the exporter until the
point of the generation of the path with no luck.<br>
First thing is I'm running eclipse 3.2.2 and emf 2.2.3 (due to RSA
compatibility), so I don't have URI<big>.</big>createPlatformPluginURI(String
pathName, boolean encode).<big><br>
</big>I tried placing a breakpoint on
URI.createPlatformResourceURI(String pathName) to see when the path was
being generated, but seems that is not the alternative.<br>
<br>
Secondly, I'm not sure which comment specifically confused you, so I'll
try to make all of them a little clearer.<big><br>
</big>What I did was create the plugin folder and copying the ecore
plugin in there.<br>
I restarted eclipse, regenerated the xsd with the same result (same
schemalocation path), only that now the validator validates it
correctly (so it is not a problem of the structure of the path or that
the schema was inside a jar file or any other of such reasons). <br>
<br>
I completely agree with you in that the active plugin was still the
other one, I was just making sure it wasn't a validator problem of some
kind.<br>
Hope this clarifies my comments a little more.<br>
Thanks, Ed.<br>
Regards,<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; Juan Pedro<br>
<small><br>
</small><br>
Ed Merks escribi&oacute;:
<blockquote cite="mid:fhv1de$akc$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
Juan,<br>
<br>
It's a logical location as created by this URI method:<br>
<blockquote><small>&nbsp; public static URI createPlatformPluginURI(String
pathName, boolean encode)</small><br>
<small>&nbsp; {</small><br>
<small>&nbsp;&nbsp;&nbsp; return createPlatformURI("platform:/plugin",
"platform:/plugin/", pathName, encode);</small><br>
<small>&nbsp; }</small><br>
</blockquote>
It should access the contents of the installed plugin in the running
environment.&nbsp; So your "plugin" folder comment kind of confuses me...<br>
<br>
<br>
Juan Pedro Silva wrote:
<blockquote cite="mid:fhv0lo$8j7$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Ed, while posting on webtools newsgroup, I noticed the generated path:<br>
<br>
schemaLocation="../../../../../../../<font color="#ff0000"><b>plugin</b></font>/org.eclipse.emf.ecore/model/Ecore.xsd "<br>
<br>
refers to a wrong folder <i>"plugin"</i> instead of <i>"plugins"</i>,
which is the correct folder. It's odd somehow, as
the schema was generated by the EMF Exporter wizard, not by me.<br>
I tried placing the ecore jar file in a new "plugin" folder, and
everything
works fine.<br>
<br>
What is strange is that, should it be a miss-configuration of my
environmental variables, I should be getting error almost everywhere
else where I needed Ecore.xsd.<br>
The other strange thing is that this is not a variable a user normally
sets, is it?, it is platform-generated..<br>
<br>
I hold for your comments.<br>
Regards,<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; Juan Pedro<br>
<br>
Juan Pedro Silva escribi&oacute;:
<blockquote cite="mid:fhuq01$uis$1@build.eclipse.org" type="cite">Ed,
comments inline. <br>
<br>
Ed Merks escribi&oacute;: <br>
<blockquote type="cite">
<blockquote type="cite">-The validation is taking place in a
eclipse environment, selecting the file (already in the workspace) in
the package explorer, right-click/validate. So it goes down to one of
two options: either I'm having some miss-configuration, or the
validation rules don't allow such a path expression. I placed Ecore.xsd
in the same folder and shortened the path to "./" and it worked fine. <br>
</blockquote>
So likely WTP is providing that support.&nbsp; What is the exact absolute
location URI of the schema that contains this relative path?&nbsp; Is it
really that many levels deep that the relative path should resolve to
the correct absolute path?&nbsp; I suppose having to modify one import on
the result isn't too bad, just kind of annoying... <br>
</blockquote>
By counting the segments I get that it is the proper path to Ecore.xsd
(seven ../ segments take me to the "eclipse" folder, and the rest of
the path takes to the correspondent plugin and file). I'll turn to the
webtools newsgroup and ask there about the depth of the path. <br>
<blockquote type="cite">
<blockquote type="cite">. The available type options while
modeling
UML are UML, Ecore, Default, Standard, the ones available in the
current model, and the ones available in the applied profiles, so I
cannot choose XML Schema data types while editing the models, and would
have to make the transformation by code on a later step. <br>
</blockquote>
I guess you'd need some different UML provide to access the XML Type
package's types.&nbsp; I don't know enough about UML for how to create that.
<br>
</blockquote>
Ok, I may post in the UML newsgroup about this if I can't solve the
issue with what I'm told in the webtools newsgroup. <br>
Thanks again for your quick replies and all your help. <br>
Regards, <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Juan Pedro <br>
</blockquote>
</blockquote>
<br>
</blockquote>
</body>
</html>
Re: Problems with Ecore schemalocation while generating xsd with wizard. [message #414764 is a reply to message #414757] Tue, 20 November 2007 22:50 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33143
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------010106050408060102030302
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Juan,

Comments below.


Juan Pedro Silva wrote:
> Ed, I been trying to debug the execution of the exporter until the
> point of the generation of the path with no luck.
> First thing is I'm running eclipse 3.2.2 and emf 2.2.3 (due to RSA
> compatibility), so I don't have URI.createPlatformPluginURI(String
> pathName, boolean encode).
> I tried placing a breakpoint on URI.createPlatformResourceURI(String
> pathName) to see when the path was being generated, but seems that is
> not the alternative.
Before we had this method, has duplicate such code in quite a few
places. The use of platform:/plugin is correct and is done explicitly
to be able to reference things in the installed environment.
>
> Secondly, I'm not sure which comment specifically confused you, so
> I'll try to make all of them a little clearer.
It was your the comment about placing Ecore.xsd in a plugin folder that
confused me.
> What I did was create the plugin folder and copying the ecore plugin
> in there.
Where though? Something like platform:/plugin/<plugin-ID>/path should
access "path" in the jar corresopnding the <plugin-ID> installed in the
target environment. I don't understand how it would ever access
anything else.
> I restarted eclipse, regenerated the xsd with the same result (same
> schemalocation path), only that now the validator validates it
> correctly (so it is not a problem of the structure of the path or that
> the schema was inside a jar file or any other of such reasons).
I asked this before, but what is the absolute URI of the generated .xsd?
>
> I completely agree with you in that the active plugin was still the
> other one, I was just making sure it wasn't a validator problem of
> some kind.
> Hope this clarifies my comments a little more.
It's still not clear to me what's wrong. If the path correctly resolves
(URI has a resolve method) to the right absolute path, i.e.,
platform:/plugin/org.eclipse.emf.ecore/model/Ecore.xsd, then anything
running in Eclipse creating a URL for that should find it because it
should be in the Ecore plugin's jar...
> Thanks, Ed.
> Regards,
> Juan Pedro
>
>
> Ed Merks escribi


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Problems with Ecore schemalocation while generating xsd with wizard. [message #414779 is a reply to message #414764] Wed, 21 November 2007 12:49 Go to previous messageGo to next message
Juan Pedro Silva is currently offline Juan Pedro SilvaFriend
Messages: 258
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------040800030100030903070504
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Ed. I tyook a little longer to try some code out so I could give you
some more clues on what is going on.<br>
I tried the attached code to find the location of the plugin. The
output of the System.out.println() lines was the following:<br>
<br>
<font color="#33ccff">Bundle Location:<i>
<a class="moz-txt-link-abbreviated" href="mailto:update@plugins/org.eclipse.emf.ecore_2.2.3.v200705141058.jar">update@plugins/org.eclipse.emf.ecore_2.2.3.v200705141058.jar</a><br>
</i>Path: <i>J:/Programas/Eclipse_Para_RSA/eclipse/<a class="moz-txt-link-freetext" href=" file:J:/Programas/Eclipse_Para_RSA/eclipse/plugins/org.eclip se.emf.ecore_2.2.3.v200705141058.jar!/model/Ecore.xsd "> file:J:/Programas/Eclipse_Para_RSA/eclipse/plugins/org.eclip se.emf.ecore_2.2.3.v200705141058.jar!/model/Ecore.xsd </a><br>
</i>URI:<i>&nbsp;
platform:/resource/J:/Programas/Eclipse_Para_RSA/eclipse/<a class="moz-txt-link-freetext" href=" file:J:/Programas/Eclipse_Para_RSA/eclipse/plugins/org.eclip se.emf.ecore_2.2.3.v200705141058.jar!/model/Ecore.xsd "> file:J:/Programas/Eclipse_Para_RSA/eclipse/plugins/org.eclip se.emf.ecore_2.2.3.v200705141058.jar!/model/Ecore.xsd </a></i></font><br>
<br>
So I guess the plugin is being resolved correctly and the problem might
be somewhere in the XSD generation (while it makes the schemalocation
path).<br>
When I talked about generating a new "plugin" folder and copying the
jar file in there so the validator could find the referenced schema, I
meant creating it so that the file in the path:<br>
<br>
<font color="#33ccff"><i>J:/Programas/Eclipse_Para_RSA/eclipse/plugin/ </i></font><i><font
color="#33ccff">org.eclipse.emf.ecore/model/Ecore.xsd</font ><br>
<br>
</i>existed. I guess the validator only checks if you can find the file
in the specified path, not if it's consistent with the active plugin
and all.<br>
The path for the generated xsd is:<br>
<br>
<font color="#33ccff"><i> J:\Programas\Eclipse_Para_RSA\eclipse\ws_Europa\juan.pedro\W SDL_Output\schemas\ProblemasEcorePath\WSDL_Output\Schemas\Bl ankModel.xsd </i></font><br>
<br>
I hope this helps pin-pointing the problem.<br>
Regards,<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Juan Pedro<br>
<br>
P.S.: Just in case, for generating the schema, I have a XSDExporter and
call: <br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <font color="#33ccff">setGenModel(genmodel);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
setDirectoryURI(URI.createPlatformResourceURI(directory, true));&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; export(monitor);</font><br>
<br>
nothing strange in there.<br>
<br>
<br>
Ed Merks escribi&oacute;:
<blockquote cite="mid:fhvoc1$r3k$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
Juan,<br>
<br>
Comments below.<br>
<br>
<br>
Juan Pedro Silva wrote:
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Ed, I been trying to debug the execution of the exporter until the
point of the generation of the path with no luck.<br>
First thing is I'm running eclipse 3.2.2 and emf 2.2.3 (due to RSA
compatibility), so I don't have URI<big>.</big>createPlatformPluginURI(String
pathName, boolean encode).<big><br>
</big>I tried placing a breakpoint on
URI.createPlatformResourceURI(String pathName) to see when the path was
being generated, but seems that is not the alternative.<br>
</blockquote>
Before we had this method, has duplicate such code in quite a few
places.&nbsp; The use of platform:/plugin is correct and is done explicitly
to be able to reference things in the installed environment.<br>
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org" type="cite"><br>
Secondly, I'm not sure which comment specifically confused you, so I'll
try to make all of them a little clearer.<big><br>
</big></blockquote>
It was your the comment about placing Ecore.xsd in a plugin folder that
confused me.<br>
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org" type="cite">What
I did was create the plugin folder and copying the ecore
plugin in there.<br>
</blockquote>
Where though?&nbsp; Something like platform:/plugin/&lt;plugin-ID&gt;/path
should access&nbsp; "path" in the jar corresopnding the &lt;plugin-ID&gt;
installed in the target environment.&nbsp; I don't understand how it would
ever access anything else.<br>
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org" type="cite">I
restarted eclipse, regenerated the xsd with the same result (same
schemalocation path), only that now the validator validates it
correctly (so it is not a problem of the structure of the path or that
the schema was inside a jar file or any other of such reasons). <br>
</blockquote>
I asked this before, but what is the absolute URI of the generated .xsd?<br>
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org" type="cite"><br>
I completely agree with you in that the active plugin was still the
other one, I was just making sure it wasn't a validator problem of some
kind.<br>
Hope this clarifies my comments a little more.<br>
</blockquote>
It's still not clear to me what's wrong.&nbsp; If the path correctly
resolves (URI has a resolve method) to the right absolute path, i.e.,
platform:/plugin/org.eclipse.emf.ecore/model/Ecore.xsd, then anything
running in Eclipse creating a URL for that should find it because it
should be in the Ecore plugin's jar...<br>
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org" type="cite">Thanks,
Ed.<br>
Regards,<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; Juan Pedro<br>
<small><br>
</small><br>
Ed Merks escribi&oacute;:
<blockquote cite="mid:fhv1de$akc$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Juan,<br>
<br>
It's a logical location as created by this URI method:<br>
<blockquote><small>&nbsp; public static URI
createPlatformPluginURI(String
pathName, boolean encode)</small><br>
<small>&nbsp; {</small><br>
<small>&nbsp;&nbsp;&nbsp; return createPlatformURI("platform:/plugin",
"platform:/plugin/", pathName, encode);</small><br>
<small>&nbsp; }</small><br>
</blockquote>
It should access the contents of the installed plugin in the running
environment.&nbsp; So your "plugin" folder comment kind of confuses me...<br>
<br>
<br>
Juan Pedro Silva wrote:
<blockquote cite="mid:fhv0lo$8j7$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Ed, while posting on webtools newsgroup, I noticed the generated path:<br>
<br>
schemaLocation="../../../../../../../<font color="#ff0000"><b>plugin</b></font>/org.eclipse.emf.ecore/model/Ecore.xsd "<br>
<br>
refers to a wrong folder <i>"plugin"</i> instead of <i>"plugins"</i>,
which is the correct folder. It's odd somehow, as
the schema was generated by the EMF Exporter wizard, not by me.<br>
I tried placing the ecore jar file in a new "plugin" folder, and
everything
works fine.<br>
<br>
What is strange is that, should it be a miss-configuration of my
environmental variables, I should be getting error almost everywhere
else where I needed Ecore.xsd.<br>
The other strange thing is that this is not a variable a user normally
sets, is it?, it is platform-generated..<br>
<br>
I hold for your comments.<br>
Regards,<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; Juan Pedro<br>
<br>
Juan Pedro Silva escribi&oacute;:
<blockquote cite="mid:fhuq01$uis$1@build.eclipse.org"
type="cite">Ed,
comments inline. <br>
<br>
Ed Merks escribi&oacute;: <br>
<blockquote type="cite">
<blockquote type="cite">-The validation is taking place in
a
eclipse environment, selecting the file (already in the workspace) in
the package explorer, right-click/validate. So it goes down to one of
two options: either I'm having some miss-configuration, or the
validation rules don't allow such a path expression. I placed Ecore.xsd
in the same folder and shortened the path to "./" and it worked fine. <br>
</blockquote>
So likely WTP is providing that support.&nbsp; What is the exact absolute
location URI of the schema that contains this relative path?&nbsp; Is it
really that many levels deep that the relative path should resolve to
the correct absolute path?&nbsp; I suppose having to modify one import on
the result isn't too bad, just kind of annoying... <br>
</blockquote>
By counting the segments I get that it is the proper path to Ecore.xsd
(seven ../ segments take me to the "eclipse" folder, and the rest of
the path takes to the correspondent plugin and file). I'll turn to the
webtools newsgroup and ask there about the depth of the path. <br>
<blockquote type="cite">
<blockquote type="cite">. The available type options while
modeling
UML are UML, Ecore, Default, Standard, the ones available in the
current model, and the ones available in the applied profiles, so I
cannot choose XML Schema data types while editing the models, and would
have to make the transformation by code on a later step. <br>
</blockquote>
I guess you'd need some different UML provide to access the XML Type
package's types.&nbsp; I don't know enough about UML for how to create that.
<br>
</blockquote>
Ok, I may post in the UML newsgroup about this if I can't solve the
issue with what I'm told in the webtools newsgroup. <br>
Thanks again for your quick replies and all your help. <br>
Regards, <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Juan Pedro <br>
</blockquote>
</blockquote>
<br>
</blockquote>
</blockquote>
<br>
</blockquote>
</body>
</html>

--------------040800030100030903070504
Content-Type: text/plain;
name="plugin_resolver_code.txt"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="plugin_resolver_code.txt"

ICAgICAgICBCdW5kbGUgYnVuZGxlID0gUGxhdGZvcm0uZ2V0QnVuZGxlKCJv cmcuZWNsaXBz
ZS5lbWYuZWNvcmUiKTsNCglTeXN0ZW0ub3V0LnByaW50bG4oIkJ1bmRsZSBM b2NhdGlvbjog
IiArIGJ1bmRsZS5nZXRMb2NhdGlvbigpKTsNCglVUkwgdSA9IEZpbGVMb2Nh dG9yLmZpbmQo
YnVuZGxlLCBuZXcgUGF0aCgiL21vZGVsL0Vjb3JlLnhzZCIpLCBDb2xsZWN0 aW9ucy5FTVBU
WV9NQVAgKTsNCglpZiAodSAhPSBudWxsKQ0KCXsNCgkgICAgICB1ID0gRmls ZUxvY2F0b3Iu
cmVzb2x2ZSh1KTsNCgkgICAgICBGaWxlIGYgPSBuZXcgRmlsZSh1LmdldEZp bGUoKSk7DQoJ
ICAgICAgSVBhdGggcCA9IG5ldyBQYXRoKGYuZ2V0QWJzb2x1dGVQYXRoKCkp Ow0KCSAgICAg
IFN5c3RlbS5vdXQucHJpbnRsbigiUGF0aDogIiArIHAudG9TdHJpbmcoKSk7 DQoJICAgICAg
U3lzdGVtLm91dC5wcmludGxuKCJVUkk6ICIgK1VSSS5jcmVhdGVQbGF0Zm9y bVJlc291cmNl
VVJJKGYuZ2V0QWJzb2x1dGVQYXRoKCkpKTsNCgl9
--------------040800030100030903070504--
Re: Problems with Ecore schemalocation while generating xsd with wizard. [message #414780 is a reply to message #414779] Wed, 21 November 2007 13:11 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33143
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------010403070806060900050803
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Juan,

Just using new
URL(" platform:/plugin/org.eclipse.emf.ecore/model/Ecore.xsd).open Stream()
should successfully read the XML Schema from the plugin regardless of
it's physical install location. More comments below.


Juan Pedro Silva wrote:
> Hi Ed. I tyook a little longer to try some code out so I could give
> you some more clues on what is going on.
> I tried the attached code to find the location of the plugin. The
> output of the System.out.println() lines was the following:
>
> Bundle Location:/
> update@plugins/org.eclipse.emf.ecore_2.2.3.v200705141058.jar
> /Path:
> /J:/Programas/Eclipse_Para_RSA/eclipse/file:J:/Programas/Ecl ipse_Para_RSA/eclipse/plugins/org.eclipse.emf.ecore_2.2.3.v2 00705141058.jar!/model/Ecore.xsd
> /URI:/
> platform:/resource/J:/Programas/Eclipse_Para_RSA/eclipse/fil e:J:/Programas/Eclipse_Para_RSA/eclipse/plugins/org.eclipse. emf.ecore_2.2.3.v200705141058.jar!/model/Ecore.xsd/
>
> So I guess the plugin is being resolved correctly and the problem
> might be somewhere in the XSD generation (while it makes the
> schemalocation path).
Certainly the relative path looks correct to me assuming that the
absolute path of the generated XSD is really that many levels deep. For
example, if I generate Change.xsd for the EMF's change model it
generates this:

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
xmlns:change="http://www.eclipse.org/emf/2003/Change"
ecore:nsPrefix="change" ecore:package="org.eclipse.emf.ecore.change"
targetNamespace="http://www.eclipse.org/emf/2003/Change">
<xsd:import namespace="http://www.eclipse.org/emf/2002/Ecore"
schemaLocation="../../../plugin/org.eclipse.emf.ecore/model/Ecore.xsd "/>

And I know it's working correctly because if I open the .xsd with the
"Sample XML Schema Editor" (the one provided by XSD, not the one
provided by WTP which is much better and isn't just a sample), it
doesn't complain about unresolved imports and on the Semantics tab I can
see that the imports from Ecore.xsd are present:


In this case the .xsd is generated to
platform:/resource/org.eclipse.emf.ecore.change/model/Change .xsd so the
three ".." are exactly right.

> When I talked about generating a new "plugin" folder and copying the
> jar file in there so the validator could find the referenced schema, I
> meant creating it so that the file in the path:
>
> /J:/Programas/Eclipse_Para_RSA/eclipse/plugin///org.eclipse. emf.ecore/model/Ecore.xsd
>
> /existed. I guess the validator only checks if you can find the file
> in the specified path, not if it's consistent with the active plugin
> and all.
I guess the question here is what validator are you using and most
importantly one URI is it using as load the .xsd. If it's not using
platform:/resource/whatever, but some other absolute URI, then the
relative path will not resolve to platform:/plugin/whatever, and that's
what it's sounding like.
> The path for the generated xsd is:
>
> /J:\Programas\Eclipse_Para_RSA\eclipse\ws_Europa\juan.pedro\ WSDL_Output\schemas\ProblemasEcorePath\WSDL_Output\Schemas\B lankModel.xsd/
>
This is the file system path, but the generator is using a URI of the
form platform:/resource...
> I hope this helps pin-pointing the problem.
I think we are getting closer. I think an important question to answer
is what URI is being used to open the resource in the validator. If
it's of the form file:/actual-location-on-filesystem rather than
platform:/resource/location-in-workspace then it's a problem (and that
also doesn't seem right to me, since this bypasses the workspace and
doesn't fully support EFS implementations of the workspace which might
supply resources that aren't actually in the file system).
> Regards,
> Juan Pedro
>
> P.S.: Just in case, for generating the schema, I have a XSDExporter
> and call:
> setGenModel(genmodel);
>
> setDirectoryURI(URI.createPlatformResourceURI(directory, true));
> export(monitor);
>
> nothing strange in there.
>
>
> Ed Merks escribi


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Problems with Ecore schemalocation while generating xsd with wizard. [message #414783 is a reply to message #414780] Wed, 21 November 2007 13:37 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33143
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------000003000701080400000103
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Juan,

If I make this change to the exporter, then it will stop producing a
relative path between platform:/resource and platform:/plugin

### Eclipse Workspace Patch 1.0
#P org.eclipse.xsd.ecore.exporter
Index: src/org/eclipse/xsd/ecore/exporter/XSDExporter.java
============================================================ =======
RCS file:
/cvsroot/modeling/org.eclipse.mdt/org.eclipse.xsd/plugins/or g.eclipse.xsd.ecore.exporter/src/org/eclipse/xsd/ecore/expor ter/XSDExporter.java,v
retrieving revision 1.7
diff -u -r1.7 XSDExporter.java
--- src/org/eclipse/xsd/ecore/exporter/XSDExporter.java 28 Dec
2006 07:02:39 -0000 1.7
+++ src/org/eclipse/xsd/ecore/exporter/XSDExporter.java 21 Nov
2007 13:34:48 -0000
@@ -107,7 +107,11 @@
GenPackage referencedGenPackage =
genModel.findGenPackage(referencedEPackage);
URI artifactURI =
getReferencedGenPackageArtifactURI(exportData, referencedGenPackage);
URI importLocationURI =
URI.createURI(computeSchemaLocation(xsdImport, artifactURI));
- if (!schemaLocationURI.isRelative() &&
schemaLocationURI.isHierarchical() && !importLocationURI.isRelative())
+ if (!schemaLocationURI.isRelative() &&
+ schemaLocationURI.isHierarchical() &&
+ !importLocationURI.isRelative() &&
+ schemaLocationURI.isPlatformResource() ==
importLocationURI.isPlatformResource() &&
+ schemaLocationURI.isPlatformPlugin() ==
importLocationURI.isPlatformPlugin())
{
importLocationURI =
importLocationURI.deresolve(schemaLocationURI, true, true, false);
}

I.e., it will produce this instead:

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
xmlns:change="http://www.eclipse.org/emf/2003/Change"
ecore:nsPrefix="change" ecore:package="org.eclipse.emf.ecore.change"
targetNamespace="http://www.eclipse.org/emf/2003/Change">
<xsd:import namespace="http://www.eclipse.org/emf/2002/Ecore"
*schemaLocation="platform:/plugin/org.eclipse.emf.ecore/model/Ecore.xsd "*/>

I'm not sure if that's better but it seems a bit nicer...


Ed Merks wrote:
> Juan,
>
> Just using new
> URL(" platform:/plugin/org.eclipse.emf.ecore/model/Ecore.xsd).open Stream()
> should successfully read the XML Schema from the plugin regardless of
> it's physical install location. More comments below.
>
>
> Juan Pedro Silva wrote:
>> Hi Ed. I tyook a little longer to try some code out so I could give
>> you some more clues on what is going on.
>> I tried the attached code to find the location of the plugin. The
>> output of the System.out.println() lines was the following:
>>
>> Bundle Location:/
>> update@plugins/org.eclipse.emf.ecore_2.2.3.v200705141058.jar
>> /Path:
>> /J:/Programas/Eclipse_Para_RSA/eclipse/file:J:/Programas/Ecl ipse_Para_RSA/eclipse/plugins/org.eclipse.emf.ecore_2.2.3.v2 00705141058.jar!/model/Ecore.xsd
>> /URI:/
>> platform:/resource/J:/Programas/Eclipse_Para_RSA/eclipse/fil e:J:/Programas/Eclipse_Para_RSA/eclipse/plugins/org.eclipse. emf.ecore_2.2.3.v200705141058.jar!/model/Ecore.xsd/
>>
>> So I guess the plugin is being resolved correctly and the problem
>> might be somewhere in the XSD generation (while it makes the
>> schemalocation path).
> Certainly the relative path looks correct to me assuming that the
> absolute path of the generated XSD is really that many levels deep.
> For example, if I generate Change.xsd for the EMF's change model it
> generates this:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
> xmlns:change="http://www.eclipse.org/emf/2003/Change"
> ecore:nsPrefix="change"
> ecore:package="org.eclipse.emf.ecore.change"
> targetNamespace="http://www.eclipse.org/emf/2003/Change">
> <xsd:import namespace="http://www.eclipse.org/emf/2002/Ecore"
> schemaLocation="../../../plugin/org.eclipse.emf.ecore/model/Ecore.xsd "/>
>
> And I know it's working correctly because if I open the .xsd with the
> "Sample XML Schema Editor" (the one provided by XSD, not the one
> provided by WTP which is much better and isn't just a sample), it
> doesn't complain about unresolved imports and on the Semantics tab I
> can see that the imports from Ecore.xsd are present:
>
>
> In this case the .xsd is generated to
> platform:/resource/org.eclipse.emf.ecore.change/model/Change .xsd so
> the three ".." are exactly right.
>
>> When I talked about generating a new "plugin" folder and copying the
>> jar file in there so the validator could find the referenced schema,
>> I meant creating it so that the file in the path:
>>
>> /J:/Programas/Eclipse_Para_RSA/eclipse/plugin///org.eclipse. emf.ecore/model/Ecore.xsd
>>
>> /existed. I guess the validator only checks if you can find the file
>> in the specified path, not if it's consistent with the active plugin
>> and all.
> I guess the question here is what validator are you using and most
> importantly one URI is it using as load the .xsd. If it's not using
> platform:/resource/whatever, but some other absolute URI, then the
> relative path will not resolve to platform:/plugin/whatever, and
> that's what it's sounding like.
>> The path for the generated xsd is:
>>
>> /J:\Programas\Eclipse_Para_RSA\eclipse\ws_Europa\juan.pedro\ WSDL_Output\schemas\ProblemasEcorePath\WSDL_Output\Schemas\B lankModel.xsd/
>>
> This is the file system path, but the generator is using a URI of the
> form platform:/resource...
>> I hope this helps pin-pointing the problem.
> I think we are getting closer. I think an important question to
> answer is what URI is being used to open the resource in the
> validator. If it's of the form file:/actual-location-on-filesystem
> rather than platform:/resource/location-in-workspace then it's a
> problem (and that also doesn't seem right to me, since this bypasses
> the workspace and doesn't fully support EFS implementations of the
> workspace which might supply resources that aren't actually in the
> file system).
>> Regards,
>> Juan Pedro
>>
>> P.S.: Just in case, for generating the schema, I have a XSDExporter
>> and call:
>> setGenModel(genmodel);
>>
>> setDirectoryURI(URI.createPlatformResourceURI(directory, true));
>> export(monitor);
>>
>> nothing strange in there.
>>
>>
>> Ed Merks escribi


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Problems with Ecore schemalocation while generating xsd with wizard. [message #414784 is a reply to message #414780] Wed, 21 November 2007 13:52 Go to previous messageGo to next message
Juan Pedro Silva is currently offline Juan Pedro SilvaFriend
Messages: 258
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------060909050907000005010607
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ed, the problem would be that the intention of the WSDL is for external
services to be able to communicate with this service. So, the actual
location of the file should be right, regardless of eclipse being able
to find it somewhere else (eclipse may not be running at all while the
service is being executed). So I believe the XSD validator provided by
WTP just tries to find Ecore.xsd based on the schemalocation path, as
any other external service would. I believe this is the right approach.<br>
<br>
The relative path is right in respect to the depth of the "../"
segments, but incorrect regarding the folder: the eclipse folder in
which all plugins are installed is eclipse/plugins/ , not
eclipse/plugin/ as is being generated in the schema. I keep getting the
same schemalocation path (with different number of "../" segments)
regardless of the selected output folder: I allways get the ../<font
color="#ff0000"><b>plugin</b><font color="#000000">/.. folder in the
path, instead of the correct ../plugins/ one. I just realized you get
the same in your generated schema too!!:<br>
<br>
</font></font><small>&lt;?xml version="1.0" encoding="UTF-8"?&gt;</small><br>
<small>&lt;xsd:schema xmlns:xsd=<a moz-do-not-send="true"
class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema">"http://www.w3.org/2001/XMLSchema"</a>
xmlns:ecore=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2002/Ecore">"http://www.eclipse.org/emf/2002/Ecore"</a>
xmlns:change=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2003/Change">"http://www.eclipse.org/emf/2003/Change"</a>
ecore:nsPrefix="change" ecore:package="org.eclipse.emf.ecore.change"
targetNamespace=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2003/Change">"http://www.eclipse.org/emf/2003/Change"</a>&gt;</small><br>
<small>&nbsp; &lt;xsd:import
namespace=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2002/Ecore">"http://www.eclipse.org/emf/2002/Ecore"</a>
<font color="#ff0000">schemaLocation="../../../plugin/org.eclipse.emf.ecore/model/Ecore.xsd "</font>/&gt;</small><br>
<font color="#ff0000"><font color="#000000"><br>
So it's not a problem of the validator not being able to resolve the
plugin location from within eclipse (it shouldn't take this approach),
but the XSDExporter generating a wrong path for it. As we both get the
same wrong path, it is also not a configuration issue, but rather some
bug in the code, I should say.<br>
<br>
What's your opinion?.<br>
<br>
<br>
<br>
</font></font><br>
Ed Merks escribi&oacute;:
<blockquote cite="mid:fi1apt$sn9$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
Juan,<br>
<br>
Just using new
URL(" platform:/plugin/org.eclipse.emf.ecore/model/Ecore.xsd).open Stream()
should successfully read the XML Schema from the plugin regardless of
it's physical install location.&nbsp; More comments below.<br>
<br>
<br>
Juan Pedro Silva wrote:
<blockquote cite="mid:fi19kh$obl$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
Hi Ed. I tyook a little longer to try some code out so I could give you
some more clues on what is going on.<br>
I tried the attached code to find the location of the plugin. The
output of the System.out.println() lines was the following:<br>
<br>
<font color="#33ccff">Bundle Location:<i> <a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:update@plugins/org.eclipse.emf.ecore_2.2.3.v200705141058.jar">update@plugins/org.eclipse.emf.ecore_2.2.3.v200705141058.jar</a><br>
</i>Path: <i>J:/Programas/Eclipse_Para_RSA/eclipse/<a
moz-do-not-send="true" class="moz-txt-link-freetext"
href=" file:J:/Programas/Eclipse_Para_RSA/eclipse/plugins/org.eclip se.emf.ecore_2.2.3.v200705141058.jar%21/model/Ecore.xsd "> file:J:/Programas/Eclipse_Para_RSA/eclipse/plugins/org.eclip se.emf.ecore_2.2.3.v200705141058.jar!/model/Ecore.xsd </a><br>
</i>URI:<i>&nbsp;
platform:/resource/J:/Programas/Eclipse_Para_RSA/eclipse/<a
moz-do-not-send="true" class="moz-txt-link-freetext"
href=" file:J:/Programas/Eclipse_Para_RSA/eclipse/plugins/org.eclip se.emf.ecore_2.2.3.v200705141058.jar%21/model/Ecore.xsd "> file:J:/Programas/Eclipse_Para_RSA/eclipse/plugins/org.eclip se.emf.ecore_2.2.3.v200705141058.jar!/model/Ecore.xsd </a></i></font><br>
<br>
So I guess the plugin is being resolved correctly and the problem might
be somewhere in the XSD generation (while it makes the schemalocation
path).<br>
</blockquote>
Certainly the relative path looks correct to me assuming that the
absolute path of the generated XSD is really that many levels deep.&nbsp;
For example, if I generate Change.xsd for the EMF's change model it
generates this:<br>
<blockquote><small>&lt;?xml version="1.0" encoding="UTF-8"?&gt;</small><br>
<small>&lt;xsd:schema xmlns:xsd=<a moz-do-not-send="true"
class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema">"http://www.w3.org/2001/XMLSchema"</a>
xmlns:ecore=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2002/Ecore">"http://www.eclipse.org/emf/2002/Ecore"</a>
xmlns:change=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2003/Change">"http://www.eclipse.org/emf/2003/Change"</a>
ecore:nsPrefix="change" ecore:package="org.eclipse.emf.ecore.change"
targetNamespace=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2003/Change">"http://www.eclipse.org/emf/2003/Change"</a>&gt;</small><br>
<small>&nbsp; &lt;xsd:import
namespace=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2002/Ecore">"http://www.eclipse.org/emf/2002/Ecore"</a>
schemaLocation="../../../plugin/org.eclipse.emf.ecore/model/Ecore.xsd "/&gt;<br>
</small></blockquote>
And I know it's working correctly because if I open the .xsd with the
"Sample XML Schema Editor" (the one provided by XSD, not the one
provided by WTP which is much better and isn't just a sample), it
doesn't complain about unresolved imports and on the Semantics tab I
can see that the imports from Ecore.xsd are present:<br>
<blockquote><img src="cid:part1.04010508.07090702@gmail.com" alt=""><br>
</blockquote>
In this case the .xsd is generated to
platform:/resource/org.eclipse.emf.ecore.change/model/Change .xsd so the
three ".." are exactly right.<br>
<br>
<blockquote cite="mid:fi19kh$obl$1@build.eclipse.org" type="cite">When
I talked about generating a new "plugin" folder and copying the
jar file in there so the validator could find the referenced schema, I
meant creating it so that the file in the path:<br>
<br>
<font color="#33ccff"><i>J:/Programas/Eclipse_Para_RSA/eclipse/plugin/ </i></font><i><font
color="#33ccff">org.eclipse.emf.ecore/model/Ecore.xsd</font ><br>
<br>
</i>existed. I guess the validator only checks if you can find the
file
in the specified path, not if it's consistent with the active plugin
and all.<br>
</blockquote>
I guess the question here is what validator are you using and most
importantly one URI is it using as load the .xsd.&nbsp; If it's not using
platform:/resource/whatever, but some other absolute URI, then the
relative path will not resolve to platform:/plugin/whatever, and that's
what it's sounding like.<br>
<blockquote cite="mid:fi19kh$obl$1@build.eclipse.org" type="cite">The
path for the generated xsd is:<br>
<br>
<font color="#33ccff"><i> J:\Programas\Eclipse_Para_RSA\eclipse\ws_Europa\juan.pedro\W SDL_Output\schemas\ProblemasEcorePath\WSDL_Output\Schemas\Bl ankModel.xsd </i></font><br>
<br>
</blockquote>
This is the file system path, but the generator is using a URI of the
form platform:/resource...<br>
<blockquote cite="mid:fi19kh$obl$1@build.eclipse.org" type="cite">I
hope this helps pin-pointing the problem.<br>
</blockquote>
I think we are getting closer.&nbsp; I think an important question to answer
is what URI is being used to open the resource in the validator.&nbsp; If
it's of the form <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="file:/actual-location-on-filesystem">file:/actual-location-on-filesystem </a>
rather than
platform:/resource/location-in-workspace then it's a problem (and that
also doesn't seem right to me, since this bypasses the workspace and
doesn't fully support EFS implementations of the workspace which might
supply resources that aren't actually in the file system).<br>
<blockquote cite="mid:fi19kh$obl$1@build.eclipse.org" type="cite">Regards,<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Juan Pedro<br>
<br>
P.S.: Just in case, for generating the schema, I have a XSDExporter and
call: <br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <font color="#33ccff">setGenModel(genmodel);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
setDirectoryURI(URI.createPlatformResourceURI(directory, true));&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; export(monitor);</font><br>
<br>
nothing strange in there.<br>
<br>
<br>
Ed Merks escribi&oacute;:
<blockquote cite="mid:fhvoc1$r3k$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Juan,<br>
<br>
Comments below.<br>
<br>
<br>
Juan Pedro Silva wrote:
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Ed, I been trying to debug the execution of the exporter until the
point of the generation of the path with no luck.<br>
First thing is I'm running eclipse 3.2.2 and emf 2.2.3 (due to RSA
compatibility), so I don't have URI<big>.</big>createPlatformPluginURI(String
pathName, boolean encode).<big><br>
</big>I tried placing a breakpoint on
URI.createPlatformResourceURI(String pathName) to see when the path was
being generated, but seems that is not the alternative.<br>
</blockquote>
Before we had this method, has duplicate such code in quite a few
places.&nbsp; The use of platform:/plugin is correct and is done explicitly
to be able to reference things in the installed environment.<br>
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org" type="cite"><br>
Secondly, I'm not sure which comment specifically confused you, so I'll
try to make all of them a little clearer.<big><br>
</big></blockquote>
It was your the comment about placing Ecore.xsd in a plugin folder that
confused me.<br>
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org" type="cite">What
I did was create the plugin folder and copying the ecore
plugin in there.<br>
</blockquote>
Where though?&nbsp; Something like platform:/plugin/&lt;plugin-ID&gt;/path
should access&nbsp; "path" in the jar corresopnding the &lt;plugin-ID&gt;
installed in the target environment.&nbsp; I don't understand how it would
ever access anything else.<br>
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org" type="cite">I
restarted eclipse, regenerated the xsd with the same result (same
schemalocation path), only that now the validator validates it
correctly (so it is not a problem of the structure of the path or that
the schema was inside a jar file or any other of such reasons). <br>
</blockquote>
I asked this before, but what is the absolute URI of the generated .xsd?<br>
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org" type="cite"><br>
I completely agree with you in that the active plugin was still the
other one, I was just making sure it wasn't a validator problem of some
kind.<br>
Hope this clarifies my comments a little more.<br>
</blockquote>
It's still not clear to me what's wrong.&nbsp; If the path correctly
resolves (URI has a resolve method) to the right absolute path, i.e.,
platform:/plugin/org.eclipse.emf.ecore/model/Ecore.xsd, then anything
running in Eclipse creating a URL for that should find it because it
should be in the Ecore plugin's jar...<br>
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org" type="cite">Thanks,
Ed.<br>
Regards,<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; Juan Pedro<br>
<small><br>
</small><br>
Ed Merks escribi&oacute;:
<blockquote cite="mid:fhv1de$akc$1@build.eclipse.org"
type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Juan,<br>
<br>
It's a logical location as created by this URI method:<br>
<blockquote><small>&nbsp; public static URI
createPlatformPluginURI(String
pathName, boolean encode)</small><br>
<small>&nbsp; {</small><br>
<small>&nbsp;&nbsp;&nbsp; return createPlatformURI("platform:/plugin",
"platform:/plugin/", pathName, encode);</small><br>
<small>&nbsp; }</small><br>
</blockquote>
It should access the contents of the installed plugin in the running
environment.&nbsp; So your "plugin" folder comment kind of confuses me...<br>
<br>
<br>
Juan Pedro Silva wrote:
<blockquote cite="mid:fhv0lo$8j7$1@build.eclipse.org"
type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Ed, while posting on webtools newsgroup, I noticed the generated path:<br>
<br>
schemaLocation="../../../../../../../<font color="#ff0000"><b>plugin</b></font>/org.eclipse.emf.ecore/model/Ecore.xsd "<br>
<br>
refers to a wrong folder <i>"plugin"</i> instead of <i>"plugins"</i>,
which is the correct folder. It's odd somehow, as
the schema was generated by the EMF Exporter wizard, not by me.<br>
I tried placing the ecore jar file in a new "plugin" folder, and
everything
works fine.<br>
<br>
What is strange is that, should it be a miss-configuration of my
environmental variables, I should be getting error almost everywhere
else where I needed Ecore.xsd.<br>
The other strange thing is that this is not a variable a user normally
sets, is it?, it is platform-generated..<br>
<br>
I hold for your comments.<br>
Regards,<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; Juan Pedro<br>
<br>
Juan Pedro Silva escribi&oacute;:
<blockquote cite="mid:fhuq01$uis$1@build.eclipse.org"
type="cite">Ed,
comments inline. <br>
<br>
Ed Merks escribi&oacute;: <br>
<blockquote type="cite">
<blockquote type="cite">-The validation is taking place
in
a
eclipse environment, selecting the file (already in the workspace) in
the package explorer, right-click/validate. So it goes down to one of
two options: either I'm having some miss-configuration, or the
validation rules don't allow such a path expression. I placed Ecore.xsd
in the same folder and shortened the path to "./" and it worked fine. <br>
</blockquote>
So likely WTP is providing that support.&nbsp; What is the exact absolute
location URI of the schema that contains this relative path?&nbsp; Is it
really that many levels deep that the relative path should resolve to
the correct absolute path?&nbsp; I suppose having to modify one import on
the result isn't too bad, just kind of annoying... <br>
</blockquote>
By counting the segments I get that it is the proper path to Ecore.xsd
(seven ../ segments take me to the "eclipse" folder, and the rest of
the path takes to the correspondent plugin and file). I'll turn to the
webtools newsgroup and ask there about the depth of the path. <br>
<blockquote type="cite">
<blockquote type="cite">. The available type options
while
modeling
UML are UML, Ecore, Default, Standard, the ones available in the
current model, and the ones available in the applied profiles, so I
cannot choose XML Schema data types while editing the models, and would
have to make the transformation by code on a later step. <br>
</blockquote>
I guess you'd need some different UML provide to access the XML Type
package's types.&nbsp; I don't know enough about UML for how to create that.
<br>
</blockquote>
Ok, I may post in the UML newsgroup about this if I can't solve the
issue with what I'm told in the webtools newsgroup. <br>
Thanks again for your quick replies and all your help. <br>
Regards, <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Juan Pedro <br>
</blockquote>
</blockquote>
<br>
</blockquote>
</blockquote>
<br>
</blockquote>
</blockquote>
<br>
</blockquote>
</body>
</html>

--------------060909050907000005010607
Content-Type: image/jpeg
Content-Transfer-Encoding: base64
Content-ID: <part1.04010508.07090702@gmail.com>

/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDABALDA4MChAODQ4SERATGCgaGBYW GDEjJR0oOjM9
PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgV GC8aGi9jQjhC
Y2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2Nj Y2NjY2P/wAAR
CADaAPsDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcI CQoL/8QAtRAA
AgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS 0fAkM2JyggkK
FhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1 dnd4eXqDhIWG
h4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW 19jZ2uHi4+Tl
5ufo6erx8vP09fb3+Pn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lJXGxS0pVAGVgFU8KMovAAHAHSsDe/ 95vzo3v/AHm/
Oiwe0Z0c8miXBmMu4mbd5hCyAsGQIRx2KqvHTIB6gGgyaIZnkbc+/dlHWRo8 tkMQh+UE5OSB
k7j6muc3v/eb86N7/wB5vzosHtGdDJPYLZNb2jsWd1dmkLEnBByzNyeAB1PY dBxUuIbe52+Y
5DLnDJKUYZ6jKkHHTj2HpWTvf+8350b3/vN+dFg9ozRW2h+2Rzs8OyBCkCKo Hlg4zzn2wMYw
CRzTjaWRjij2rtij8pPnPyr8vQ56/Kpz1GKzN7/3m/Oje/8Aeb86LB7RmhLp 9hM7NICQ27K+
cwX5gQx25wCQTzjuTUrrCm9oyu6SRXf5s5I2jP5AflWVvf8AvN+dG9/7zfnR YPaM3PMT++v5
0eYn99fzrD3v/eb86N7/AN5vzosHtGbnmJ/fX86PMT++v51h73/vN+dG9/7z fnRYPaM3PMT+
+v50eYn99fzrD3v/AHm/Oje/95vzosHtGbnmJ/fX86PMT++v51h73/vN+dG9 /wC8350WD2jN
zzE/vr+dHmJ/fX86w97/AN5vzo3v/eb86LB7Rm55if31/OjzE/vr+dYe9/7z fnRvf+8350WD
2jNzzE/vr+dHmJ/fX86w97/3m/Oje/8Aeb86LB7Rn//Z
--------------060909050907000005010607--
Re: Problems with Ecore schemalocation while generating xsd with wizard. [message #414785 is a reply to message #414784] Wed, 21 November 2007 14:04 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33143
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------090203000609030202000700
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Juan,

Comments below.

Juan Pedro Silva wrote:
> Ed, the problem would be that the intention of the WSDL is for
> external services to be able to communicate with this service.
For sure.
> So, the actual location of the file should be right, regardless of
> eclipse being able to find it somewhere else (eclipse may not be
> running at all while the service is being executed).
Being right is a relative term when using relative paths. If you develop
the resource locally and later deploy it to a web page that obviously
has a different URI to access it, the relative location that works in
the former situation might not work in the later situation. This likely
means you need to change schemaLocations as part of deploying.
> So I believe the XSD validator provided by WTP just tries to find
> Ecore.xsd based on the schemalocation path, as any other external
> service would. I believe this is the right approach.
Yes, but the question remains (after asking many times) what absolute
URI does it use? The interpretation of a relative path is as the name
implies relative to the path of the containing document, so a relative
path that works well in one context might not work well in another.
>
> The relative path is right in respect to the depth of the "../"
> segments, but incorrect regarding the folder: the eclipse folder in
> which all plugins are installed is eclipse/plugins/ , not
> eclipse/plugin/ as is being generated in the schema.
I'm not sure I can be more clear on this point. platform:/plugin/ and
platform:/resource are symbolic URIs that work as real live URLs within
Eclipse. There is no relationship to the symbolic URIs and the physical
name of the install location, the workspace location, or the folder name
where plugins are installed. None.
> I keep getting the same schemalocation path (with different number of
> "../" segments) regardless of the selected output folder: I allways
> get the ../*plugin*/.. folder in the path, instead of the correct
> ../plugins/ one. I just realized you get the same in your generated
> schema too!!:
I hope I've been clear but if not yet, this is correct behavior and
works correctly in the context of the XSD model and the XSD editor I
provide. But you are using it in a different context, although you're
still not made clear what that context is.
>
> <?xml version="1.0" encoding="UTF-8"?>
> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
> xmlns:change="http://www.eclipse.org/emf/2003/Change"
> ecore:nsPrefix="change" ecore:package="org.eclipse.emf.ecore.change"
> targetNamespace="http://www.eclipse.org/emf/2003/Change">
> <xsd:import namespace="http://www.eclipse.org/emf/2002/Ecore"
> schemaLocation="../../../plugin/org.eclipse.emf.ecore/model/Ecore.xsd "/>
>
> So it's not a problem of the validator not being able to resolve the
> plugin location from within eclipse (it shouldn't take this approach),
> but the XSDExporter generating a wrong path for it.
The path is correct.
> As we both get the same wrong path, it is also not a configuration
> issue, but rather some bug in the code, I should say.
No, you keep making assumptions about these things corresponding to
physical names in the file system and I keep trying to explain they are
logical URIs supported by Eclipse.
>
> What's your opinion?.
I'm a little frustrated since questions like what validator are you
using don't seem to get answered. If you open the .xsd, as I suggested,
with the Sample XML Schema editor, you'll see that it works correctly.
That's the best I can accomplish in the base framework. If that doesn't
work in your context, then you can modify the schemaLocation and make
the Ecore.xsd available in the location that makes sense for your context.
>
>
>
>
> Ed Merks escribi


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Problems with Ecore schemalocation while generating xsd with wizard. [message #414788 is a reply to message #414785] Wed, 21 November 2007 15:32 Go to previous messageGo to next message
Juan Pedro Silva is currently offline Juan Pedro SilvaFriend
Messages: 258
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------070404040301030504080101
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Ed, first of all, apologies are due. I haven't interpreted you as of&nbsp;
"plugin" being a logical reference until just your previous post (the
one with the code changes to WSDExporter).<br>
I'm sorry to make you feel frustrated. It looks like you where talking
about oranges and I was talking about apples. I'm sorry. I'm also sorry
I haven't answer your questions about the validator so far. Is not at
all my intention to exasperate someone that is trying to help you, or
to make him waste time trying to explain something that is not being
correctly understood.<br>
<br>
I completely agree with your relative paths comments, and yes, opening
the schema with the Sample XML Schema editor makes the imports
available. Again apologize me, as I was wrongly interpreting the
"plugin" part of the path as a physical folder and not as a logical
variable. Emailing can sometimes be tricky for understanding someone
correctly.<br>
<br>
As for the subject in hands: <br>
-I'm using the (org.eclipse.wst.xsd.core.internal.validation.)
XSDValidator as provided by WTP 1.5.5. It uses inner class
XSDEntityResolver, which in turn uses
org.eclipse.wst.common.uriresolver.internal.ExtensibleURIRes olver. <br>
<br>
-the URI to the generated file as used by the validator is
<a class="moz-txt-link-freetext" href=" file:///J:/Programas/Eclipse_Para_RSA/eclipse/ws_Europa/juan .pedro/WSDL_Output/PruebaProfSegm/WSDL_Output/Schemas/BlankM odel.xsd"> file:///J:/Programas/Eclipse_Para_RSA/eclipse/ws_Europa/juan .pedro/WSDL_Output/PruebaProfSegm/WSDL_Output/Schemas/BlankM odel.xsd</a><br>
<br>
I'm sorry for causing any inconvenience.<br>
Regards,<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; Juan Pedro<br>
<br>
<br>
<br>
<br>
<br>
<br>
Ed Merks escribi&oacute;:
<blockquote cite="mid:fi1dte$eq6$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
Juan,<br>
<br>
Comments below.<br>
<br>
Juan Pedro Silva wrote:
<blockquote cite="mid:fi1dar$d1d$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Ed, the problem would be that the intention of the WSDL is for external
services to be able to communicate with this service.</blockquote>
For sure.<br>
<blockquote cite="mid:fi1dar$d1d$1@build.eclipse.org" type="cite">
So,
the actual
location of the file should be right, regardless of eclipse being able
to find it somewhere else (eclipse may not be running at all while the
service is being executed).</blockquote>
Being right is a relative term when using relative paths. If you
develop the resource locally and later deploy it to a web page that
obviously has a different URI to access it, the relative location that
works in the former situation might not work in the later situation.&nbsp;
This likely means you need to change schemaLocations as part of
deploying.<br>
<blockquote cite="mid:fi1dar$d1d$1@build.eclipse.org" type="cite"> So
I
believe the XSD validator provided by
WTP just tries to find Ecore.xsd based on the schemalocation path, as
any other external service would. I believe this is the right approach.<br>
</blockquote>
Yes, but the question remains (after asking many times) what absolute
URI does it use?&nbsp; The interpretation of a relative path is as the name
implies relative to the path of the containing document, so a relative
path that works well in one context might not work well in another.<br>
<blockquote cite="mid:fi1dar$d1d$1@build.eclipse.org" type="cite"><br>
The relative path is right in respect to the depth of the "../"
segments, but incorrect regarding the folder: the eclipse folder in
which all plugins are installed is eclipse/plugins/ , not
eclipse/plugin/ as is being generated in the schema. </blockquote>
I'm not sure I can be more clear on this point.&nbsp; platform:/plugin/ and
platform:/resource are symbolic URIs that work as real live URLs within
Eclipse.&nbsp; There is no relationship to the symbolic URIs and the
physical name of the install location, the workspace location, or the
folder name where plugins are installed.&nbsp; None.<br>
<blockquote cite="mid:fi1dar$d1d$1@build.eclipse.org" type="cite">I
keep getting the
same schemalocation path (with different number of "../" segments)
regardless of the selected output folder: I allways get the ../<font
color="#ff0000"><b>plugin</b><font color="#000000">/.. folder in the
path, instead of the correct ../plugins/ one. I just realized you get
the same in your generated schema too!!:<br>
</font></font></blockquote>
I hope I've been clear but if not yet, this is correct behavior and
works correctly in the context of the XSD model and the XSD editor I
provide. But you are using it in a different context, although you're
still not made clear what that context is.<br>
<blockquote cite="mid:fi1dar$d1d$1@build.eclipse.org" type="cite"><font
color="#ff0000"><font color="#000000"><br>
</font></font><small>&lt;?xml version="1.0" encoding="UTF-8"?&gt;</small><br>
<small>&lt;xsd:schema xmlns:xsd=<a moz-do-not-send="true"
class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema">"http://www.w3.org/2001/XMLSchema"</a>
xmlns:ecore=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2002/Ecore">"http://www.eclipse.org/emf/2002/Ecore"</a>
xmlns:change=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2003/Change">"http://www.eclipse.org/emf/2003/Change"</a>
ecore:nsPrefix="change" ecore:package="org.eclipse.emf.ecore.change"
targetNamespace=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2003/Change">"http://www.eclipse.org/emf/2003/Change"</a>&gt;</small><br>
<small>&nbsp; &lt;xsd:import
namespace=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2002/Ecore">"http://www.eclipse.org/emf/2002/Ecore"</a>
<font color="#ff0000">schemaLocation="../../../plugin/org.eclipse.emf.ecore/model/Ecore.xsd "</font>/&gt;</small><br>
<font color="#ff0000"><font color="#000000"><br>
So it's not a problem of the validator not being able to resolve the
plugin location from within eclipse (it shouldn't take this approach),
but the XSDExporter generating a wrong path for it. </font></font></blockquote>
The path is correct.<br>
<blockquote cite="mid:fi1dar$d1d$1@build.eclipse.org" type="cite"><font
color="#ff0000"><font color="#000000">As we both get the
same wrong path, it is also not a configuration issue, but rather some
bug in the code, I should say.<br>
</font></font></blockquote>
No, you keep making assumptions about these things corresponding to
physical names in the file system and I keep trying to explain they are
logical URIs supported by Eclipse.<br>
<blockquote cite="mid:fi1dar$d1d$1@build.eclipse.org" type="cite"><font
color="#ff0000"><font color="#000000"><br>
What's your opinion?.<br>
</font></font></blockquote>
I'm a little frustrated since questions like what validator are you
using don't seem to get answered.&nbsp; If you open the .xsd, as I
suggested, with the Sample XML Schema editor, you'll see that it works
correctly.&nbsp; That's the best I can accomplish in the base framework.&nbsp; If
that doesn't work in your context, then you can modify the
schemaLocation and make the Ecore.xsd available in the location that
makes sense for your context.<br>
<blockquote cite="mid:fi1dar$d1d$1@build.eclipse.org" type="cite"><font
color="#ff0000"><font color="#000000"><br>
<br>
<br>
</font></font><br>
Ed Merks escribi&oacute;:
<blockquote cite="mid:fi1apt$sn9$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Juan,<br>
<br>
Just using new
URL(" platform:/plugin/org.eclipse.emf.ecore/model/Ecore.xsd).open Stream()
should successfully read the XML Schema from the plugin regardless of
it's physical install location.&nbsp; More comments below.<br>
<br>
<br>
Juan Pedro Silva wrote:
<blockquote cite="mid:fi19kh$obl$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
Hi Ed. I tyook a little longer to try some code out so I could give you
some more clues on what is going on.<br>
I tried the attached code to find the location of the plugin. The
output of the System.out.println() lines was the following:<br>
<br>
<font color="#33ccff">Bundle Location:<i> <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:update@plugins/org.eclipse.emf.ecore_2.2.3.v200705141058.jar">update@plugins/org.eclipse.emf.ecore_2.2.3.v200705141058.jar</a><br>
</i>Path: <i>J:/Programas/Eclipse_Para_RSA/eclipse/<a
moz-do-not-send="true" class="moz-txt-link-freetext"
href=" file:J:/Programas/Eclipse_Para_RSA/eclipse/plugins/org.eclip se.emf.ecore_2.2.3.v200705141058.jar%21/model/Ecore.xsd "> file:J:/Programas/Eclipse_Para_RSA/eclipse/plugins/org.eclip se.emf.ecore_2.2.3.v200705141058.jar!/model/Ecore.xsd </a><br>
</i>URI:<i>&nbsp;
platform:/resource/J:/Programas/Eclipse_Para_RSA/eclipse/<a
moz-do-not-send="true" class="moz-txt-link-freetext"
href=" file:J:/Programas/Eclipse_Para_RSA/eclipse/plugins/org.eclip se.emf.ecore_2.2.3.v200705141058.jar%21/model/Ecore.xsd "> file:J:/Programas/Eclipse_Para_RSA/eclipse/plugins/org.eclip se.emf.ecore_2.2.3.v200705141058.jar!/model/Ecore.xsd </a></i></font><br>
<br>
So I guess the plugin is being resolved correctly and the problem might
be somewhere in the XSD generation (while it makes the schemalocation
path).<br>
</blockquote>
Certainly the relative path looks correct to me assuming that the
absolute path of the generated XSD is really that many levels deep.&nbsp;
For example, if I generate Change.xsd for the EMF's change model it
generates this:<br>
<blockquote><small>&lt;?xml version="1.0" encoding="UTF-8"?&gt;</small><br>
<small>&lt;xsd:schema xmlns:xsd=<a moz-do-not-send="true"
class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema">"http://www.w3.org/2001/XMLSchema"</a>
xmlns:ecore=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2002/Ecore">"http://www.eclipse.org/emf/2002/Ecore"</a>
xmlns:change=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2003/Change">"http://www.eclipse.org/emf/2003/Change"</a>
ecore:nsPrefix="change" ecore:package="org.eclipse.emf.ecore.change"
targetNamespace=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2003/Change">"http://www.eclipse.org/emf/2003/Change"</a>&gt;</small><br>
<small>&nbsp; &lt;xsd:import
namespace=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2002/Ecore">"http://www.eclipse.org/emf/2002/Ecore"</a>
schemaLocation="../../../plugin/org.eclipse.emf.ecore/model/Ecore.xsd "/&gt;<br>
</small></blockquote>
And I know it's working correctly because if I open the .xsd with the
"Sample XML Schema Editor" (the one provided by XSD, not the one
provided by WTP which is much better and isn't just a sample), it
doesn't complain about unresolved imports and on the Semantics tab I
can see that the imports from Ecore.xsd are present:<br>
<blockquote><img src="cid:part1.05080004.04050502@gmail.com"
alt=""><br>
</blockquote>
In this case the .xsd is generated to
platform:/resource/org.eclipse.emf.ecore.change/model/Change .xsd so the
three ".." are exactly right.<br>
<br>
<blockquote cite="mid:fi19kh$obl$1@build.eclipse.org" type="cite">When
I talked about generating a new "plugin" folder and copying the
jar file in there so the validator could find the referenced schema, I
meant creating it so that the file in the path:<br>
<br>
<font color="#33ccff"><i>J:/Programas/Eclipse_Para_RSA/eclipse/plugin/ </i></font><i><font
color="#33ccff">org.eclipse.emf.ecore/model/Ecore.xsd</font ><br>
<br>
</i>existed. I guess the validator only checks if you can find
the
file
in the specified path, not if it's consistent with the active plugin
and all.<br>
</blockquote>
I guess the question here is what validator are you using and most
importantly one URI is it using as load the .xsd.&nbsp; If it's not using
platform:/resource/whatever, but some other absolute URI, then the
relative path will not resolve to platform:/plugin/whatever, and that's
what it's sounding like.<br>
<blockquote cite="mid:fi19kh$obl$1@build.eclipse.org" type="cite">The
path for the generated xsd is:<br>
<br>
<font color="#33ccff"><i> J:\Programas\Eclipse_Para_RSA\eclipse\ws_Europa\juan.pedro\W SDL_Output\schemas\ProblemasEcorePath\WSDL_Output\Schemas\Bl ankModel.xsd </i></font><br>
<br>
</blockquote>
This is the file system path, but the generator is using a URI of the
form platform:/resource...<br>
<blockquote cite="mid:fi19kh$obl$1@build.eclipse.org" type="cite">I
hope this helps pin-pointing the problem.<br>
</blockquote>
I think we are getting closer.&nbsp; I think an important question to answer
is what URI is being used to open the resource in the validator.&nbsp; If
it's of the form <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="file:/actual-location-on-filesystem">file:/actual-location-on-filesystem </a>
rather than
platform:/resource/location-in-workspace then it's a problem (and that
also doesn't seem right to me, since this bypasses the workspace and
doesn't fully support EFS implementations of the workspace which might
supply resources that aren't actually in the file system).<br>
<blockquote cite="mid:fi19kh$obl$1@build.eclipse.org" type="cite">Regards,<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Juan Pedro<br>
<br>
P.S.: Just in case, for generating the schema, I have a XSDExporter and
call: <br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <font color="#33ccff">setGenModel(genmodel);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
setDirectoryURI(URI.createPlatformResourceURI(directory, true));&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; export(monitor);</font><br>
<br>
nothing strange in there.<br>
<br>
<br>
Ed Merks escribi&oacute;:
<blockquote cite="mid:fhvoc1$r3k$1@build.eclipse.org"
type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Juan,<br>
<br>
Comments below.<br>
<br>
<br>
Juan Pedro Silva wrote:
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org"
type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Ed, I been trying to debug the execution of the exporter until the
point of the generation of the path with no luck.<br>
First thing is I'm running eclipse 3.2.2 and emf 2.2.3 (due to RSA
compatibility), so I don't have URI<big>.</big>createPlatformPluginURI(String
pathName, boolean encode).<big><br>
</big>I tried placing a breakpoint on
URI.createPlatformResourceURI(String pathName) to see when the path was
being generated, but seems that is not the alternative.<br>
</blockquote>
Before we had this method, has duplicate such code in quite a few
places.&nbsp; The use of platform:/plugin is correct and is done explicitly
to be able to reference things in the installed environment.<br>
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org"
type="cite"><br>
Secondly, I'm not sure which comment specifically confused you, so I'll
try to make all of them a little clearer.<big><br>
</big></blockquote>
It was your the comment about placing Ecore.xsd in a plugin folder that
confused me.<br>
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org"
type="cite">What
I did was create the plugin folder and copying the ecore
plugin in there.<br>
</blockquote>
Where though?&nbsp; Something like platform:/plugin/&lt;plugin-ID&gt;/path
should access&nbsp; "path" in the jar corresopnding the &lt;plugin-ID&gt;
installed in the target environment.&nbsp; I don't understand how it would
ever access anything else.<br>
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org"
type="cite">I
restarted eclipse, regenerated the xsd with the same result (same
schemalocation path), only that now the validator validates it
correctly (so it is not a problem of the structure of the path or that
the schema was inside a jar file or any other of such reasons). <br>
</blockquote>
I asked this before, but what is the absolute URI of the generated .xsd?<br>
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org"
type="cite"><br>
I completely agree with you in that the active plugin was still the
other one, I was just making sure it wasn't a validator problem of some
kind.<br>
Hope this clarifies my comments a little more.<br>
</blockquote>
It's still not clear to me what's wrong.&nbsp; If the path correctly
resolves (URI has a resolve method) to the right absolute path, i.e.,
platform:/plugin/org.eclipse.emf.ecore/model/Ecore.xsd, then anything
running in Eclipse creating a URL for that should find it because it
should be in the Ecore plugin's jar...<br>
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org"
type="cite">Thanks,
Ed.<br>
Regards,<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; Juan Pedro<br>
<small><br>
</small><br>
Ed Merks escribi&oacute;:
<blockquote cite="mid:fhv1de$akc$1@build.eclipse.org"
type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Juan,<br>
<br>
It's a logical location as created by this URI method:<br>
<blockquote><small>&nbsp; public static URI
createPlatformPluginURI(String
pathName, boolean encode)</small><br>
<small>&nbsp; {</small><br>
<small>&nbsp;&nbsp;&nbsp; return createPlatformURI("platform:/plugin",
"platform:/plugin/", pathName, encode);</small><br>
<small>&nbsp; }</small><br>
</blockquote>
It should access the contents of the installed plugin in the running
environment.&nbsp; So your "plugin" folder comment kind of confuses me...<br>
<br>
<br>
Juan Pedro Silva wrote:
<blockquote cite="mid:fhv0lo$8j7$1@build.eclipse.org"
type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Ed, while posting on webtools newsgroup, I noticed the generated path:<br>
<br>
schemaLocation="../../../../../../../<font color="#ff0000"><b>plugin</b></font>/org.eclipse.emf.ecore/model/Ecore.xsd "<br>
<br>
refers to a wrong folder <i>"plugin"</i> instead of <i>"plugins"</i>,
which is the correct folder. It's odd somehow, as
the schema was generated by the EMF Exporter wizard, not by me.<br>
I tried placing the ecore jar file in a new "plugin" folder, and
everything
works fine.<br>
<br>
What is strange is that, should it be a miss-configuration of my
environmental variables, I should be getting error almost everywhere
else where I needed Ecore.xsd.<br>
The other strange thing is that this is not a variable a user normally
sets, is it?, it is platform-generated..<br>
<br>
I hold for your comments.<br>
Regards,<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; Juan Pedro<br>
<br>
Juan Pedro Silva escribi&oacute;:
<blockquote cite="mid:fhuq01$uis$1@build.eclipse.org"
type="cite">Ed,
comments inline. <br>
<br>
Ed Merks escribi&oacute;: <br>
<blockquote type="cite">
<blockquote type="cite">-The validation is taking
place
in
a
eclipse environment, selecting the file (already in the workspace) in
the package explorer, right-click/validate. So it goes down to one of
two options: either I'm having some miss-configuration, or the
validation rules don't allow such a path expression. I placed Ecore.xsd
in the same folder and shortened the path to "./" and it worked fine. <br>
</blockquote>
So likely WTP is providing that support.&nbsp; What is the exact absolute
location URI of the schema that contains this relative path?&nbsp; Is it
really that many levels deep that the relative path should resolve to
the correct absolute path?&nbsp; I suppose having to modify one import on
the result isn't too bad, just kind of annoying... <br>
</blockquote>
By counting the segments I get that it is the proper path to Ecore.xsd
(seven ../ segments take me to the "eclipse" folder, and the rest of
the path takes to the correspondent plugin and file). I'll turn to the
webtools newsgroup and ask there about the depth of the path. <br>
<blockquote type="cite">
<blockquote type="cite">. The available type
options
while
modeling
UML are UML, Ecore, Default, Standard, the ones available in the
current model, and the ones available in the applied profiles, so I
cannot choose XML Schema data types while editing the models, and would
have to make the transformation by code on a later step. <br>
</blockquote>
I guess you'd need some different UML provide to access the XML Type
package's types.&nbsp; I don't know enough about UML for how to create that.
<br>
</blockquote>
Ok, I may post in the UML newsgroup about this if I can't solve the
issue with what I'm told in the webtools newsgroup. <br>
Thanks again for your quick replies and all your help. <br>
Regards, <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Juan Pedro <br>
</blockquote>
</blockquote>
<br>
</blockquote>
</blockquote>
<br>
</blockquote>
</blockquote>
<br>
</blockquote>
</blockquote>
<br>
</blockquote>
</body>
</html>

--------------070404040301030504080101
Content-Type: image/jpeg
Content-Transfer-Encoding: base64
Content-ID: <part1.05080004.04050502@gmail.com>

/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDABALDA4MChAODQ4SERATGCgaGBYW GDEjJR0oOjM9
PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgV GC8aGi9jQjhC
Y2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2Nj Y2NjY2P/wAAR
CADaAPsDAS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jHma0NFbKxUMABgjABkJ2DOcJz8nIH3cdB6CiKxsIi xSNPnDBtzbt2
4KGzk852rnPX8TWdvf8AvN+dG9/7zfnRYPaM0RZWWwrliSQd5nYuMZxh87h1 PQ9z6mp4vJt0
jWIrtjdWxuyThsnk9SeeT1JrH3v/AHm/Oje/95vzosHtGdLdT6PdyCSdnJxt YKJFDr/dcDAY
cnhsjk+poefR5LoXDM+/IYgCQIzDoxT7pIwMEjIwPQVzW9/7zfnRvf8AvN+d Fg9ozo0k0RER
F3BUSJFG2TgRNuQfgfz75qNU0JZVkBlJXGxS0pVAGVgFU8KMovAAHAHSsDe/ 95vzo3v/AHm/
Oiwe0Z0c8miXBmMu4mbd5hCyAsGQIRx2KqvHTIB6gGgyaIZnkbc+/dlHWRo8 tkMQh+UE5OSB
k7j6muc3v/eb86N7/wB5vzosHtGdDJPYLZNb2jsWd1dmkLEnBByzNyeAB1PY dBxUuIbe52+Y
5DLnDJKUYZ6jKkHHTj2HpWTvf+8350b3/vN+dFg9ozRW2h+2Rzs8OyBCkCKo Hlg4zzn2wMYw
CRzTjaWRjij2rtij8pPnPyr8vQ56/Kpz1GKzN7/3m/Oje/8Aeb86LB7RmhLp 9hM7NICQ27K+
cwX5gQx25wCQTzjuTUrrCm9oyu6SRXf5s5I2jP5AflWVvf8AvN+dG9/7zfnR YPaM3PMT++v5
0eYn99fzrD3v/eb86N7/AN5vzosHtGbnmJ/fX86PMT++v51h73/vN+dG9/7z fnRYPaM3PMT+
+v50eYn99fzrD3v/AHm/Oje/95vzosHtGbnmJ/fX86PMT++v51h73/vN+dG9 /wC8350WD2jN
zzE/vr+dHmJ/fX86w97/AN5vzo3v/eb86LB7Rm55if31/OjzE/vr+dYe9/7z fnRvf+8350WD
2jNzzE/vr+dHmJ/fX86w97/3m/Oje/8Aeb86LB7Rn//Z
--------------070404040301030504080101--
Re: Problems with Ecore schemalocation while generating xsd with wizard. [message #414791 is a reply to message #414788] Wed, 21 November 2007 16:09 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33143
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------020404090508050405060905
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Juan,

Comments below.

Juan Pedro Silva wrote:
> Ed, first of all, apologies are due. I haven't interpreted you as of
> "plugin" being a logical reference until just your previous post (the
> one with the code changes to WSDExporter).
> I'm sorry to make you feel frustrated. It looks like you where talking
> about oranges and I was talking about apples. I'm sorry. I'm also
> sorry I haven't answer your questions about the validator so far. Is
> not at all my intention to exasperate someone that is trying to help
> you, or to make him waste time trying to explain something that is not
> being correctly understood.
Don't worry. It's okay. I should have pretended to be infinitely
patient rather than expressing frustration. I know this is confusing stuff.
>
> I completely agree with your relative paths comments, and yes, opening
> the schema with the Sample XML Schema editor makes the imports
> available. Again apologize me, as I was wrongly interpreting the
> "plugin" part of the path as a physical folder and not as a logical
> variable. Emailing can sometimes be tricky for understanding someone
> correctly.
Yep, there's lots of room for confusion.
>
> As for the subject in hands:
> -I'm using the (org.eclipse.wst.xsd.core.internal.validation.)
> XSDValidator as provided by WTP 1.5.5. It uses inner class
> XSDEntityResolver, which in turn uses
> org.eclipse.wst.common.uriresolver.internal.ExtensibleURIRes olver.
>
> -the URI to the generated file as used by the validator is
> file:///J:/Programas/Eclipse_Para_RSA/eclipse/ws_Europa/juan .pedro/WSDL_Output/PruebaProfSegm/WSDL_Output/Schemas/BlankM odel.xsd
I see. It seems bad to me to use a physical (file:) location URI which
will generally cause problems for relative paths that span projects in
the workspace (because each project could be in a different location
rather than be physically nested in the workspace) and will not work at
all for resources backed by other EFS implementations. Perhaps you
should open a bugzilla against them and let me know the number so I can
track it and follow up...
>
> I'm sorry for causing any inconvenience.
Sorry for not being more patient.
> Regards,
> Juan Pedro
>
>
>
>
>
>
> Ed Merks escribi


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Problems with Ecore schemalocation while generating xsd with wizard. [message #414794 is a reply to message #414791] Wed, 21 November 2007 16:27 Go to previous messageGo to next message
Juan Pedro Silva is currently offline Juan Pedro SilvaFriend
Messages: 258
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------090608040009070704080203
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks again Ed for your answer.<br>
I'll post your remarks in the thread I had opened in the webtools
newsgroup to allow them to comment on this, mainly because the version
I'm using is not their latest, and this may have been changed already.<br>
<br>
If the time comes to open a bugzilla I'll post the number here.<br>
<br>
Thanks again for all your help.<br>
Regards,<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; Juan Pedro<br>
<br>
P.S.: Your patience tends to infinity if not already infinite. <span
class="moz-smiley-s1"><span> :-) </span></span><br>
<br>
Ed Merks escribi&oacute;:
<blockquote cite="mid:fi1l7f$rfe$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
Juan,<br>
<br>
Comments below.<br>
<br>
Juan Pedro Silva wrote:
<blockquote cite="mid:fi1j6h$b67$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
Ed, first of all, apologies are due. I haven't interpreted you as of&nbsp;
"plugin" being a logical reference until just your previous post (the
one with the code changes to WSDExporter).<br>
I'm sorry to make you feel frustrated. It looks like you where talking
about oranges and I was talking about apples. I'm sorry. I'm also sorry
I haven't answer your questions about the validator so far. Is not at
all my intention to exasperate someone that is trying to help you, or
to make him waste time trying to explain something that is not being
correctly understood.<br>
</blockquote>
Don't worry.&nbsp; It's okay.&nbsp; I should have pretended to be infinitely
patient rather than expressing frustration. I know this is confusing
stuff.<br>
<blockquote cite="mid:fi1j6h$b67$1@build.eclipse.org" type="cite"><br>
I completely agree with your relative paths comments, and yes, opening
the schema with the Sample XML Schema editor makes the imports
available. Again apologize me, as I was wrongly interpreting the
"plugin" part of the path as a physical folder and not as a logical
variable. Emailing can sometimes be tricky for understanding someone
correctly.<br>
</blockquote>
Yep, there's lots of room for confusion.<br>
<blockquote cite="mid:fi1j6h$b67$1@build.eclipse.org" type="cite"><br>
As for the subject in hands: <br>
-I'm using the (org.eclipse.wst.xsd.core.internal.validation.)
XSDValidator as provided by WTP 1.5.5. It uses inner class
XSDEntityResolver, which in turn uses
org.eclipse.wst.common.uriresolver.internal.ExtensibleURIRes olver. <br>
<br>
-the URI to the generated file as used by the validator is <a
moz-do-not-send="true" class="moz-txt-link-freetext"
href=" file:///J:/Programas/Eclipse_Para_RSA/eclipse/ws_Europa/juan .pedro/WSDL_Output/PruebaProfSegm/WSDL_Output/Schemas/BlankM odel.xsd"> file:///J:/Programas/Eclipse_Para_RSA/eclipse/ws_Europa/juan .pedro/WSDL_Output/PruebaProfSegm/WSDL_Output/Schemas/BlankM odel.xsd</a><br>
</blockquote>
I see.&nbsp; It seems bad to me to use a physical (file:) location URI which
will generally cause problems for relative paths that span projects in
the workspace (because each project could be in a different location
rather than be physically nested in the workspace) and will not work at
all for resources backed by other EFS implementations.&nbsp; Perhaps you
should open a bugzilla against them and let me know the number so I can
track it and follow up...<br>
<blockquote cite="mid:fi1j6h$b67$1@build.eclipse.org" type="cite"><br>
I'm sorry for causing any inconvenience.<br>
</blockquote>
Sorry for not being more patient.<br>
<blockquote cite="mid:fi1j6h$b67$1@build.eclipse.org" type="cite">Regards,<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; Juan Pedro<br>
<br>
<br>
<br>
<br>
<br>
<br>
Ed Merks escribi&oacute;:
<blockquote cite="mid:fi1dte$eq6$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Juan,<br>
<br>
Comments below.<br>
<br>
Juan Pedro Silva wrote:
<blockquote cite="mid:fi1dar$d1d$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Ed, the problem would be that the intention of the WSDL is for external
services to be able to communicate with this service.</blockquote>
For sure.<br>
<blockquote cite="mid:fi1dar$d1d$1@build.eclipse.org" type="cite">So,
the actual
location of the file should be right, regardless of eclipse being able
to find it somewhere else (eclipse may not be running at all while the
service is being executed).</blockquote>
Being right is a relative term when using relative paths. If you
develop the resource locally and later deploy it to a web page that
obviously has a different URI to access it, the relative location that
works in the former situation might not work in the later situation.&nbsp;
This likely means you need to change schemaLocations as part of
deploying.<br>
<blockquote cite="mid:fi1dar$d1d$1@build.eclipse.org" type="cite">So
I
believe the XSD validator provided by
WTP just tries to find Ecore.xsd based on the schemalocation path, as
any other external service would. I believe this is the right approach.<br>
</blockquote>
Yes, but the question remains (after asking many times) what absolute
URI does it use?&nbsp; The interpretation of a relative path is as the name
implies relative to the path of the containing document, so a relative
path that works well in one context might not work well in another.<br>
<blockquote cite="mid:fi1dar$d1d$1@build.eclipse.org" type="cite"><br>
The relative path is right in respect to the depth of the "../"
segments, but incorrect regarding the folder: the eclipse folder in
which all plugins are installed is eclipse/plugins/ , not
eclipse/plugin/ as is being generated in the schema. </blockquote>
I'm not sure I can be more clear on this point.&nbsp; platform:/plugin/ and
platform:/resource are symbolic URIs that work as real live URLs within
Eclipse.&nbsp; There is no relationship to the symbolic URIs and the
physical name of the install location, the workspace location, or the
folder name where plugins are installed.&nbsp; None.<br>
<blockquote cite="mid:fi1dar$d1d$1@build.eclipse.org" type="cite">I
keep getting the
same schemalocation path (with different number of "../" segments)
regardless of the selected output folder: I allways get the ../<font
color="#ff0000"><b>plugin</b><font color="#000000">/.. folder in the
path, instead of the correct ../plugins/ one. I just realized you get
the same in your generated schema too!!:<br>
</font></font></blockquote>
I hope I've been clear but if not yet, this is correct behavior and
works correctly in the context of the XSD model and the XSD editor I
provide. But you are using it in a different context, although you're
still not made clear what that context is.<br>
<blockquote cite="mid:fi1dar$d1d$1@build.eclipse.org" type="cite"><font
color="#ff0000"><font color="#000000"><br>
</font></font><small>&lt;?xml version="1.0"
encoding="UTF-8"?&gt;</small><br>
<small>&lt;xsd:schema xmlns:xsd=<a moz-do-not-send="true"
class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema">"http://www.w3.org/2001/XMLSchema"</a>
xmlns:ecore=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2002/Ecore">"http://www.eclipse.org/emf/2002/Ecore"</a>
xmlns:change=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2003/Change">"http://www.eclipse.org/emf/2003/Change"</a>
ecore:nsPrefix="change" ecore:package="org.eclipse.emf.ecore.change"
targetNamespace=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2003/Change">"http://www.eclipse.org/emf/2003/Change"</a>&gt;</small><br>
<small>&nbsp; &lt;xsd:import
namespace=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2002/Ecore">"http://www.eclipse.org/emf/2002/Ecore"</a>
<font color="#ff0000">schemaLocation="../../../plugin/org.eclipse.emf.ecore/model/Ecore.xsd "</font>/&gt;</small><br>
<font color="#ff0000"><font color="#000000"><br>
So it's not a problem of the validator not being able to resolve the
plugin location from within eclipse (it shouldn't take this approach),
but the XSDExporter generating a wrong path for it. </font></font></blockquote>
The path is correct.<br>
<blockquote cite="mid:fi1dar$d1d$1@build.eclipse.org" type="cite"><font
color="#ff0000"><font color="#000000">As we both get the
same wrong path, it is also not a configuration issue, but rather some
bug in the code, I should say.<br>
</font></font></blockquote>
No, you keep making assumptions about these things corresponding to
physical names in the file system and I keep trying to explain they are
logical URIs supported by Eclipse.<br>
<blockquote cite="mid:fi1dar$d1d$1@build.eclipse.org" type="cite"><font
color="#ff0000"><font color="#000000"><br>
What's your opinion?.<br>
</font></font></blockquote>
I'm a little frustrated since questions like what validator are you
using don't seem to get answered.&nbsp; If you open the .xsd, as I
suggested, with the Sample XML Schema editor, you'll see that it works
correctly.&nbsp; That's the best I can accomplish in the base framework.&nbsp; If
that doesn't work in your context, then you can modify the
schemaLocation and make the Ecore.xsd available in the location that
makes sense for your context.<br>
<blockquote cite="mid:fi1dar$d1d$1@build.eclipse.org" type="cite"><font
color="#ff0000"><font color="#000000"><br>
<br>
<br>
</font></font><br>
Ed Merks escribi&oacute;:
<blockquote cite="mid:fi1apt$sn9$1@build.eclipse.org"
type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Juan,<br>
<br>
Just using new
URL(" platform:/plugin/org.eclipse.emf.ecore/model/Ecore.xsd).open Stream()
should successfully read the XML Schema from the plugin regardless of
it's physical install location.&nbsp; More comments below.<br>
<br>
<br>
Juan Pedro Silva wrote:
<blockquote cite="mid:fi19kh$obl$1@build.eclipse.org"
type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
Hi Ed. I tyook a little longer to try some code out so I could give you
some more clues on what is going on.<br>
I tried the attached code to find the location of the plugin. The
output of the System.out.println() lines was the following:<br>
<br>
<font color="#33ccff">Bundle Location:<i> <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:update@plugins/org.eclipse.emf.ecore_2.2.3.v200705141058.jar">update@plugins/org.eclipse.emf.ecore_2.2.3.v200705141058.jar</a><br>
</i>Path: <i>J:/Programas/Eclipse_Para_RSA/eclipse/<a
moz-do-not-send="true" class="moz-txt-link-freetext"
href=" file:J:/Programas/Eclipse_Para_RSA/eclipse/plugins/org.eclip se.emf.ecore_2.2.3.v200705141058.jar%21/model/Ecore.xsd "> file:J:/Programas/Eclipse_Para_RSA/eclipse/plugins/org.eclip se.emf.ecore_2.2.3.v200705141058.jar!/model/Ecore.xsd </a><br>
</i>URI:<i>&nbsp;
platform:/resource/J:/Programas/Eclipse_Para_RSA/eclipse/<a
moz-do-not-send="true" class="moz-txt-link-freetext"
href=" file:J:/Programas/Eclipse_Para_RSA/eclipse/plugins/org.eclip se.emf.ecore_2.2.3.v200705141058.jar%21/model/Ecore.xsd "> file:J:/Programas/Eclipse_Para_RSA/eclipse/plugins/org.eclip se.emf.ecore_2.2.3.v200705141058.jar!/model/Ecore.xsd </a></i></font><br>
<br>
So I guess the plugin is being resolved correctly and the problem might
be somewhere in the XSD generation (while it makes the schemalocation
path).<br>
</blockquote>
Certainly the relative path looks correct to me assuming that the
absolute path of the generated XSD is really that many levels deep.&nbsp;
For example, if I generate Change.xsd for the EMF's change model it
generates this:<br>
<blockquote><small>&lt;?xml version="1.0"
encoding="UTF-8"?&gt;</small><br>
<small>&lt;xsd:schema xmlns:xsd=<a moz-do-not-send="true"
class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema">"http://www.w3.org/2001/XMLSchema"</a>
xmlns:ecore=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2002/Ecore">"http://www.eclipse.org/emf/2002/Ecore"</a>
xmlns:change=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2003/Change">"http://www.eclipse.org/emf/2003/Change"</a>
ecore:nsPrefix="change" ecore:package="org.eclipse.emf.ecore.change"
targetNamespace=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2003/Change">"http://www.eclipse.org/emf/2003/Change"</a>&gt;</small><br>
<small>&nbsp; &lt;xsd:import
namespace=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2002/Ecore">"http://www.eclipse.org/emf/2002/Ecore"</a>
schemaLocation="../../../plugin/org.eclipse.emf.ecore/model/Ecore.xsd "/&gt;<br>
</small></blockquote>
And I know it's working correctly because if I open the .xsd with the
"Sample XML Schema Editor" (the one provided by XSD, not the one
provided by WTP which is much better and isn't just a sample), it
doesn't complain about unresolved imports and on the Semantics tab I
can see that the imports from Ecore.xsd are present:<br>
<blockquote><img src="cid:part1.06000608.04090205@gmail.com"
alt=""><br>
</blockquote>
In this case the .xsd is generated to
platform:/resource/org.eclipse.emf.ecore.change/model/Change .xsd so the
three ".." are exactly right.<br>
<br>
<blockquote cite="mid:fi19kh$obl$1@build.eclipse.org"
type="cite">When
I talked about generating a new "plugin" folder and copying the
jar file in there so the validator could find the referenced schema, I
meant creating it so that the file in the path:<br>
<br>
<font color="#33ccff"><i>J:/Programas/Eclipse_Para_RSA/eclipse/plugin/ </i></font><i><font
color="#33ccff">org.eclipse.emf.ecore/model/Ecore.xsd</font ><br>
<br>
</i>existed. I guess the validator only checks if you can
find
the
file
in the specified path, not if it's consistent with the active plugin
and all.<br>
</blockquote>
I guess the question here is what validator are you using and most
importantly one URI is it using as load the .xsd.&nbsp; If it's not using
platform:/resource/whatever, but some other absolute URI, then the
relative path will not resolve to platform:/plugin/whatever, and that's
what it's sounding like.<br>
<blockquote cite="mid:fi19kh$obl$1@build.eclipse.org"
type="cite">The
path for the generated xsd is:<br>
<br>
<font color="#33ccff"><i> J:\Programas\Eclipse_Para_RSA\eclipse\ws_Europa\juan.pedro\W SDL_Output\schemas\ProblemasEcorePath\WSDL_Output\Schemas\Bl ankModel.xsd </i></font><br>
<br>
</blockquote>
This is the file system path, but the generator is using a URI of the
form platform:/resource...<br>
<blockquote cite="mid:fi19kh$obl$1@build.eclipse.org"
type="cite">I
hope this helps pin-pointing the problem.<br>
</blockquote>
I think we are getting closer.&nbsp; I think an important question to answer
is what URI is being used to open the resource in the validator.&nbsp; If
it's of the form <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="file:/actual-location-on-filesystem">file:/actual-location-on-filesystem </a>
rather than
platform:/resource/location-in-workspace then it's a problem (and that
also doesn't seem right to me, since this bypasses the workspace and
doesn't fully support EFS implementations of the workspace which might
supply resources that aren't actually in the file system).<br>
<blockquote cite="mid:fi19kh$obl$1@build.eclipse.org"
type="cite">Regards,<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Juan Pedro<br>
<br>
P.S.: Just in case, for generating the schema, I have a XSDExporter and
call: <br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <font color="#33ccff">setGenModel(genmodel);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
setDirectoryURI(URI.createPlatformResourceURI(directory, true));&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; export(monitor);</font><br>
<br>
nothing strange in there.<br>
<br>
<br>
Ed Merks escribi&oacute;:
<blockquote cite="mid:fhvoc1$r3k$1@build.eclipse.org"
type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Juan,<br>
<br>
Comments below.<br>
<br>
<br>
Juan Pedro Silva wrote:
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org"
type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Ed, I been trying to debug the execution of the exporter until the
point of the generation of the path with no luck.<br>
First thing is I'm running eclipse 3.2.2 and emf 2.2.3 (due to RSA
compatibility), so I don't have URI<big>.</big>createPlatformPluginURI(String
pathName, boolean encode).<big><br>
</big>I tried placing a breakpoint on
URI.createPlatformResourceURI(String pathName) to see when the path was
being generated, but seems that is not the alternative.<br>
</blockquote>
Before we had this method, has duplicate such code in quite a few
places.&nbsp; The use of platform:/plugin is correct and is done explicitly
to be able to reference things in the installed environment.<br>
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org"
type="cite"><br>
Secondly, I'm not sure which comment specifically confused you, so I'll
try to make all of them a little clearer.<big><br>
</big></blockquote>
It was your the comment about placing Ecore.xsd in a plugin folder that
confused me.<br>
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org"
type="cite">What
I did was create the plugin folder and copying the ecore
plugin in there.<br>
</blockquote>
Where though?&nbsp; Something like platform:/plugin/&lt;plugin-ID&gt;/path
should access&nbsp; "path" in the jar corresopnding the &lt;plugin-ID&gt;
installed in the target environment.&nbsp; I don't understand how it would
ever access anything else.<br>
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org"
type="cite">I
restarted eclipse, regenerated the xsd with the same result (same
schemalocation path), only that now the validator validates it
correctly (so it is not a problem of the structure of the path or that
the schema was inside a jar file or any other of such reasons). <br>
</blockquote>
I asked this before, but what is the absolute URI of the generated .xsd?<br>
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org"
type="cite"><br>
I completely agree with you in that the active plugin was still the
other one, I was just making sure it wasn't a validator problem of some
kind.<br>
Hope this clarifies my comments a little more.<br>
</blockquote>
It's still not clear to me what's wrong.&nbsp; If the path correctly
resolves (URI has a resolve method) to the right absolute path, i.e.,
platform:/plugin/org.eclipse.emf.ecore/model/Ecore.xsd, then anything
running in Eclipse creating a URL for that should find it because it
should be in the Ecore plugin's jar...<br>
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org"
type="cite">Thanks,
Ed.<br>
Regards,<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; Juan Pedro<br>
<small><br>
</small><br>
Ed Merks escribi&oacute;:
<blockquote cite="mid:fhv1de$akc$1@build.eclipse.org"
type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Juan,<br>
<br>
It's a logical location as created by this URI method:<br>
<blockquote><small>&nbsp; public static URI
createPlatformPluginURI(String
pathName, boolean encode)</small><br>
<small>&nbsp; {</small><br>
<small>&nbsp;&nbsp;&nbsp; return
createPlatformURI("platform:/plugin",
"platform:/plugin/", pathName, encode);</small><br>
<small>&nbsp; }</small><br>
</blockquote>
It should access the contents of the installed plugin in the running
environment.&nbsp; So your "plugin" folder comment kind of confuses me...<br>
<br>
<br>
Juan Pedro Silva wrote:
<blockquote cite="mid:fhv0lo$8j7$1@build.eclipse.org"
type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Ed, while posting on webtools newsgroup, I noticed the generated path:<br>
<br>
schemaLocation="../../../../../../../<font color="#ff0000"><b>plugin</b></font>/org.eclipse.emf.ecore/model/Ecore.xsd "<br>
<br>
refers to a wrong folder <i>"plugin"</i> instead of <i>"plugins"</i>,
which is the correct folder. It's odd somehow, as
the schema was generated by the EMF Exporter wizard, not by me.<br>
I tried placing the ecore jar file in a new "plugin" folder, and
everything
works fine.<br>
<br>
What is strange is that, should it be a miss-configuration of my
environmental variables, I should be getting error almost everywhere
else where I needed Ecore.xsd.<br>
The other strange thing is that this is not a variable a user normally
sets, is it?, it is platform-generated..<br>
<br>
I hold for your comments.<br>
Regards,<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; Juan Pedro<br>
<br>
Juan Pedro Silva escribi&oacute;:
<blockquote
cite="mid:fhuq01$uis$1@build.eclipse.org" type="cite">Ed,
comments inline. <br>
<br>
Ed Merks escribi&oacute;: <br>
<blockquote type="cite">
<blockquote type="cite">-The validation is
taking
place
in
a
eclipse environment, selecting the file (already in the workspace) in
the package explorer, right-click/validate. So it goes down to one of
two options: either I'm having some miss-configuration, or the
validation rules don't allow such a path expression. I placed Ecore.xsd
in the same folder and shortened the path to "./" and it worked fine. <br>
</blockquote>
So likely WTP is providing that support.&nbsp; What is the exact absolute
location URI of the schema that contains this relative path?&nbsp; Is it
really that many levels deep that the relative path should resolve to
the correct absolute path?&nbsp; I suppose having to modify one import on
the result isn't too bad, just kind of annoying... <br>
</blockquote>
By counting the segments I get that it is the proper path to Ecore.xsd
(seven ../ segments take me to the "eclipse" folder, and the rest of
the path takes to the correspondent plugin and file). I'll turn to the
webtools newsgroup and ask there about the depth of the path. <br>
<blockquote type="cite">
<blockquote type="cite">. The available type
options
while
modeling
UML are UML, Ecore, Default, Standard, the ones available in the
current model, and the ones available in the applied profiles, so I
cannot choose XML Schema data types while editing the models, and would
have to make the transformation by code on a later step. <br>
</blockquote>
I guess you'd need some different UML provide to access the XML Type
package's types.&nbsp; I don't know enough about UML for how to create that.
<br>
</blockquote>
Ok, I may post in the UML newsgroup about this if I can't solve the
issue with what I'm told in the webtools newsgroup. <br>
Thanks again for your quick replies and all your help. <br>
Regards, <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Juan Pedro <br>
</blockquote>
</blockquote>
<br>
</blockquote>
</blockquote>
<br>
</blockquote>
</blockquote>
<br>
</blockquote>
</blockquote>
<br>
</blockquote>
</blockquote>
<br>
</blockquote>
</body>
</html>

--------------090608040009070704080203
Content-Type: image/jpeg
Content-Transfer-Encoding: base64
Content-ID: <part1.06000608.04090205@gmail.com>

/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDABALDA4MChAODQ4SERATGCgaGBYW GDEjJR0oOjM9
PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgV GC8aGi9jQjhC
Y2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2Nj Y2NjY2P/wAAR
CADaAPsDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcI CQoL/8QAtRAA
AgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS 0fAkM2JyggkK
FhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1 dnd4eXqDhIWG
h4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW 19jZ2uHi4+Tl
5ufo6erx8vP09fb3+Pn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lJXGxS0pVAGVgFU8KMovAAHAHSsDe/ 95vzo3v/AHm/
Oiwe0Z0c8miXBmMu4mbd5hCyAsGQIRx2KqvHTIB6gGgyaIZnkbc+/dlHWRo8 tkMQh+UE5OSB
k7j6muc3v/eb86N7/wB5vzosHtGdDJPYLZNb2jsWd1dmkLEnBByzNyeAB1PY dBxUuIbe52+Y
5DLnDJKUYZ6jKkHHTj2HpWTvf+8350b3/vN+dFg9ozRW2h+2Rzs8OyBCkCKo Hlg4zzn2wMYw
CRzTjaWRjij2rtij8pPnPyr8vQ56/Kpz1GKzN7/3m/Oje/8Aeb86LB7RmhLp 9hM7NICQ27K+
cwX5gQx25wCQTzjuTUrrCm9oyu6SRXf5s5I2jP5AflWVvf8AvN+dG9/7zfnR YPaM3PMT++v5
0eYn99fzrD3v/eb86N7/AN5vzosHtGbnmJ/fX86PMT++v51h73/vN+dG9/7z fnRYPaM3PMT+
+v50eYn99fzrD3v/AHm/Oje/95vzosHtGbnmJ/fX86PMT++v51h73/vN+dG9 /wC8350WD2jN
zzE/vr+dHmJ/fX86w97/AN5vzo3v/eb86LB7Rm55if31/OjzE/vr+dYe9/7z fnRvf+8350WD
2jNzzE/vr+dHmJ/fX86w97/3m/Oje/8Aeb86LB7Rn//Z
--------------090608040009070704080203--
Re: Problems with Ecore schemalocation while generating xsd with wizard. [message #414796 is a reply to message #414783] Wed, 21 November 2007 16:38 Go to previous messageGo to next message
Juan Pedro Silva is currently offline Juan Pedro SilvaFriend
Messages: 258
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------000708090104040107050205
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Ed, platform:/plugin is validates correctly using the WTP validator.<br>
Thank you.<br>
<br>
Ed Merks escribi&oacute;:
<blockquote cite="mid:fi1cb3$8pg$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
Juan,<br>
<br>
If I make this change to the exporter, then it will stop producing a
relative path between platform:/resource and platform:/plugin<br>
<blockquote><small>### Eclipse Workspace Patch 1.0</small><br>
<small>#P org.eclipse.xsd.ecore.exporter</small><br>
<small>Index: src/org/eclipse/xsd/ecore/exporter/XSDExporter.java</small> <br>
<small> ============================================================ ======= </small><br>
<small>RCS file:
/cvsroot/modeling/org.eclipse.mdt/org.eclipse.xsd/plugins/or g.eclipse.xsd.ecore.exporter/src/org/eclipse/xsd/ecore/expor ter/XSDExporter.java,v </small><br>
<small>retrieving revision 1.7</small><br>
<small>diff -u -r1.7 XSDExporter.java</small><br>
<small>--- src/org/eclipse/xsd/ecore/exporter/XSDExporter.java&nbsp ;&nbsp;&nbsp;
28
Dec 2006 07:02:39 -0000&nbsp;&nbsp;&nbsp; 1.7</small><br>
<small>+++ src/org/eclipse/xsd/ecore/exporter/XSDExporter.java&nbsp ;&nbsp;&nbsp;
21
Nov 2007 13:34:48 -0000</small><br>
<small>@@ -107,7 +107,11 @@</small><br>
<small> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; GenPackage referencedGenPackage =
genModel.findGenPackage(referencedEPackage);</small><br>
<small> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; URI artifactURI =
getReferencedGenPackageArtifactURI(exportData, referencedGenPackage);</small><br>
<small> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; URI importLocationURI =
URI.createURI(computeSchemaLocation(xsdImport, artifactURI));</small><br>
<small> -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp; if (!schemaLocationURI.isRelative() &amp;&amp;
schemaLocationURI.isHierarchical() &amp;&amp;
!importLocationURI.isRelative())</small><br>
<small> +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp; if (!schemaLocationURI.isRelative() &amp;&amp;</small><br>
<small> +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp; schemaLocationURI.isHierarchical()
&amp;&amp; </small><br>
<small> +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp; !importLocationURI.isRelative() &amp;&amp;</small><br>
<small> +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp; schemaLocationURI.isPlatformResource() ==
importLocationURI.isPlatformResource() &amp;&amp;</small><br>
<small> +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp; schemaLocationURI.isPlatformPlugin() ==
importLocationURI.isPlatformPlugin())</small><br>
<small> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; {</small><br>
<small> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; importLocationURI =
importLocationURI.deresolve(schemaLocationURI, true, true, false);</small><br>
<small> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; }</small><br>
</blockquote>
I.e., it will produce this instead:<br>
<blockquote><small>&lt;?xml version="1.0" encoding="UTF-8"?&gt;</small><br>
<small>&lt;xsd:schema xmlns:xsd=<a moz-do-not-send="true"
class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema">"http://www.w3.org/2001/XMLSchema"</a>
xmlns:ecore=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2002/Ecore">"http://www.eclipse.org/emf/2002/Ecore"</a>
xmlns:change=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2003/Change">"http://www.eclipse.org/emf/2003/Change"</a>
ecore:nsPrefix="change" ecore:package="org.eclipse.emf.ecore.change"
targetNamespace=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2003/Change">"http://www.eclipse.org/emf/2003/Change"</a>&gt;</small><br>
<small>&nbsp; &lt;xsd:import
namespace=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2002/Ecore">"http://www.eclipse.org/emf/2002/Ecore"</a>
<b>schemaLocation="platform:/plugin/org.eclipse.emf.ecore/model/Ecore.xsd "</b>/&gt;</small><br>
</blockquote>
I'm not sure if that's better but it seems a bit nicer...<br>
<br>
<br>
Ed Merks wrote:
<blockquote cite="mid:fi1apt$sn9$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Juan,<br>
<br>
Just using new
URL(" platform:/plugin/org.eclipse.emf.ecore/model/Ecore.xsd).open Stream()
should successfully read the XML Schema from the plugin regardless of
it's physical install location.&nbsp; More comments below.<br>
<br>
<br>
Juan Pedro Silva wrote:
<blockquote cite="mid:fi19kh$obl$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
Hi Ed. I tyook a little longer to try some code out so I could give you
some more clues on what is going on.<br>
I tried the attached code to find the location of the plugin. The
output of the System.out.println() lines was the following:<br>
<br>
<font color="#33ccff">Bundle Location:<i> <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:update@plugins/org.eclipse.emf.ecore_2.2.3.v200705141058.jar">update@plugins/org.eclipse.emf.ecore_2.2.3.v200705141058.jar</a><br>
</i>Path: <i>J:/Programas/Eclipse_Para_RSA/eclipse/<a
moz-do-not-send="true" class="moz-txt-link-freetext"
href=" file:J:/Programas/Eclipse_Para_RSA/eclipse/plugins/org.eclip se.emf.ecore_2.2.3.v200705141058.jar%21/model/Ecore.xsd "> file:J:/Programas/Eclipse_Para_RSA/eclipse/plugins/org.eclip se.emf.ecore_2.2.3.v200705141058.jar!/model/Ecore.xsd </a><br>
</i>URI:<i>&nbsp;
platform:/resource/J:/Programas/Eclipse_Para_RSA/eclipse/<a
moz-do-not-send="true" class="moz-txt-link-freetext"
href=" file:J:/Programas/Eclipse_Para_RSA/eclipse/plugins/org.eclip se.emf.ecore_2.2.3.v200705141058.jar%21/model/Ecore.xsd "> file:J:/Programas/Eclipse_Para_RSA/eclipse/plugins/org.eclip se.emf.ecore_2.2.3.v200705141058.jar!/model/Ecore.xsd </a></i></font><br>
<br>
So I guess the plugin is being resolved correctly and the problem might
be somewhere in the XSD generation (while it makes the schemalocation
path).<br>
</blockquote>
Certainly the relative path looks correct to me assuming that the
absolute path of the generated XSD is really that many levels deep.&nbsp;
For example, if I generate Change.xsd for the EMF's change model it
generates this:<br>
<blockquote><small>&lt;?xml version="1.0" encoding="UTF-8"?&gt;</small><br>
<small>&lt;xsd:schema xmlns:xsd=<a moz-do-not-send="true"
class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema">"http://www.w3.org/2001/XMLSchema"</a>
xmlns:ecore=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2002/Ecore">"http://www.eclipse.org/emf/2002/Ecore"</a>
xmlns:change=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2003/Change">"http://www.eclipse.org/emf/2003/Change"</a>
ecore:nsPrefix="change" ecore:package="org.eclipse.emf.ecore.change"
targetNamespace=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2003/Change">"http://www.eclipse.org/emf/2003/Change"</a>&gt;</small><br>
<small>&nbsp; &lt;xsd:import
namespace=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2002/Ecore">"http://www.eclipse.org/emf/2002/Ecore"</a>
schemaLocation="../../../plugin/org.eclipse.emf.ecore/model/Ecore.xsd "/&gt;<br>
</small></blockquote>
And I know it's working correctly because if I open the .xsd with the
"Sample XML Schema Editor" (the one provided by XSD, not the one
provided by WTP which is much better and isn't just a sample), it
doesn't complain about unresolved imports and on the Semantics tab I
can see that the imports from Ecore.xsd are present:<br>
<blockquote><img src="cid:part1.02000403.07060306@gmail.com" alt=""><br>
</blockquote>
In this case the .xsd is generated to
platform:/resource/org.eclipse.emf.ecore.change/model/Change .xsd so the
three ".." are exactly right.<br>
<br>
<blockquote cite="mid:fi19kh$obl$1@build.eclipse.org" type="cite">When
I talked about generating a new "plugin" folder and copying the
jar file in there so the validator could find the referenced schema, I
meant creating it so that the file in the path:<br>
<br>
<font color="#33ccff"><i>J:/Programas/Eclipse_Para_RSA/eclipse/plugin/ </i></font><i><font
color="#33ccff">org.eclipse.emf.ecore/model/Ecore.xsd</font ><br>
<br>
</i>existed. I guess the validator only checks if you can find
the
file
in the specified path, not if it's consistent with the active plugin
and all.<br>
</blockquote>
I guess the question here is what validator are you using and most
importantly one URI is it using as load the .xsd.&nbsp; If it's not using
platform:/resource/whatever, but some other absolute URI, then the
relative path will not resolve to platform:/plugin/whatever, and that's
what it's sounding like.<br>
<blockquote cite="mid:fi19kh$obl$1@build.eclipse.org" type="cite">The
path for the generated xsd is:<br>
<br>
<font color="#33ccff"><i> J:\Programas\Eclipse_Para_RSA\eclipse\ws_Europa\juan.pedro\W SDL_Output\schemas\ProblemasEcorePath\WSDL_Output\Schemas\Bl ankModel.xsd </i></font><br>
<br>
</blockquote>
This is the file system path, but the generator is using a URI of the
form platform:/resource...<br>
<blockquote cite="mid:fi19kh$obl$1@build.eclipse.org" type="cite">I
hope this helps pin-pointing the problem.<br>
</blockquote>
I think we are getting closer.&nbsp; I think an important question to answer
is what URI is being used to open the resource in the validator.&nbsp; If
it's of the form <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="file:/actual-location-on-filesystem">file:/actual-location-on-filesystem </a>
rather than
platform:/resource/location-in-workspace then it's a problem (and that
also doesn't seem right to me, since this bypasses the workspace and
doesn't fully support EFS implementations of the workspace which might
supply resources that aren't actually in the file system).<br>
<blockquote cite="mid:fi19kh$obl$1@build.eclipse.org" type="cite">Regards,<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Juan Pedro<br>
<br>
P.S.: Just in case, for generating the schema, I have a XSDExporter and
call: <br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <font color="#33ccff">setGenModel(genmodel);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
setDirectoryURI(URI.createPlatformResourceURI(directory, true));&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; export(monitor);</font><br>
<br>
nothing strange in there.<br>
<br>
<br>
Ed Merks escribi&oacute;:
<blockquote cite="mid:fhvoc1$r3k$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Juan,<br>
<br>
Comments below.<br>
<br>
<br>
Juan Pedro Silva wrote:
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org"
type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Ed, I been trying to debug the execution of the exporter until the
point of the generation of the path with no luck.<br>
First thing is I'm running eclipse 3.2.2 and emf 2.2.3 (due to RSA
compatibility), so I don't have URI<big>.</big>createPlatformPluginURI(String
pathName, boolean encode).<big><br>
</big>I tried placing a breakpoint on
URI.createPlatformResourceURI(String pathName) to see when the path was
being generated, but seems that is not the alternative.<br>
</blockquote>
Before we had this method, has duplicate such code in quite a few
places.&nbsp; The use of platform:/plugin is correct and is done explicitly
to be able to reference things in the installed environment.<br>
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org"
type="cite"><br>
Secondly, I'm not sure which comment specifically confused you, so I'll
try to make all of them a little clearer.<big><br>
</big></blockquote>
It was your the comment about placing Ecore.xsd in a plugin folder that
confused me.<br>
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org"
type="cite">What
I did was create the plugin folder and copying the ecore
plugin in there.<br>
</blockquote>
Where though?&nbsp; Something like platform:/plugin/&lt;plugin-ID&gt;/path
should access&nbsp; "path" in the jar corresopnding the &lt;plugin-ID&gt;
installed in the target environment.&nbsp; I don't understand how it would
ever access anything else.<br>
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org"
type="cite">I
restarted eclipse, regenerated the xsd with the same result (same
schemalocation path), only that now the validator validates it
correctly (so it is not a problem of the structure of the path or that
the schema was inside a jar file or any other of such reasons). <br>
</blockquote>
I asked this before, but what is the absolute URI of the generated .xsd?<br>
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org"
type="cite"><br>
I completely agree with you in that the active plugin was still the
other one, I was just making sure it wasn't a validator problem of some
kind.<br>
Hope this clarifies my comments a little more.<br>
</blockquote>
It's still not clear to me what's wrong.&nbsp; If the path correctly
resolves (URI has a resolve method) to the right absolute path, i.e.,
platform:/plugin/org.eclipse.emf.ecore/model/Ecore.xsd, then anything
running in Eclipse creating a URL for that should find it because it
should be in the Ecore plugin's jar...<br>
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org"
type="cite">Thanks,
Ed.<br>
Regards,<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; Juan Pedro<br>
<small><br>
</small><br>
Ed Merks escribi&oacute;:
<blockquote cite="mid:fhv1de$akc$1@build.eclipse.org"
type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Juan,<br>
<br>
It's a logical location as created by this URI method:<br>
<blockquote><small>&nbsp; public static URI
createPlatformPluginURI(String
pathName, boolean encode)</small><br>
<small>&nbsp; {</small><br>
<small>&nbsp;&nbsp;&nbsp; return createPlatformURI("platform:/plugin",
"platform:/plugin/", pathName, encode);</small><br>
<small>&nbsp; }</small><br>
</blockquote>
It should access the contents of the installed plugin in the running
environment.&nbsp; So your "plugin" folder comment kind of confuses me...<br>
<br>
<br>
Juan Pedro Silva wrote:
<blockquote cite="mid:fhv0lo$8j7$1@build.eclipse.org"
type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Ed, while posting on webtools newsgroup, I noticed the generated path:<br>
<br>
schemaLocation="../../../../../../../<font color="#ff0000"><b>plugin</b></font>/org.eclipse.emf.ecore/model/Ecore.xsd "<br>
<br>
refers to a wrong folder <i>"plugin"</i> instead of <i>"plugins"</i>,
which is the correct folder. It's odd somehow, as
the schema was generated by the EMF Exporter wizard, not by me.<br>
I tried placing the ecore jar file in a new "plugin" folder, and
everything
works fine.<br>
<br>
What is strange is that, should it be a miss-configuration of my
environmental variables, I should be getting error almost everywhere
else where I needed Ecore.xsd.<br>
The other strange thing is that this is not a variable a user normally
sets, is it?, it is platform-generated..<br>
<br>
I hold for your comments.<br>
Regards,<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; Juan Pedro<br>
<br>
Juan Pedro Silva escribi&oacute;:
<blockquote cite="mid:fhuq01$uis$1@build.eclipse.org"
type="cite">Ed,
comments inline. <br>
<br>
Ed Merks escribi&oacute;: <br>
<blockquote type="cite">
<blockquote type="cite">-The validation is taking
place
in
a
eclipse environment, selecting the file (already in the workspace) in
the package explorer, right-click/validate. So it goes down to one of
two options: either I'm having some miss-configuration, or the
validation rules don't allow such a path expression. I placed Ecore.xsd
in the same folder and shortened the path to "./" and it worked fine. <br>
</blockquote>
So likely WTP is providing that support.&nbsp; What is the exact absolute
location URI of the schema that contains this relative path?&nbsp; Is it
really that many levels deep that the relative path should resolve to
the correct absolute path?&nbsp; I suppose having to modify one import on
the result isn't too bad, just kind of annoying... <br>
</blockquote>
By counting the segments I get that it is the proper path to Ecore.xsd
(seven ../ segments take me to the "eclipse" folder, and the rest of
the path takes to the correspondent plugin and file). I'll turn to the
webtools newsgroup and ask there about the depth of the path. <br>
<blockquote type="cite">
<blockquote type="cite">. The available type options
while
modeling
UML are UML, Ecore, Default, Standard, the ones available in the
current model, and the ones available in the applied profiles, so I
cannot choose XML Schema data types while editing the models, and would
have to make the transformation by code on a later step. <br>
</blockquote>
I guess you'd need some different UML provide to access the XML Type
package's types.&nbsp; I don't know enough about UML for how to create that.
<br>
</blockquote>
Ok, I may post in the UML newsgroup about this if I can't solve the
issue with what I'm told in the webtools newsgroup. <br>
Thanks again for your quick replies and all your help. <br>
Regards, <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Juan Pedro <br>
</blockquote>
</blockquote>
<br>
</blockquote>
</blockquote>
<br>
</blockquote>
</blockquote>
<br>
</blockquote>
<br>
</blockquote>
</body>
</html>

--------------000708090104040107050205
Content-Type: image/jpeg
Content-Transfer-Encoding: base64
Content-ID: <part1.02000403.07060306@gmail.com>

/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDABALDA4MChAODQ4SERATGCgaGBYW GDEjJR0oOjM9
PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgV GC8aGi9jQjhC
Y2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2Nj Y2NjY2P/wAAR
CADaAPsDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQ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nDBtzbt2
4KGzk852rnPX8TWdvf8AvN+dG9/7zfnRYPaM0RZWWwrliSQd5nYuMZxh87h1 PQ9z6mp4vJt0
jWIrtjdWxuyThsnk9SeeT1JrH3v/AHm/Oje/95vzosHtGdLdT6PdyCSdnJxt YKJFDr/dcDAY
cnhsjk+poefR5LoXDM+/IYgCQIzDoxT7pIwMEjIwPQVzW9/7zfnRvf8AvN+d Fg9ozo0k0RER
F3BUSJFG2TgRNuQfgfz75qNU0JZVkBlJXGxS0pVAGVgFU8KMovAAHAHSsDe/ 95vzo3v/AHm/
Oiwe0Z0c8miXBmMu4mbd5hCyAsGQIRx2KqvHTIB6gGgyaIZnkbc+/dlHWRo8 tkMQh+UE5OSB
k7j6muc3v/eb86N7/wB5vzosHtGdDJPYLZNb2jsWd1dmkLEnBByzNyeAB1PY dBxUuIbe52+Y
5DLnDJKUYZ6jKkHHTj2HpWTvf+8350b3/vN+dFg9ozRW2h+2Rzs8OyBCkCKo Hlg4zzn2wMYw
CRzTjaWRjij2rtij8pPnPyr8vQ56/Kpz1GKzN7/3m/Oje/8Aeb86LB7RmhLp 9hM7NICQ27K+
cwX5gQx25wCQTzjuTUrrCm9oyu6SRXf5s5I2jP5AflWVvf8AvN+dG9/7zfnR YPaM3PMT++v5
0eYn99fzrD3v/eb86N7/AN5vzosHtGbnmJ/fX86PMT++v51h73/vN+dG9/7z fnRYPaM3PMT+
+v50eYn99fzrD3v/AHm/Oje/95vzosHtGbnmJ/fX86PMT++v51h73/vN+dG9 /wC8350WD2jN
zzE/vr+dHmJ/fX86w97/AN5vzo3v/eb86LB7Rm55if31/OjzE/vr+dYe9/7z fnRvf+8350WD
2jNzzE/vr+dHmJ/fX86w97/3m/Oje/8Aeb86LB7Rn//Z
--------------000708090104040107050205--
Re: Problems with Ecore schemalocation while generating xsd with wizard. [message #414798 is a reply to message #414796] Wed, 21 November 2007 16:47 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33143
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------060300090900020508060607
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Juan,

If you open a bugzilla, I'll commit this change for EMF/XSD 2.4.


Juan Pedro Silva wrote:
> Ed, platform:/plugin is validates correctly using the WTP validator.
> Thank you.
>
> Ed Merks escribi


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Problems with Ecore schemalocation while generating xsd with wizard. [message #414801 is a reply to message #414794] Wed, 21 November 2007 17:35 Go to previous messageGo to next message
Juan Pedro Silva is currently offline Juan Pedro SilvaFriend
Messages: 258
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------030404050806020209090700
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ed, I was pointed by Dave Carver to add on bugzilla <a
class="moz-txt-link-freetext"
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=196353">https://bugs.eclipse.org/bugs/show_bug.cgi?id=196353</a>
for this issue.<br>
Regards,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; Juan Pedro<br>
<br>
Juan Pedro Silva escribi&oacute;:
<blockquote cite="mid:fi1mco$vv1$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
Thanks again Ed for your answer.<br>
I'll post your remarks in the thread I had opened in the webtools
newsgroup to allow them to comment on this, mainly because the version
I'm using is not their latest, and this may have been changed already.<br>
<br>
If the time comes to open a bugzilla I'll post the number here.<br>
<br>
Thanks again for all your help.<br>
Regards,<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; Juan Pedro<br>
<br>
P.S.: Your patience tends to infinity if not already infinite. <span
class="moz-smiley-s1"><span> :-) </span></span><br>
<br>
Ed Merks escribi&oacute;:
<blockquote cite="mid:fi1l7f$rfe$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Juan,<br>
<br>
Comments below.<br>
<br>
Juan Pedro Silva wrote:
<blockquote cite="mid:fi1j6h$b67$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
Ed, first of all, apologies are due. I haven't interpreted you as of&nbsp;
"plugin" being a logical reference until just your previous post (the
one with the code changes to WSDExporter).<br>
I'm sorry to make you feel frustrated. It looks like you where talking
about oranges and I was talking about apples. I'm sorry. I'm also sorry
I haven't answer your questions about the validator so far. Is not at
all my intention to exasperate someone that is trying to help you, or
to make him waste time trying to explain something that is not being
correctly understood.<br>
</blockquote>
Don't worry.&nbsp; It's okay.&nbsp; I should have pretended to be infinitely
patient rather than expressing frustration. I know this is confusing
stuff.<br>
<blockquote cite="mid:fi1j6h$b67$1@build.eclipse.org" type="cite"><br>
I completely agree with your relative paths comments, and yes, opening
the schema with the Sample XML Schema editor makes the imports
available. Again apologize me, as I was wrongly interpreting the
"plugin" part of the path as a physical folder and not as a logical
variable. Emailing can sometimes be tricky for understanding someone
correctly.<br>
</blockquote>
Yep, there's lots of room for confusion.<br>
<blockquote cite="mid:fi1j6h$b67$1@build.eclipse.org" type="cite"><br>
As for the subject in hands: <br>
-I'm using the (org.eclipse.wst.xsd.core.internal.validation.)
XSDValidator as provided by WTP 1.5.5. It uses inner class
XSDEntityResolver, which in turn uses
org.eclipse.wst.common.uriresolver.internal.ExtensibleURIRes olver. <br>
<br>
-the URI to the generated file as used by the validator is <a
moz-do-not-send="true" class="moz-txt-link-freetext"
href=" file:///J:/Programas/Eclipse_Para_RSA/eclipse/ws_Europa/juan .pedro/WSDL_Output/PruebaProfSegm/WSDL_Output/Schemas/BlankM odel.xsd"> file:///J:/Programas/Eclipse_Para_RSA/eclipse/ws_Europa/juan .pedro/WSDL_Output/PruebaProfSegm/WSDL_Output/Schemas/BlankM odel.xsd</a><br>
</blockquote>
I see.&nbsp; It seems bad to me to use a physical (file:) location URI which
will generally cause problems for relative paths that span projects in
the workspace (because each project could be in a different location
rather than be physically nested in the workspace) and will not work at
all for resources backed by other EFS implementations.&nbsp; Perhaps you
should open a bugzilla against them and let me know the number so I can
track it and follow up...<br>
<blockquote cite="mid:fi1j6h$b67$1@build.eclipse.org" type="cite"><br>
I'm sorry for causing any inconvenience.<br>
</blockquote>
Sorry for not being more patient.<br>
<blockquote cite="mid:fi1j6h$b67$1@build.eclipse.org" type="cite">Regards,<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; Juan Pedro<br>
<br>
<br>
<br>
<br>
<br>
<br>
Ed Merks escribi&oacute;:
<blockquote cite="mid:fi1dte$eq6$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Juan,<br>
<br>
Comments below.<br>
<br>
Juan Pedro Silva wrote:
<blockquote cite="mid:fi1dar$d1d$1@build.eclipse.org"
type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Ed, the problem would be that the intention of the WSDL is for external
services to be able to communicate with this service.</blockquote>
For sure.<br>
<blockquote cite="mid:fi1dar$d1d$1@build.eclipse.org"
type="cite">So,
the actual
location of the file should be right, regardless of eclipse being able
to find it somewhere else (eclipse may not be running at all while the
service is being executed).</blockquote>
Being right is a relative term when using relative paths. If you
develop the resource locally and later deploy it to a web page that
obviously has a different URI to access it, the relative location that
works in the former situation might not work in the later situation.&nbsp;
This likely means you need to change schemaLocations as part of
deploying.<br>
<blockquote cite="mid:fi1dar$d1d$1@build.eclipse.org"
type="cite">So
I
believe the XSD validator provided by
WTP just tries to find Ecore.xsd based on the schemalocation path, as
any other external service would. I believe this is the right approach.<br>
</blockquote>
Yes, but the question remains (after asking many times) what absolute
URI does it use?&nbsp; The interpretation of a relative path is as the name
implies relative to the path of the containing document, so a relative
path that works well in one context might not work well in another.<br>
<blockquote cite="mid:fi1dar$d1d$1@build.eclipse.org"
type="cite"><br>
The relative path is right in respect to the depth of the "../"
segments, but incorrect regarding the folder: the eclipse folder in
which all plugins are installed is eclipse/plugins/ , not
eclipse/plugin/ as is being generated in the schema. </blockquote>
I'm not sure I can be more clear on this point.&nbsp; platform:/plugin/ and
platform:/resource are symbolic URIs that work as real live URLs within
Eclipse.&nbsp; There is no relationship to the symbolic URIs and the
physical name of the install location, the workspace location, or the
folder name where plugins are installed.&nbsp; None.<br>
<blockquote cite="mid:fi1dar$d1d$1@build.eclipse.org"
type="cite">I
keep getting the
same schemalocation path (with different number of "../" segments)
regardless of the selected output folder: I allways get the ../<font
color="#ff0000"><b>plugin</b><font color="#000000">/.. folder in the
path, instead of the correct ../plugins/ one. I just realized you get
the same in your generated schema too!!:<br>
</font></font></blockquote>
I hope I've been clear but if not yet, this is correct behavior and
works correctly in the context of the XSD model and the XSD editor I
provide. But you are using it in a different context, although you're
still not made clear what that context is.<br>
<blockquote cite="mid:fi1dar$d1d$1@build.eclipse.org"
type="cite"><font color="#ff0000"><font color="#000000"><br>
</font></font><small>&lt;?xml version="1.0"
encoding="UTF-8"?&gt;</small><br>
<small>&lt;xsd:schema xmlns:xsd=<a moz-do-not-send="true"
class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema">"http://www.w3.org/2001/XMLSchema"</a>
xmlns:ecore=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2002/Ecore">"http://www.eclipse.org/emf/2002/Ecore"</a>
xmlns:change=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2003/Change">"http://www.eclipse.org/emf/2003/Change"</a>
ecore:nsPrefix="change" ecore:package="org.eclipse.emf.ecore.change"
targetNamespace=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2003/Change">"http://www.eclipse.org/emf/2003/Change"</a>&gt;</small><br>
<small>&nbsp; &lt;xsd:import
namespace=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2002/Ecore">"http://www.eclipse.org/emf/2002/Ecore"</a>
<font color="#ff0000">schemaLocation="../../../plugin/org.eclipse.emf.ecore/model/Ecore.xsd "</font>/&gt;</small><br>
<font color="#ff0000"><font color="#000000"><br>
So it's not a problem of the validator not being able to resolve the
plugin location from within eclipse (it shouldn't take this approach),
but the XSDExporter generating a wrong path for it. </font></font></blockquote>
The path is correct.<br>
<blockquote cite="mid:fi1dar$d1d$1@build.eclipse.org"
type="cite"><font color="#ff0000"><font color="#000000">As we both get
the
same wrong path, it is also not a configuration issue, but rather some
bug in the code, I should say.<br>
</font></font></blockquote>
No, you keep making assumptions about these things corresponding to
physical names in the file system and I keep trying to explain they are
logical URIs supported by Eclipse.<br>
<blockquote cite="mid:fi1dar$d1d$1@build.eclipse.org"
type="cite"><font color="#ff0000"><font color="#000000"><br>
What's your opinion?.<br>
</font></font></blockquote>
I'm a little frustrated since questions like what validator are you
using don't seem to get answered.&nbsp; If you open the .xsd, as I
suggested, with the Sample XML Schema editor, you'll see that it works
correctly.&nbsp; That's the best I can accomplish in the base framework.&nbsp; If
that doesn't work in your context, then you can modify the
schemaLocation and make the Ecore.xsd available in the location that
makes sense for your context.<br>
<blockquote cite="mid:fi1dar$d1d$1@build.eclipse.org"
type="cite"><font color="#ff0000"><font color="#000000"><br>
<br>
<br>
</font></font><br>
Ed Merks escribi&oacute;:
<blockquote cite="mid:fi1apt$sn9$1@build.eclipse.org"
type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Juan,<br>
<br>
Just using new
URL(" platform:/plugin/org.eclipse.emf.ecore/model/Ecore.xsd).open Stream()
should successfully read the XML Schema from the plugin regardless of
it's physical install location.&nbsp; More comments below.<br>
<br>
<br>
Juan Pedro Silva wrote:
<blockquote cite="mid:fi19kh$obl$1@build.eclipse.org"
type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
Hi Ed. I tyook a little longer to try some code out so I could give you
some more clues on what is going on.<br>
I tried the attached code to find the location of the plugin. The
output of the System.out.println() lines was the following:<br>
<br>
<font color="#33ccff">Bundle Location:<i> <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:update@plugins/org.eclipse.emf.ecore_2.2.3.v200705141058.jar">update@plugins/org.eclipse.emf.ecore_2.2.3.v200705141058.jar</a><br>
</i>Path: <i>J:/Programas/Eclipse_Para_RSA/eclipse/<a
moz-do-not-send="true" class="moz-txt-link-freetext"
href=" file:J:/Programas/Eclipse_Para_RSA/eclipse/plugins/org.eclip se.emf.ecore_2.2.3.v200705141058.jar%21/model/Ecore.xsd "> file:J:/Programas/Eclipse_Para_RSA/eclipse/plugins/org.eclip se.emf.ecore_2.2.3.v200705141058.jar!/model/Ecore.xsd </a><br>
</i>URI:<i>&nbsp;
platform:/resource/J:/Programas/Eclipse_Para_RSA/eclipse/<a
moz-do-not-send="true" class="moz-txt-link-freetext"
href=" file:J:/Programas/Eclipse_Para_RSA/eclipse/plugins/org.eclip se.emf.ecore_2.2.3.v200705141058.jar%21/model/Ecore.xsd "> file:J:/Programas/Eclipse_Para_RSA/eclipse/plugins/org.eclip se.emf.ecore_2.2.3.v200705141058.jar!/model/Ecore.xsd </a></i></font><br>
<br>
So I guess the plugin is being resolved correctly and the problem might
be somewhere in the XSD generation (while it makes the schemalocation
path).<br>
</blockquote>
Certainly the relative path looks correct to me assuming that the
absolute path of the generated XSD is really that many levels deep.&nbsp;
For example, if I generate Change.xsd for the EMF's change model it
generates this:<br>
<blockquote><small>&lt;?xml version="1.0"
encoding="UTF-8"?&gt;</small><br>
<small>&lt;xsd:schema xmlns:xsd=<a moz-do-not-send="true"
class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema">"http://www.w3.org/2001/XMLSchema"</a>
xmlns:ecore=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2002/Ecore">"http://www.eclipse.org/emf/2002/Ecore"</a>
xmlns:change=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2003/Change">"http://www.eclipse.org/emf/2003/Change"</a>
ecore:nsPrefix="change" ecore:package="org.eclipse.emf.ecore.change"
targetNamespace=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2003/Change">"http://www.eclipse.org/emf/2003/Change"</a>&gt;</small><br>
<small>&nbsp; &lt;xsd:import
namespace=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2002/Ecore">"http://www.eclipse.org/emf/2002/Ecore"</a>
schemaLocation="../../../plugin/org.eclipse.emf.ecore/model/Ecore.xsd "/&gt;<br>
</small></blockquote>
And I know it's working correctly because if I open the .xsd with the
"Sample XML Schema Editor" (the one provided by XSD, not the one
provided by WTP which is much better and isn't just a sample), it
doesn't complain about unresolved imports and on the Semantics tab I
can see that the imports from Ecore.xsd are present:<br>
<blockquote><img src="cid:part1.02070708.08000501@gmail.com"
alt=""><br>
</blockquote>
In this case the .xsd is generated to
platform:/resource/org.eclipse.emf.ecore.change/model/Change .xsd so the
three ".." are exactly right.<br>
<br>
<blockquote cite="mid:fi19kh$obl$1@build.eclipse.org"
type="cite">When
I talked about generating a new "plugin" folder and copying the
jar file in there so the validator could find the referenced schema, I
meant creating it so that the file in the path:<br>
<br>
<font color="#33ccff"><i>J:/Programas/Eclipse_Para_RSA/eclipse/plugin/ </i></font><i><font
color="#33ccff">org.eclipse.emf.ecore/model/Ecore.xsd</font ><br>
<br>
</i>existed. I guess the validator only checks if you can
find
the
file
in the specified path, not if it's consistent with the active plugin
and all.<br>
</blockquote>
I guess the question here is what validator are you using and most
importantly one URI is it using as load the .xsd.&nbsp; If it's not using
platform:/resource/whatever, but some other absolute URI, then the
relative path will not resolve to platform:/plugin/whatever, and that's
what it's sounding like.<br>
<blockquote cite="mid:fi19kh$obl$1@build.eclipse.org"
type="cite">The
path for the generated xsd is:<br>
<br>
<font color="#33ccff"><i> J:\Programas\Eclipse_Para_RSA\eclipse\ws_Europa\juan.pedro\W SDL_Output\schemas\ProblemasEcorePath\WSDL_Output\Schemas\Bl ankModel.xsd </i></font><br>
<br>
</blockquote>
This is the file system path, but the generator is using a URI of the
form platform:/resource...<br>
<blockquote cite="mid:fi19kh$obl$1@build.eclipse.org"
type="cite">I
hope this helps pin-pointing the problem.<br>
</blockquote>
I think we are getting closer.&nbsp; I think an important question to answer
is what URI is being used to open the resource in the validator.&nbsp; If
it's of the form <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="file:/actual-location-on-filesystem">file:/actual-location-on-filesystem </a>
rather than
platform:/resource/location-in-workspace then it's a problem (and that
also doesn't seem right to me, since this bypasses the workspace and
doesn't fully support EFS implementations of the workspace which might
supply resources that aren't actually in the file system).<br>
<blockquote cite="mid:fi19kh$obl$1@build.eclipse.org"
type="cite">Regards,<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Juan Pedro<br>
<br>
P.S.: Just in case, for generating the schema, I have a XSDExporter and
call: <br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <font color="#33ccff">setGenModel(genmodel);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
setDirectoryURI(URI.createPlatformResourceURI(directory, true));&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; export(monitor);</font><br>
<br>
nothing strange in there.<br>
<br>
<br>
Ed Merks escribi&oacute;:
<blockquote cite="mid:fhvoc1$r3k$1@build.eclipse.org"
type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Juan,<br>
<br>
Comments below.<br>
<br>
<br>
Juan Pedro Silva wrote:
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org"
type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Ed, I been trying to debug the execution of the exporter until the
point of the generation of the path with no luck.<br>
First thing is I'm running eclipse 3.2.2 and emf 2.2.3 (due to RSA
compatibility), so I don't have URI<big>.</big>createPlatformPluginURI(String
pathName, boolean encode).<big><br>
</big>I tried placing a breakpoint on
URI.createPlatformResourceURI(String pathName) to see when the path was
being generated, but seems that is not the alternative.<br>
</blockquote>
Before we had this method, has duplicate such code in quite a few
places.&nbsp; The use of platform:/plugin is correct and is done explicitly
to be able to reference things in the installed environment.<br>
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org"
type="cite"><br>
Secondly, I'm not sure which comment specifically confused you, so I'll
try to make all of them a little clearer.<big><br>
</big></blockquote>
It was your the comment about placing Ecore.xsd in a plugin folder that
confused me.<br>
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org"
type="cite">What
I did was create the plugin folder and copying the ecore
plugin in there.<br>
</blockquote>
Where though?&nbsp; Something like platform:/plugin/&lt;plugin-ID&gt;/path
should access&nbsp; "path" in the jar corresopnding the &lt;plugin-ID&gt;
installed in the target environment.&nbsp; I don't understand how it would
ever access anything else.<br>
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org"
type="cite">I
restarted eclipse, regenerated the xsd with the same result (same
schemalocation path), only that now the validator validates it
correctly (so it is not a problem of the structure of the path or that
the schema was inside a jar file or any other of such reasons). <br>
</blockquote>
I asked this before, but what is the absolute URI of the generated .xsd?<br>
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org"
type="cite"><br>
I completely agree with you in that the active plugin was still the
other one, I was just making sure it wasn't a validator problem of some
kind.<br>
Hope this clarifies my comments a little more.<br>
</blockquote>
It's still not clear to me what's wrong.&nbsp; If the path correctly
resolves (URI has a resolve method) to the right absolute path, i.e.,
platform:/plugin/org.eclipse.emf.ecore/model/Ecore.xsd, then anything
running in Eclipse creating a URL for that should find it because it
should be in the Ecore plugin's jar...<br>
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org"
type="cite">Thanks,
Ed.<br>
Regards,<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; Juan Pedro<br>
<small><br>
</small><br>
Ed Merks escribi&oacute;:
<blockquote cite="mid:fhv1de$akc$1@build.eclipse.org"
type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Juan,<br>
<br>
It's a logical location as created by this URI method:<br>
<blockquote><small>&nbsp; public static URI
createPlatformPluginURI(String
pathName, boolean encode)</small><br>
<small>&nbsp; {</small><br>
<small>&nbsp;&nbsp;&nbsp; return
createPlatformURI("platform:/plugin",
"platform:/plugin/", pathName, encode);</small><br>
<small>&nbsp; }</small><br>
</blockquote>
It should access the contents of the installed plugin in the running
environment.&nbsp; So your "plugin" folder comment kind of confuses me...<br>
<br>
<br>
Juan Pedro Silva wrote:
<blockquote
cite="mid:fhv0lo$8j7$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Ed, while posting on webtools newsgroup, I noticed the generated path:<br>
<br>
schemaLocation="../../../../../../../<font color="#ff0000"><b>plugin</b></font>/org.eclipse.emf.ecore/model/Ecore.xsd "<br>
<br>
refers to a wrong folder <i>"plugin"</i> instead of <i>"plugins"</i>,
which is the correct folder. It's odd somehow, as
the schema was generated by the EMF Exporter wizard, not by me.<br>
I tried placing the ecore jar file in a new "plugin" folder, and
everything
works fine.<br>
<br>
What is strange is that, should it be a miss-configuration of my
environmental variables, I should be getting error almost everywhere
else where I needed Ecore.xsd.<br>
The other strange thing is that this is not a variable a user normally
sets, is it?, it is platform-generated..<br>
<br>
I hold for your comments.<br>
Regards,<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; Juan Pedro<br>
<br>
Juan Pedro Silva escribi&oacute;:
<blockquote
cite="mid:fhuq01$uis$1@build.eclipse.org" type="cite">Ed,
comments inline. <br>
<br>
Ed Merks escribi&oacute;: <br>
<blockquote type="cite">
<blockquote type="cite">-The validation is
taking
place
in
a
eclipse environment, selecting the file (already in the workspace) in
the package explorer, right-click/validate. So it goes down to one of
two options: either I'm having some miss-configuration, or the
validation rules don't allow such a path expression. I placed Ecore.xsd
in the same folder and shortened the path to "./" and it worked fine. <br>
</blockquote>
So likely WTP is providing that support.&nbsp; What is the exact absolute
location URI of the schema that contains this relative path?&nbsp; Is it
really that many levels deep that the relative path should resolve to
the correct absolute path?&nbsp; I suppose having to modify one import on
the result isn't too bad, just kind of annoying... <br>
</blockquote>
By counting the segments I get that it is the proper path to Ecore.xsd
(seven ../ segments take me to the "eclipse" folder, and the rest of
the path takes to the correspondent plugin and file). I'll turn to the
webtools newsgroup and ask there about the depth of the path. <br>
<blockquote type="cite">
<blockquote type="cite">. The available type
options
while
modeling
UML are UML, Ecore, Default, Standard, the ones available in the
current model, and the ones available in the applied profiles, so I
cannot choose XML Schema data types while editing the models, and would
have to make the transformation by code on a later step. <br>
</blockquote>
I guess you'd need some different UML provide to access the XML Type
package's types.&nbsp; I don't know enough about UML for how to create that.
<br>
</blockquote>
Ok, I may post in the UML newsgroup about this if I can't solve the
issue with what I'm told in the webtools newsgroup. <br>
Thanks again for your quick replies and all your help. <br>
Regards, <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Juan Pedro <br>
</blockquote>
</blockquote>
<br>
</blockquote>
</blockquote>
<br>
</blockquote>
</blockquote>
<br>
</blockquote>
</blockquote>
<br>
</blockquote>
</blockquote>
<br>
</blockquote>
</blockquote>
</body>
</html>

--------------030404050806020209090700
Content-Type: image/jpeg
Content-Transfer-Encoding: base64
Content-ID: <part1.02070708.08000501@gmail.com>

/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDABALDA4MChAODQ4SERATGCgaGBYW GDEjJR0oOjM9
PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgV GC8aGi9jQjhC
Y2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2Nj Y2NjY2P/wAAR
CADaAPsDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcI CQoL/8QAtRAA
AgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS 0fAkM2JyggkK
FhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1 dnd4eXqDhIWG
h4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW 19jZ2uHi4+Tl
5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcI CQoL/8QAtREA
AgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMz UvAVYnLRChYk
NOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0 dXZ3eHl6goOE
hYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU 1dbX2Nna4uPk
5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwDaA84sX+4DgLnrj1/woSKJ yQkEbME3lQU3
BcZzjOe4p0H3D/vt/wChGoJJPIYSRXMcEj20PD5YsScNtHPOEUfdPQdKFFyd kF7EywwMMiKP
H+6KXyIf+eUf/fIpIG3qWLKxIQllGAxKKScYFUVt7We51CW7jjbyZQF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dG9/7z fnRYPaM3PMT+
+v50eYn99fzrD3v/AHm/Oje/95vzosHtGbnmJ/fX86PMT++v51h73/vN+dG9 /wC8350WD2jN
zzE/vr+dHmJ/fX86w97/AN5vzo3v/eb86LB7Rm55if31/OjzE/vr+dYe9/7z fnRvf+8350WD
2jNzzE/vr+dHmJ/fX86w97/3m/Oje/8Aeb86LB7Rn//Z
--------------030404050806020209090700--
Re: Problems with Ecore schemalocation while generating xsd with wizard. [message #414804 is a reply to message #414798] Wed, 21 November 2007 18:09 Go to previous message
Juan Pedro Silva is currently offline Juan Pedro SilvaFriend
Messages: 258
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------030100090607000102080006
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ed: bugzilla <a class="moz-txt-link-freetext" href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=210561">https://bugs.eclipse.org/bugs/show_bug.cgi?id=210561</a>
opened.<br>
Thanks a lot.<br>
<br>
Ed Merks escribi&oacute;:
<blockquote cite="mid:fi1ng6$39t$2@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
Juan,<br>
<br>
If you open a bugzilla, I'll commit this change for EMF/XSD 2.4.<br>
<br>
<br>
Juan Pedro Silva wrote:
<blockquote cite="mid:fi1n27$1vl$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
Ed, platform:/plugin is validates correctly using the WTP validator.<br>
Thank you.<br>
<br>
Ed Merks escribi&oacute;:
<blockquote cite="mid:fi1cb3$8pg$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Juan,<br>
<br>
If I make this change to the exporter, then it will stop producing a
relative path between platform:/resource and platform:/plugin<br>
<blockquote><small>### Eclipse Workspace Patch 1.0</small><br>
<small>#P org.eclipse.xsd.ecore.exporter</small><br>
<small>Index:
src/org/eclipse/xsd/ecore/exporter/XSDExporter.java</small> <br>
<small> ============================================================ ======= </small><br>
<small>RCS file:
/cvsroot/modeling/org.eclipse.mdt/org.eclipse.xsd/plugins/or g.eclipse.xsd.ecore.exporter/src/org/eclipse/xsd/ecore/expor ter/XSDExporter.java,v </small><br>
<small>retrieving revision 1.7</small><br>
<small>diff -u -r1.7 XSDExporter.java</small><br>
<small>---
src/org/eclipse/xsd/ecore/exporter/XSDExporter.java&nbsp ;&nbsp;&nbsp;
28
Dec 2006 07:02:39 -0000&nbsp;&nbsp;&nbsp; 1.7</small><br>
<small>+++
src/org/eclipse/xsd/ecore/exporter/XSDExporter.java&nbsp ;&nbsp;&nbsp;
21
Nov 2007 13:34:48 -0000</small><br>
<small>@@ -107,7 +107,11 @@</small><br>
<small> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; GenPackage referencedGenPackage =
genModel.findGenPackage(referencedEPackage);</small><br>
<small> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; URI artifactURI =
getReferencedGenPackageArtifactURI(exportData, referencedGenPackage);</small><br>
<small> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; URI importLocationURI =
URI.createURI(computeSchemaLocation(xsdImport, artifactURI));</small><br>
<small> -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp; if (!schemaLocationURI.isRelative()
&amp;&amp;
schemaLocationURI.isHierarchical() &amp;&amp;
!importLocationURI.isRelative())</small><br>
<small> +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp; if (!schemaLocationURI.isRelative() &amp;&amp;</small><br>
<small> +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp; schemaLocationURI.isHierarchical()
&amp;&amp; </small><br>
<small> +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp; !importLocationURI.isRelative()
&amp;&amp;</small><br>
<small> +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp; schemaLocationURI.isPlatformResource()
==
importLocationURI.isPlatformResource() &amp;&amp;</small><br>
<small> +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp; schemaLocationURI.isPlatformPlugin() ==
importLocationURI.isPlatformPlugin())</small><br>
<small> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; {</small><br>
<small> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; importLocationURI =
importLocationURI.deresolve(schemaLocationURI, true, true, false);</small><br>
<small> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; }</small><br>
</blockquote>
I.e., it will produce this instead:<br>
<blockquote><small>&lt;?xml version="1.0" encoding="UTF-8"?&gt;</small><br>
<small>&lt;xsd:schema xmlns:xsd=<a moz-do-not-send="true"
class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema">"http://www.w3.org/2001/XMLSchema"</a>
xmlns:ecore=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2002/Ecore">"http://www.eclipse.org/emf/2002/Ecore"</a>
xmlns:change=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2003/Change">"http://www.eclipse.org/emf/2003/Change"</a>
ecore:nsPrefix="change" ecore:package="org.eclipse.emf.ecore.change"
targetNamespace=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2003/Change">"http://www.eclipse.org/emf/2003/Change"</a>&gt;</small><br>
<small>&nbsp; &lt;xsd:import
namespace=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2002/Ecore">"http://www.eclipse.org/emf/2002/Ecore"</a>
<b>schemaLocation="platform:/plugin/org.eclipse.emf.ecore/model/Ecore.xsd "</b>/&gt;</small><br>
</blockquote>
I'm not sure if that's better but it seems a bit nicer...<br>
<br>
<br>
Ed Merks wrote:
<blockquote cite="mid:fi1apt$sn9$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Juan,<br>
<br>
Just using new
URL(" platform:/plugin/org.eclipse.emf.ecore/model/Ecore.xsd).open Stream()
should successfully read the XML Schema from the plugin regardless of
it's physical install location.&nbsp; More comments below.<br>
<br>
<br>
Juan Pedro Silva wrote:
<blockquote cite="mid:fi19kh$obl$1@build.eclipse.org"
type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
Hi Ed. I tyook a little longer to try some code out so I could give you
some more clues on what is going on.<br>
I tried the attached code to find the location of the plugin. The
output of the System.out.println() lines was the following:<br>
<br>
<font color="#33ccff">Bundle Location:<i> <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:update@plugins/org.eclipse.emf.ecore_2.2.3.v200705141058.jar">update@plugins/org.eclipse.emf.ecore_2.2.3.v200705141058.jar</a><br>
</i>Path: <i>J:/Programas/Eclipse_Para_RSA/eclipse/<a
moz-do-not-send="true" class="moz-txt-link-freetext"
href=" file:J:/Programas/Eclipse_Para_RSA/eclipse/plugins/org.eclip se.emf.ecore_2.2.3.v200705141058.jar%21/model/Ecore.xsd "> file:J:/Programas/Eclipse_Para_RSA/eclipse/plugins/org.eclip se.emf.ecore_2.2.3.v200705141058.jar!/model/Ecore.xsd </a><br>
</i>URI:<i>&nbsp;
platform:/resource/J:/Programas/Eclipse_Para_RSA/eclipse/<a
moz-do-not-send="true" class="moz-txt-link-freetext"
href=" file:J:/Programas/Eclipse_Para_RSA/eclipse/plugins/org.eclip se.emf.ecore_2.2.3.v200705141058.jar%21/model/Ecore.xsd "> file:J:/Programas/Eclipse_Para_RSA/eclipse/plugins/org.eclip se.emf.ecore_2.2.3.v200705141058.jar!/model/Ecore.xsd </a></i></font><br>
<br>
So I guess the plugin is being resolved correctly and the problem might
be somewhere in the XSD generation (while it makes the schemalocation
path).<br>
</blockquote>
Certainly the relative path looks correct to me assuming that the
absolute path of the generated XSD is really that many levels deep.&nbsp;
For example, if I generate Change.xsd for the EMF's change model it
generates this:<br>
<blockquote><small>&lt;?xml version="1.0" encoding="UTF-8"?&gt;</small><br>
<small>&lt;xsd:schema xmlns:xsd=<a moz-do-not-send="true"
class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema">"http://www.w3.org/2001/XMLSchema"</a>
xmlns:ecore=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2002/Ecore">"http://www.eclipse.org/emf/2002/Ecore"</a>
xmlns:change=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2003/Change">"http://www.eclipse.org/emf/2003/Change"</a>
ecore:nsPrefix="change" ecore:package="org.eclipse.emf.ecore.change"
targetNamespace=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2003/Change">"http://www.eclipse.org/emf/2003/Change"</a>&gt;</small><br>
<small>&nbsp; &lt;xsd:import
namespace=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.eclipse.org/emf/2002/Ecore">"http://www.eclipse.org/emf/2002/Ecore"</a>
schemaLocation="../../../plugin/org.eclipse.emf.ecore/model/Ecore.xsd "/&gt;<br>
</small></blockquote>
And I know it's working correctly because if I open the .xsd with the
"Sample XML Schema Editor" (the one provided by XSD, not the one
provided by WTP which is much better and isn't just a sample), it
doesn't complain about unresolved imports and on the Semantics tab I
can see that the imports from Ecore.xsd are present:<br>
<blockquote><img src="cid:part1.08030609.01050505@gmail.com"
alt=""><br>
</blockquote>
In this case the .xsd is generated to
platform:/resource/org.eclipse.emf.ecore.change/model/Change .xsd so the
three ".." are exactly right.<br>
<br>
<blockquote cite="mid:fi19kh$obl$1@build.eclipse.org"
type="cite">When
I talked about generating a new "plugin" folder and copying the
jar file in there so the validator could find the referenced schema, I
meant creating it so that the file in the path:<br>
<br>
<font color="#33ccff"><i>J:/Programas/Eclipse_Para_RSA/eclipse/plugin/ </i></font><i><font
color="#33ccff">org.eclipse.emf.ecore/model/Ecore.xsd</font ><br>
<br>
</i>existed. I guess the validator only checks if you can
find
the
file
in the specified path, not if it's consistent with the active plugin
and all.<br>
</blockquote>
I guess the question here is what validator are you using and most
importantly one URI is it using as load the .xsd.&nbsp; If it's not using
platform:/resource/whatever, but some other absolute URI, then the
relative path will not resolve to platform:/plugin/whatever, and that's
what it's sounding like.<br>
<blockquote cite="mid:fi19kh$obl$1@build.eclipse.org"
type="cite">The
path for the generated xsd is:<br>
<br>
<font color="#33ccff"><i> J:\Programas\Eclipse_Para_RSA\eclipse\ws_Europa\juan.pedro\W SDL_Output\schemas\ProblemasEcorePath\WSDL_Output\Schemas\Bl ankModel.xsd </i></font><br>
<br>
</blockquote>
This is the file system path, but the generator is using a URI of the
form platform:/resource...<br>
<blockquote cite="mid:fi19kh$obl$1@build.eclipse.org"
type="cite">I
hope this helps pin-pointing the problem.<br>
</blockquote>
I think we are getting closer.&nbsp; I think an important question to answer
is what URI is being used to open the resource in the validator.&nbsp; If
it's of the form <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="file:/actual-location-on-filesystem">file:/actual-location-on-filesystem </a>
rather than
platform:/resource/location-in-workspace then it's a problem (and that
also doesn't seem right to me, since this bypasses the workspace and
doesn't fully support EFS implementations of the workspace which might
supply resources that aren't actually in the file system).<br>
<blockquote cite="mid:fi19kh$obl$1@build.eclipse.org"
type="cite">Regards,<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Juan Pedro<br>
<br>
P.S.: Just in case, for generating the schema, I have a XSDExporter and
call: <br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <font color="#33ccff">setGenModel(genmodel);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
setDirectoryURI(URI.createPlatformResourceURI(directory, true));&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; export(monitor);</font><br>
<br>
nothing strange in there.<br>
<br>
<br>
Ed Merks escribi&oacute;:
<blockquote cite="mid:fhvoc1$r3k$1@build.eclipse.org"
type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Juan,<br>
<br>
Comments below.<br>
<br>
<br>
Juan Pedro Silva wrote:
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org"
type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Ed, I been trying to debug the execution of the exporter until the
point of the generation of the path with no luck.<br>
First thing is I'm running eclipse 3.2.2 and emf 2.2.3 (due to RSA
compatibility), so I don't have URI<big>.</big>createPlatformPluginURI(String
pathName, boolean encode).<big><br>
</big>I tried placing a breakpoint on
URI.createPlatformResourceURI(String pathName) to see when the path was
being generated, but seems that is not the alternative.<br>
</blockquote>
Before we had this method, has duplicate such code in quite a few
places.&nbsp; The use of platform:/plugin is correct and is done explicitly
to be able to reference things in the installed environment.<br>
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org"
type="cite"><br>
Secondly, I'm not sure which comment specifically confused you, so I'll
try to make all of them a little clearer.<big><br>
</big></blockquote>
It was your the comment about placing Ecore.xsd in a plugin folder that
confused me.<br>
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org"
type="cite">What
I did was create the plugin folder and copying the ecore
plugin in there.<br>
</blockquote>
Where though?&nbsp; Something like platform:/plugin/&lt;plugin-ID&gt;/path
should access&nbsp; "path" in the jar corresopnding the &lt;plugin-ID&gt;
installed in the target environment.&nbsp; I don't understand how it would
ever access anything else.<br>
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org"
type="cite">I
restarted eclipse, regenerated the xsd with the same result (same
schemalocation path), only that now the validator validates it
correctly (so it is not a problem of the structure of the path or that
the schema was inside a jar file or any other of such reasons). <br>
</blockquote>
I asked this before, but what is the absolute URI of the generated .xsd?<br>
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org"
type="cite"><br>
I completely agree with you in that the active plugin was still the
other one, I was just making sure it wasn't a validator problem of some
kind.<br>
Hope this clarifies my comments a little more.<br>
</blockquote>
It's still not clear to me what's wrong.&nbsp; If the path correctly
resolves (URI has a resolve method) to the right absolute path, i.e.,
platform:/plugin/org.eclipse.emf.ecore/model/Ecore.xsd, then anything
running in Eclipse creating a URL for that should find it because it
should be in the Ecore plugin's jar...<br>
<blockquote cite="mid:fhv3t2$jj6$1@build.eclipse.org"
type="cite">Thanks,
Ed.<br>
Regards,<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; Juan Pedro<br>
<small><br>
</small><br>
Ed Merks escribi&oacute;:
<blockquote cite="mid:fhv1de$akc$1@build.eclipse.org"
type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Juan,<br>
<br>
It's a logical location as created by this URI method:<br>
<blockquote><small>&nbsp; public static URI
createPlatformPluginURI(String
pathName, boolean encode)</small><br>
<small>&nbsp; {</small><br>
<small>&nbsp;&nbsp;&nbsp; return
createPlatformURI("platform:/plugin",
"platform:/plugin/", pathName, encode);</small><br>
<small>&nbsp; }</small><br>
</blockquote>
It should access the contents of the installed plugin in the running
environment.&nbsp; So your "plugin" folder comment kind of confuses me...<br>
<br>
<br>
Juan Pedro Silva wrote:
<blockquote cite="mid:fhv0lo$8j7$1@build.eclipse.org"
type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Ed, while posting on webtools newsgroup, I noticed the generated path:<br>
<br>
schemaLocation="../../../../../../../<font color="#ff0000"><b>plugin</b></font>/org.eclipse.emf.ecore/model/Ecore.xsd "<br>
<br>
refers to a wrong folder <i>"plugin"</i> instead of <i>"plugins"</i>,
which is the correct folder. It's odd somehow, as
the schema was generated by the EMF Exporter wizard, not by me.<br>
I tried placing the ecore jar file in a new "plugin" folder, and
everything
works fine.<br>
<br>
What is strange is that, should it be a miss-configuration of my
environmental variables, I should be getting error almost everywhere
else where I needed Ecore.xsd.<br>
The other strange thing is that this is not a variable a user normally
sets, is it?, it is platform-generated..<br>
<br>
I hold for your comments.<br>
Regards,<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; Juan Pedro<br>
<br>
Juan Pedro Silva escribi&oacute;:
<blockquote cite="mid:fhuq01$uis$1@build.eclipse.org"
type="cite">Ed,
comments inline. <br>
<br>
Ed Merks escribi&oacute;: <br>
<blockquote type="cite">
<blockquote type="cite">-The validation is taking
place
in
a
eclipse environment, selecting the file (already in the workspace) in
the package explorer, right-click/validate. So it goes down to one of
two options: either I'm having some miss-configuration, or the
validation rules don't allow such a path expression. I placed Ecore.xsd
in the same folder and shortened the path to "./" and it worked fine. <br>
</blockquote>
So likely WTP is providing that support.&nbsp; What is the exact absolute
location URI of the schema that contains this relative path?&nbsp; Is it
really that many levels deep that the relative path should resolve to
the correct absolute path?&nbsp; I suppose having to modify one import on
the result isn't too bad, just kind of annoying... <br>
</blockquote>
By counting the segments I get that it is the proper path to Ecore.xsd
(seven ../ segments take me to the "eclipse" folder, and the rest of
the path takes to the correspondent plugin and file). I'll turn to the
webtools newsgroup and ask there about the depth of the path. <br>
<blockquote type="cite">
<blockquote type="cite">. The available type
options
while
modeling
UML are UML, Ecore, Default, Standard, the ones available in the
current model, and the ones available in the applied profiles, so I
cannot choose XML Schema data types while editing the models, and would
have to make the transformation by code on a later step. <br>
</blockquote>
I guess you'd need some different UML provide to access the XML Type
package's types.&nbsp; I don't know enough about UML for how to create that.
<br>
</blockquote>
Ok, I may post in the UML newsgroup about this if I can't solve the
issue with what I'm told in the webtools newsgroup. <br>
Thanks again for your quick replies and all your help. <br>
Regards, <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Juan Pedro <br>
</blockquote>
</blockquote>
<br>
</blockquote>
</blockquote>
<br>
</blockquote>
</blockquote>
<br>
</blockquote>
<br>
</blockquote>
</blockquote>
<br>
</blockquote>
</body>
</html>

--------------030100090607000102080006
Content-Type: image/jpeg
Content-Transfer-Encoding: base64
Content-ID: <part1.08030609.01050505@gmail.com>

/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDABALDA4MChAODQ4SERATGCgaGBYW GDEjJR0oOjM9
PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgV GC8aGi9jQjhC
Y2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2Nj Y2NjY2P/wAAR
CADaAPsDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcI CQoL/8QAtRAA
AgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS 0fA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jWIrtjdWxuyThsnk9SeeT1JrH3v/AHm/Oje/95vzosHtGdLdT6PdyCSdnJxt YKJFDr/dcDAY
cnhsjk+poefR5LoXDM+/IYgCQIzDoxT7pIwMEjIwPQVzW9/7zfnRvf8AvN+d Fg9ozo0k0RER
F3BUSJFG2TgRNuQfgfz75qNU0JZVkBlJXGxS0pVAGVgFU8KMovAAHAHSsDe/ 95vzo3v/AHm/
Oiwe0Z0c8miXBmMu4mbd5hCyAsGQIRx2KqvHTIB6gGgyaIZnkbc+/dlHWRo8 tkMQh+UE5OSB
k7j6muc3v/eb86N7/wB5vzosHtGdDJPYLZNb2jsWd1dmkLEnBByzNyeAB1PY dBxUuIbe52+Y
5DLnDJKUYZ6jKkHHTj2HpWTvf+8350b3/vN+dFg9ozRW2h+2Rzs8OyBCkCKo Hlg4zzn2wMYw
CRzTjaWRjij2rtij8pPnPyr8vQ56/Kpz1GKzN7/3m/Oje/8Aeb86LB7RmhLp 9hM7NICQ27K+
cwX5gQx25wCQTzjuTUrrCm9oyu6SRXf5s5I2jP5AflWVvf8AvN+dG9/7zfnR YPaM3PMT++v5
0eYn99fzrD3v/eb86N7/AN5vzosHtGbnmJ/fX86PMT++v51h73/vN+dG9/7z fnRYPaM3PMT+
+v50eYn99fzrD3v/AHm/Oje/95vzosHtGbnmJ/fX86PMT++v51h73/vN+dG9 /wC8350WD2jN
zzE/vr+dHmJ/fX86w97/AN5vzo3v/eb86LB7Rm55if31/OjzE/vr+dYe9/7z fnRvf+8350WD
2jNzzE/vr+dHmJ/fX86w97/3m/Oje/8Aeb86LB7Rn//Z
--------------030100090607000102080006--
Previous Topic:Impossible to set instanceClassName of EDataType to class in default package
Next Topic:[EMF4Net] Proposal
Goto Forum:
  


Current Time: Tue Apr 30 14:16:58 GMT 2024

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

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

Back to the top