aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/main/resources
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2021-04-22 16:38:29 +0200
committerJon Bratseth <bratseth@gmail.com>2021-04-22 16:38:29 +0200
commit9ee11cb9f05c570391dae936017b808cf1d538bd (patch)
tree7df6c6398091edec53eddf67fd20b3177586165a /config-model/src/main/resources
parent8b894d8815dac50d07d4ef82ae83343915b8f8dd (diff)
Allow empty config
If you have zone-dependent config it is convenient to be able to end up with an empty body in zones where the defaults should apply.
Diffstat (limited to 'config-model/src/main/resources')
-rw-r--r--config-model/src/main/resources/schema/common.rnc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config-model/src/main/resources/schema/common.rnc b/config-model/src/main/resources/schema/common.rnc
index 878faabfec1..fa9a6c28ce2 100644
--- a/config-model/src/main/resources/schema/common.rnc
+++ b/config-model/src/main/resources/schema/common.rnc
@@ -45,7 +45,7 @@ GenericConfig = element config {
attribute name { text },
attribute namespace { text }?, # TODO: Remove in Vespa 8
attribute version { text }?,
- anyElement +
+ anyElement*
}
ComponentSpec =