diff options
author | Arne Juul <arnej@yahooinc.com> | 2022-09-21 09:46:21 +0000 |
---|---|---|
committer | Arne Juul <arnej@yahooinc.com> | 2022-09-21 09:46:21 +0000 |
commit | 3167b1f5779f4f0814389922e3d43b61c1a5cf82 (patch) | |
tree | 4c9f707811f30eb0894faf216dd126e77fa1fb49 /config-model/src/main/resources/schema/content.rnc | |
parent | 04b195343586990e6a612d33e98c7fa8603ee0f4 (diff) |
restrict vespamalloc attributes
* only "name tokens' allowed
Diffstat (limited to 'config-model/src/main/resources/schema/content.rnc')
-rw-r--r-- | config-model/src/main/resources/schema/content.rnc | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/config-model/src/main/resources/schema/content.rnc b/config-model/src/main/resources/schema/content.rnc index 3db0daa6490..3d1873507ce 100644 --- a/config-model/src/main/resources/schema/content.rnc +++ b/config-model/src/main/resources/schema/content.rnc @@ -203,10 +203,10 @@ ContentNode = element node { attribute capacity { xsd:double { minExclusive = "0.0" } }? & attribute mmap-core-limit { xsd:nonNegativeInteger }? & attribute core-on-oom { xsd:boolean }? & - attribute no-vespamalloc { xsd:string }? & - attribute vespamalloc { xsd:string }? & - attribute vespamalloc-debug { xsd:string }? & - attribute vespamalloc-debug-stacktrace { xsd:string }? & + attribute no-vespamalloc { xsd:NMTOKENS }? & + attribute vespamalloc { xsd:NMTOKENS }? & + attribute vespamalloc-debug { xsd:NMTOKENS }? & + attribute vespamalloc-debug-stacktrace { xsd:NMTOKENS }? & attribute cpu-socket { xsd:nonNegativeInteger }? } @@ -215,10 +215,10 @@ ContentNodes = element nodes { attribute cpu-socket-affinity { xsd:string }? & attribute mmap-core-limit { xsd:nonNegativeInteger }? & attribute core-on-oom { xsd:boolean }? & - attribute no-vespamalloc { xsd:string }? & - attribute vespamalloc { xsd:string }? & - attribute vespamalloc-debug { xsd:string }? & - attribute vespamalloc-debug-stacktrace { xsd:string }? & + attribute no-vespamalloc { xsd:NMTOKENS }? & + attribute vespamalloc { xsd:NMTOKENS }? & + attribute vespamalloc-debug { xsd:NMTOKENS }? & + attribute vespamalloc-debug-stacktrace { xsd:NMTOKENS }? & ( ( attribute count { xsd:positiveInteger | xsd:string } & @@ -242,10 +242,10 @@ TopGroup = element group { attribute cpu-socket-affinity { xsd:string }? & attribute mmap-core-limit { xsd:nonNegativeInteger }? & attribute core-on-oom { xsd:boolean }? & - attribute no-vespamalloc { xsd:string }? & - attribute vespamalloc { xsd:string }? & - attribute vespamalloc-debug { xsd:string }? & - attribute vespamalloc-debug-stacktrace { xsd:string }? & + attribute no-vespamalloc { xsd:NMTOKENS }? & + attribute vespamalloc { xsd:NMTOKENS }? & + attribute vespamalloc-debug { xsd:NMTOKENS }? & + attribute vespamalloc-debug-stacktrace { xsd:NMTOKENS }? & attribute distribution-key { xsd:nonNegativeInteger }? & ( ContentNode + |