[Nml-wg] XML Topology document

Jeroen van der Ham vdham at uva.nl
Mon Jan 28 08:54:03 EST 2013


Hi,
Thank you very much for your swift response.

Jeroen.

On 28 Jan 2013, at 14:20, Roman Łapacz <romradz at man.poznan.pl> wrote:

> W dniu 2013-01-28 13:10, Jeroen van der Ham pisze:
>> Hi,
>> 
>> At the moment there is a discussion on the NSI mailinglist about the preferred syntax for NSI topology descriptions.
>> 
>> There is now an example document at https://github.com/jeroenh/AutoGOLE-Topologies/blob/nsiv2/goles/nordu.net.xml
>> 
>> I've tried to do some XML schema verification on that file, and I've got it down to two errors:
> 
> I'm sending the updated file (validated). See the attachment.
> 
> Roman
> 
>> 
>> goles/nordu.net.xml:2: element Topology: Schemas validity error : Element '{http://schemas.ogf.org/nml/2012/10/base#}Topology', attribute 'version': '20120814' is not a valid value of the atomic type 'xs:dateTime'.
>> goles/nordu.net.xml:64: element Node: Schemas validity error : Element '{http://schemas.ogf.org/nml/2012/10/base#}Node': This element is not expected. Expected is ( {http://schemas.ogf.org/nml/2012/10/base#}Relation ).
>> goles/nordu.net.xml fails to validate
>> 
>> The first I understand sort of, some kind of strict typing must occur.
>> 
>> The second problem I'm not sure, I thought we had defined the hasPort relation to be defined as an implicit relation, so it should be necessary to define it?
>> 
>> Jeroen.
>> 
>> _______________________________________________
>> nml-wg mailing list
>> nml-wg at ogf.org
>> https://www.ogf.org/mailman/listinfo/nml-wg
> 
> <nordunet-RL_update.xml>



More information about the nml-wg mailing list