[Nml-wg] Simple example #1

Roman Łapacz romradz at man.poznan.pl
Wed Jul 11 09:50:38 EDT 2012


W dniu 2012-07-11 15:33, Freek Dijkstra pisze:
> On 11-07-2012 15:26, Freek Dijkstra wrote:
>> On 11-07-2012 15:16, Roman Łapacz wrote:
>>>      <!-- COMMENT !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
>>>      <!-- I propose to use new Relation="representedBy"  -->
>>>      <!--- when an object (in this case a Link can be represented by an other. Definition of them is the same! -->
>>>
>>>      <nml:BidirectionalLink id="urn:ogf:network:domainy.net:2012:domainx-domainy-domainx">
>>>        <nml:Relation type"http://schemas.ogf.org/nml/2012/07/relation/representedBy">
>>>          <nml:Link id="urn:ogf:network:domainx.net:2012:domainx-domainy-domainx">
>>>        <nml:Relation>
>>>      </nml:Link>
> Hold on, did you mean to write:
>
>>      <nml:BidirectionalLink id="urn:ogf:network:domainy.net:2012:domainx-domainy-domainx">
>>        <nml:Relation type="http://schemas.ogf.org/nml/2012/07/relation/representedBy">
>>          <nml:BidirectionalLink id="urn:ogf:network:domainx.net:2012:domainx-domainy-domainx">
>>        <nml:Relation>
>>      </nml:Link>


Yes, but I understand that I can use Link instead of BidirectionalLink 
while pointing to BidirectionalLink.

in fact I should have used IdRef

     <nml:BidirectionalLink id="urn:ogf:network:domainy.net:2012:domainx-domainy-domainx">
       <nml:Relation type="http://schemas.ogf.org/nml/2012/07/relation/representedBy">
         <nml:Link idRef="urn:ogf:network:domainx.net:2012:domainx-domainy-domainx">
       <nml:Relation>
  


Roman


> ?
>
> That would make more sense to me, and is probably the same as the
> "isAlias" relation.
>
> Freek



More information about the nml-wg mailing list