[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [NGO] Diff-Serv datamodel for discussion startpoint



Hi,

I will point out just one problem with both the XSD and the RelaxNG
versions of this datamodel.  None of them contain any key (or INDEX if
you will) information.  So how is this supposed to work with a NETCONF
<edit-config> operation?  (The problem has been discussed several
times on the list, e.g. in threads
http://ops.ietf.org/lists/netconf/netconf.2006/msg00215.html and 
http://ops.ietf.org/lists/netconf/netconf.2006/msg00054.html)

For XSD, it could have been solved by using a xs:key expression, but
wasn't.  RelaxNG does not have the key concept.

Ok, I'll point out one more problem - the intention *might* have been
that the 'name' attribute is the key.  But the 'name' attribute is of
type xs:ID.  This isn't very scalable since the ID must be unique
within an instance document, which means that if you do a <get/> you
will get the entire datastore, and if you use another ID somewhere
else in the datastore, you might get a collision.


/martin

_______________________________________________
NGO mailing list
NGO at ietf.org
https://www1.ietf.org/mailman/listinfo/ngo