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

RE: merge/replace selection criteria



Title: RE: merge/replace selection criteria


> -----Original Message-----
> From: Phil Shafer [mailto:phil@juniper.net]
> Sent: Monday, August 25, 2003 3:44 PM
> To: Paul Sangree
> Cc: netconf@ops.ietf.org
> Subject: Re: merge/replace selection criteria
>
> Paul Sangree writes:
> >However, how does the target system know whether we are trying to change
> >Bill's address to "123 A Street" or change John's name to "Bill
> >Baker"?  Both interpretations are valid but only one yields the desired
> result.
>
> Another valid-but-wrong interpretation would be replacing all
> users. The interpretation depends on the understanding of
> identifiers (identifying elements), but how should this be
> expressed inside the protocol? Or does it need to be, given
> that code handling users will either know what the identifiers
> are or learn them from the schema file?
>
> FWIW, early on, Junoscript had an attribute that indicated that an
> element was an identifier.  Developers generally found it somehow
> confusing and we whacked it.
>
I would like to see the elements that are key identifiers defined with attributes as Junoscript did.  This will allow the other software applications to easily identify objects in the XML instance.

> Thanks,
>  Phil
>
> --
> to unsubscribe send a message to netconf-request@ops.ietf.org with
> the word 'unsubscribe' in a single line as the message text body.
> archive: http://ops.ietf.org/lists/netconf/

Thanks
 Brendan