On Wed, Jul 01, 2015 at 09:48:31AM +0200, Ladislav Lhotka wrote:
> > I would rather have:
> >
> >
> >
> >
> > "bar": "<? xml version=\"1.0\" ?><data><link></link></data>";
> >
> 
> There have already been several ultra-long discussions about this in the
> NETMOD mailing list. The stance taken by this draft is that anyxml is
> just some data for which the schema is not known (in advance), or the
> schema is not YANG. The only requirement is that the document containing
> anyxml instance must remain valid for the given encoding. So JSON string
> may also be anyxml content but it's not limited to that.
> 
> I believe this is a natural extension of the purpose that anyxml played
> when XML was the only encoding, and it can be used in the same way for
> other encodings that may be defined in the future, such as CBOR. The
> only problem, for me at least, is that it is a misnomer.

The WG settled this debate and there is no point in trying to start it
again. The bottom line is that anyxml remains defined as it has been
defined in RFC 6020 and that it is RECOMMENDED to use anydata for
anything that is can be modelled in YANG since anyxml.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>

_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to