summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/schemata/interface_definition.rnc9
-rw-r--r--data/schemata/interface_definition.rng10
2 files changed, 1 insertions, 18 deletions
diff --git a/data/schemata/interface_definition.rnc b/data/schemata/interface_definition.rnc
index 913123c..fc063ac 100644
--- a/data/schemata/interface_definition.rnc
+++ b/data/schemata/interface_definition.rnc
@@ -24,14 +24,7 @@
# Interface definition starts with interfaceDefinition tag that may contain node tags
start = element interfaceDefinition
{
- extendsAttr?, node*
-}
-
-# Interface definitions may extend other definitions
-# In this case you specify a whitespace-separated path
-extendsAttr = attribute extends
-{
- text
+ node*
}
# node tag may contain node, leafNode, or tagNode tags
diff --git a/data/schemata/interface_definition.rng b/data/schemata/interface_definition.rng
index a1330ee..596b4d9 100644
--- a/data/schemata/interface_definition.rng
+++ b/data/schemata/interface_definition.rng
@@ -28,22 +28,12 @@
<!-- Interface definition starts with interfaceDefinition tag that may contain node tags -->
<start>
<element name="interfaceDefinition">
- <optional>
- <ref name="extendsAttr"/>
- </optional>
<zeroOrMore>
<ref name="node"/>
</zeroOrMore>
</element>
</start>
<!--
- Interface definitions may extend other definitions
- In this case you specify a whitespace-separated path
- -->
- <define name="extendsAttr">
- <attribute name="extends"/>
- </define>
- <!--
node tag may contain node, leafNode, or tagNode tags
Those are intermediate configuration nodes that may only contain
other nodes and must not have values