spec/scansion/pubsub_preconditions.scs
changeset 11860 14a679588b7b
parent 11859 8890eaa69446
child 12970 7465d3c5679d
--- a/spec/scansion/pubsub_preconditions.scs	Wed Oct 20 17:31:24 2021 +0200
+++ b/spec/scansion/pubsub_preconditions.scs	Wed Oct 20 17:32:34 2021 +0200
@@ -48,7 +48,7 @@
 					<field var="pubsub#type" label="The type of node data, usually specified by the namespace of the payload (if any)" type="text-single"/>
 					<field var="pubsub#max_items" label="Max # of items to persist" type="text-single">
 						<validate xmlns="http://jabber.org/protocol/xdata-validate" datatype="pubsub:integer-or-max">
-							<range min="1"/>
+							<range min="1" max="256"/>
 						</validate>
 						<value>1</value>
 					</field>
@@ -138,7 +138,7 @@
 					<field var="pubsub#type" type="text-single" label="The type of node data, usually specified by the namespace of the payload (if any)"/>
 					<field var="pubsub#max_items" type="text-single" label="Max # of items to persist">
 						<validate xmlns="http://jabber.org/protocol/xdata-validate" datatype="pubsub:integer-or-max">
-							<range min="1"/>
+							<range min="1" max="256"/>
 						</validate>
 						<value>1</value>
 					</field>