[Nml-wg] XML Topology document

Roman Łapacz romradz at man.poznan.pl
Mon Jan 28 08:20:07 EST 2013


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: nordunet-RL_update.xml
Type: text/xml
Size: 6207 bytes
Desc: not available
URL: <http://www.ogf.org/pipermail/nml-wg/attachments/20130128/4649bec8/attachment.xml>


More information about the nml-wg mailing list