File: xml_formatting_error.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-- 610 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"?>
<!-- XML Formatting Issue -->

<opsa-me>  <!-- Tags do not match -->

  <define-fault-tree name="Two Trains">
    <define-gate name="TopEvent">
      <and>
        <gate name="TrainOne"/>
        <event name="TrainTwo"/>
      </and>
    </define-gate>
    <define-gate name="TrainOne">
      <or>
        <basic-event name="ValveOne"/>
        <house-event name="PumpOne"/>
      </or>
    </define-gate>
    <define-gate name="TrainTwo">
      <or>
        <basic-event name="ValveTwo"/>
        <event name="PumpTwo"/>
      </or>
    </define-gate>
  </define-fault-tree>
</opsa-mef>