On Wed, Feb 24, 2016 at 12:34:19PM +0100, Ladislav Lhotka wrote: > > > On 24 Feb 2016, at 11:16, Juergen Schoenwaelder > > <[email protected]> wrote: > > > > On Wed, Feb 24, 2016 at 10:34:36AM +0100, Benoit Claise wrote: > > > > [...] > > > >> "The 'md:annotation' statement can appear only at the top level of a YANG > >> module." > >> > >> I don't understand what the top is? You mean, after the import statements. > >> Should pyang check this? If yes, how? > > > > I think the intention was to say at the 'top-level of the schema tree'. > > It does not have to be right after the imports. > > To my understanding, these declarations aren't part of the schema tree. >
OK. Perhaps it is most precise to refer to the ABNF productions where the annotation can appear, e.g., it is 'inside the body-stmts'. /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
