From d94fcc3ae312421e4658c21bb8dfd4847a1a8b48 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Thu, 11 Jun 2020 23:46:33 +0300 Subject: T2588: add support for default values in the leaf node schema. --- schema/interface_definition.rng | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'schema/interface_definition.rng') diff --git a/schema/interface_definition.rng b/schema/interface_definition.rng index bfd8d376f..22e886006 100644 --- a/schema/interface_definition.rng +++ b/schema/interface_definition.rng @@ -95,8 +95,8 @@ but can have values. Leaf node may contain one or more valueConstraint tags If multiple valueConstraint tags are used, they work a logical OR - Leaf nodes can have "multi" attribute that indicated that it can have - more than one value + Leaf nodes can have "multi" attribute that indicated that it can have more than one value + It can also have a default value --> @@ -106,7 +106,21 @@ - + + + + + + + + + + + + -- cgit v1.2.3