[Nml-wg] hasSource/hasSink vs. isSource/isSink

Roman Łapacz romradz at man.poznan.pl
Tue Aug 21 10:18:01 EDT 2012


W dniu 2012-08-21 16:02, Freek Dijkstra pisze:
> On 21-08-2012 15:14, Roman Łapacz wrote:
>
>> I've analysed the list of relations in artf6547 and it seems that the
>> following snippet (taken from the example file I recommended in my
>> previous email) is wrong:
>>
>>      <nml:Link id="urn:ogf:network:domainy.net:2012:B-to-C">
>>        <nml:Relation
>> type="http://schemas.ogf.org/nml/2012/10/relation/hasSource">
>>          <nml:Port
>> idRef="urn:ogf:network:domainy.net:2012:B:port_ge-1.0.8.1501-out"/>
>>        </nml:Relation>
>>        <nml:Relation
>> type="http://schemas.ogf.org/nml/2012/10/relation/hasSink">
>>          <nml:Port
>> idRef="urn:ogf:network:domainy.net:2012:C:port_ge-5.2.7.1501-in"/>
>>        </nml:Relation>
>>      </nml:Link>
>>
>>
>> It uses hasSource/hasSink relations but according to the list only
>> isSource/isSink are permitted. So the structure should be transformed into:
>>
>> <nml:Port id="urn:ogf:network:domainy.net:2012:B:port_ge-1.0.8.1501-out">
>>    <nml:Relation type="http://schemas.ogf.org/nml/2012/10/relation/isSource">
>>      <nml:Link idRef="urn:ogf:network:domainy.net:2012:B-to-C"/>
>>    </nml:Relation>
>> </nml:Port>
>>
>> <nml:Port id="urn:ogf:network:domainy.net:2012:C:port_ge-5.2.7.1501-in">
>>    <nml:Relation type="http://schemas.ogf.org/nml/2012/10/relation/isSink">
>>      <nml:Link idRef="urn:ogf:network:domainy.net:2012:B-to-C"/>
>>    </nml:Relation>
>> </nml:Port>
>>
>> <nml:Link idRef="urn:ogf:network:domainy.net:2012:B-to-C">
>> </nml:Link>
>>
>>
>> Am I right?
> Yes, this is correct.

right, I'll fix that tomorrow

Roman

>
> Freek



More information about the nml-wg mailing list