Subject: Re: [YANG] YANG syntax

From: Ladislav Lhotka <[email-masked]>
Date: Thu, 03 Apr 2008 16:59:27 +0200

Hi Martin,

Martin Bjorklund píše v Pá 28. 03. 2008 v 14:53 +0100:

> > - What is the role of unknown-statement in stmtsep and stmtend?
> 
> It covers extension statements.  The grammar must allow e.g.:
> 
>   description "bla bla" {
>     my-ext:type "cli-help";
>   }
> 

How does this translate to YIN? E.g.,

<description>
  <text>bla bla</text>
  <myext:type value="cli-help"/>
</description>

Can the two subelements be swapped? Where can/should the myext prefix be
declared?

Lada

-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C

_______________________________________________
YANG mailing list
[email-masked]
https://www.ietf.org/mailman/listinfo/yang