|
Re: Relative vs. abolute HREFS [message #498301 is a reply to message #498265] |
Mon, 16 November 2009 11:51 |
Ed Merks Messages: 33141 Registered: July 2009 |
Senior Member |
|
|
Ömer,
Comments below.
Ömer Yildiz wrote:
> Hello,
>
> i wonder under which circumstances EMF uses relative or absolute
> addresses in the HREF attribute when serializing a model instance.
>
> <elements xmi:type="fitsce:WriteGlobalParameter">
> <schema xmi:type="fitschemas:GlobalSessionParameterSchema"
> href=" platform:/resource/GRC/rsc/.activity#_W4Cc4IM-Ed6AMtUWcN5MZg "/>
> </elements>
>
> <fields xsi:type="runtime:FieldInstance">
> <field href="sperre/.activity#_XHtZEFW2Ed6dJ9n1A91Phw"/>
> </fields>
>
It uses relative references whether possible, i.e., if both the URI of
the resource containing the reference and the URI of the resource to
which the reference refers are absolute and it's possible to express a
relative path between them, then that relative path will be used.
>
> Cheers
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 5.35342 seconds