summaryrefslogtreecommitdiff
path: root/schema/op-mode-definition.rnc
diff options
context:
space:
mode:
Diffstat (limited to 'schema/op-mode-definition.rnc')
-rw-r--r--schema/op-mode-definition.rnc4
1 files changed, 2 insertions, 2 deletions
diff --git a/schema/op-mode-definition.rnc b/schema/op-mode-definition.rnc
index 9c84de0e4..cbe51e6dc 100644
--- a/schema/op-mode-definition.rnc
+++ b/schema/op-mode-definition.rnc
@@ -24,7 +24,7 @@
# Interface definition starts with interfaceDefinition tag that may contain node tags
start = element interfaceDefinition
{
- node*
+ (node | tagNode)*
}
# node tag may contain node, leafNode, or tagNode tags
@@ -43,7 +43,7 @@ node = element node
tagNode = element tagNode
{
nodeNameAttr,
- (properties? & children & command?)
+ (properties? & children? & command?)
}
# Leaf nodes are terminal configuration nodes that can't have children,