Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Relative vs. abolute HREFS
Relative vs. abolute HREFS [message #498265] Mon, 16 November 2009 09:19 Go to next message
Ã?mer Yildiz is currently offline Ã?mer YildizFriend
Messages: 8
Registered: July 2009
Junior Member
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>


Cheers
Re: Relative vs. abolute HREFS [message #498301 is a reply to message #498265] Mon, 16 November 2009 11:51 Go to previous message
Ed Merks is currently online Ed MerksFriend
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/
Previous Topic:Problems encountered in the model. A container reference must have upper bound of 1 not -1
Next Topic:Generating programmatically a genmodel file
Goto Forum:
  


Current Time: Fri Apr 26 06:27:40 GMT 2024

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

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

Back to the top