File: WORepetition.api

package info (click to toggle)
sope 5.12.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 16,588 kB
  • sloc: objc: 169,223; sh: 3,823; ansic: 3,409; javascript: 446; python: 318; makefile: 185
file content (34 lines) | stat: -rw-r--r-- 961 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?xml version="1.0" standalone="yes"?> 

<wo class="WORepetition">
  <binding name="item" passthrough="NO" settable="YES"/>
  <binding name="list" passthrough="NO"/>
  <binding name="count" passthrough="NO"/>
  <binding name="index" passthrough="NO"/>
  <binding name="identifier" passthrough="NO"/>

  <!-- SOPE -->
  <binding name="startIndex" passthrough="NO"/>
  <binding name="separator" passthrough="NO"/>

  <validation message="&apos;list&apos; must not be a constant">
    <and>
      <bound name="list"/>
      <ungettable name="list"/>
    </and>
  </validation>

  <validation message="exactly one of &apos;count&apos; or &apos;list&apos; must be bound">
    <count test="!=1">
      <bound name="list"/>
      <bound name="count"/>
    </count>
  </validation>

  <validation message="&apos;item&apos; must be bound when &apos;list&apos; is bound">
    <and>
      <bound name="list"/>
      <unbound name="item"/>
    </and>
  </validation>
</wo>