At the moment OpenNSA is generating topology documents with the nsidef:serviceDefinition element placed between the <nml:Relation type="http://schemas.ogf.org/nml/2013/05/base#hasOutboundPort"> relation and the <nml:Relation type="http://schemas.ogf.org/nml/2013/05/base#hasService"> relation elements. This is incorrect. The nsidef:serviceDefinition element must be placed after the last nml:BidirectionalPort element and before the <nml:Relation type="http://schemas.ogf.org/nml/2013/05/base#hasInboundPort"> element.