File: schema_fail.xml

package info (click to toggle)
scram 0.16.2-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 8,016 kB
  • sloc: xml: 120,766; cpp: 23,966; python: 1,256; ansic: 100; makefile: 9
file content (26 lines) | stat: -rw-r--r-- 658 bytes parent folder | download | duplicates (4)
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
<?xml version="1.0"?>
<!-- Should not pass schema validation
Simple mistyping.
-->
<opsa-mef>
  <define-fault-tree name="Two Trains">
    <define-gaet name="TopEvent">  <!-- Here: 'gaet' instead of 'gate' -->
      <and>
        <gate name="TrainOne"/>
        <gate name="TrainTwo"/>
      </and>
    </define-gaet>
    <define-gate name="TrainOne">
      <or>
        <basic-event name="ValveOne"/>
        <basic-event name="PumpOne"/>
      </or>
    </define-gate>
    <define-gate name="TrainTwo">
      <or>
        <basic-event name="ValveTwo"/>
        <basic-event name="PumpTwo"/>
      </or>
    </define-gate>
  </define-fault-tree>
</opsa-mef>