aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/schema-test-files/services-bad-vespamalloc.xml
diff options
context:
space:
mode:
authorArne Juul <arnej@yahooinc.com>2022-09-21 09:46:21 +0000
committerArne Juul <arnej@yahooinc.com>2022-09-21 09:46:21 +0000
commit3167b1f5779f4f0814389922e3d43b61c1a5cf82 (patch)
tree4c9f707811f30eb0894faf216dd126e77fa1fb49 /config-model/src/test/schema-test-files/services-bad-vespamalloc.xml
parent04b195343586990e6a612d33e98c7fa8603ee0f4 (diff)
restrict vespamalloc attributes
* only "name tokens' allowed
Diffstat (limited to 'config-model/src/test/schema-test-files/services-bad-vespamalloc.xml')
-rw-r--r--config-model/src/test/schema-test-files/services-bad-vespamalloc.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/config-model/src/test/schema-test-files/services-bad-vespamalloc.xml b/config-model/src/test/schema-test-files/services-bad-vespamalloc.xml
new file mode 100644
index 00000000000..9245d976128
--- /dev/null
+++ b/config-model/src/test/schema-test-files/services-bad-vespamalloc.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!-- Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -->
+<services version="1.0">
+
+ <content id="foo" version="1.0">
+ <redundancy>2</redundancy>
+ <documents>
+ <document type='bar' mode="index"/>
+ </documents>
+ <nodes count="1" no-vespamalloc="`curl something`"/>
+ </content>
+
+</services>