From 9ee11cb9f05c570391dae936017b808cf1d538bd Mon Sep 17 00:00:00 2001 From: Jon Bratseth Date: Thu, 22 Apr 2021 16:38:29 +0200 Subject: 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. --- config-model/src/main/resources/schema/common.rnc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config-model/src/main/resources/schema/common.rnc') 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 = -- cgit v1.2.3