summaryrefslogtreecommitdiff
path: root/data/schemata
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2017-01-16 14:13:50 +0700
committerDaniil Baturin <daniil@baturin.org>2017-01-16 14:13:50 +0700
commitc5b71d39b3945572f4c09b1f50ba6b232e399b9a (patch)
treeba55f4582b4316ed7e75d39ad6bfed16a7df9423 /data/schemata
parenta4366313a22d97716f32f2bd8de84162b1d0b53c (diff)
downloadvyconf-c5b71d39b3945572f4c09b1f50ba6b232e399b9a.tar.gz
vyconf-c5b71d39b3945572f4c09b1f50ba6b232e399b9a.zip
Move <keepChildOrder/> into properties.
I have no idea why I did not do it this way from the start.
Diffstat (limited to 'data/schemata')
-rw-r--r--data/schemata/interface_definition.rnc7
1 files changed, 5 insertions, 2 deletions
diff --git a/data/schemata/interface_definition.rnc b/data/schemata/interface_definition.rnc
index c23ea0b..3b3fa1e 100644
--- a/data/schemata/interface_definition.rnc
+++ b/data/schemata/interface_definition.rnc
@@ -43,7 +43,7 @@ node = element node
tagNode = element tagNode
{
(ownerAttr? & nodeNameAttr),
- (properties? & (element keepChildOrder { empty })? & children )
+ (properties? & children )
}
# Leaf nodes are terminal configuration nodes that can't have children,
@@ -79,6 +79,7 @@ properties = element properties
{
help? &
constraint? &
+ valueHelp* &
(element constraintErrorMessage { text })? &
# These are meaningful only for leaf nodes
@@ -86,7 +87,9 @@ properties = element properties
(element multi { empty })? &
(element hidden { empty })? &
(element secret { empty })? &
- valueHelp*
+
+ # These are meaningful only for tag nodes
+ (element keepChildOrder { empty })?
}
# All nodes must have "name" attribute