spec/scansion/pubsub_preconditions.scs
changeset 11635 6641ca266d94
parent 10360 0a2d7efca039
child 11858 b605cbd5f13b
equal deleted inserted replaced
11634:855b065d5fd6 11635:6641ca266d94
    45 					</field>
    45 					</field>
    46 					<field var="pubsub#title" label="Title" type="text-single"/>
    46 					<field var="pubsub#title" label="Title" type="text-single"/>
    47 					<field var="pubsub#description" label="Description" type="text-single"/>
    47 					<field var="pubsub#description" label="Description" type="text-single"/>
    48 					<field var="pubsub#type" label="The type of node data, usually specified by the namespace of the payload (if any)" type="text-single"/>
    48 					<field var="pubsub#type" label="The type of node data, usually specified by the namespace of the payload (if any)" type="text-single"/>
    49 					<field var="pubsub#max_items" label="Max # of items to persist" type="text-single">
    49 					<field var="pubsub#max_items" label="Max # of items to persist" type="text-single">
    50 						<validate xmlns="http://jabber.org/protocol/xdata-validate" datatype="xs:integer"/>
    50 						<validate xmlns="http://jabber.org/protocol/xdata-validate" datatype="pubsub:integer-or-max"/>
    51 						<value>1</value>
    51 						<value>1</value>
    52 					</field>
    52 					</field>
    53 					<field var="pubsub#persist_items" label="Persist items to storage" type="boolean">
    53 					<field var="pubsub#persist_items" label="Persist items to storage" type="boolean">
    54 						<value>1</value>
    54 						<value>1</value>
    55 					</field>
    55 					</field>
   121 						<value>Nice tunes</value>
   121 						<value>Nice tunes</value>
   122 					</field>
   122 					</field>
   123 					<field var="pubsub#description" type="text-single" label="Description"/>
   123 					<field var="pubsub#description" type="text-single" label="Description"/>
   124 					<field var="pubsub#type" type="text-single" label="The type of node data, usually specified by the namespace of the payload (if any)"/>
   124 					<field var="pubsub#type" type="text-single" label="The type of node data, usually specified by the namespace of the payload (if any)"/>
   125 					<field var="pubsub#max_items" type="text-single" label="Max # of items to persist">
   125 					<field var="pubsub#max_items" type="text-single" label="Max # of items to persist">
   126 						<validate xmlns="http://jabber.org/protocol/xdata-validate" datatype="xs:integer"/>
   126 						<validate xmlns="http://jabber.org/protocol/xdata-validate" datatype="pubsub:integer-or-max"/>
   127 						<value>1</value>
   127 						<value>1</value>
   128 					</field>
   128 					</field>
   129 					<field var="pubsub#persist_items" type="boolean" label="Persist items to storage">
   129 					<field var="pubsub#persist_items" type="boolean" label="Persist items to storage">
   130 						<value>1</value>
   130 						<value>1</value>
   131 					</field>
   131 					</field>