Debian Codegraph @

tests/API/XCCDF/unittests/test_no_newline_between_select_elements.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="utf-8"?>
2 <ds:data-stream-collection xmlns:ds="http://scap.nist.gov/schema/scap/source/1.2" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:cat="urn:oasis:names:tc:entity:xmlns:xml:catalog" id="scap_org.open-scap_collection_from_xccdf_test_single_rule.xccdf.xml" schematron-version="1.2">
3 <ds:data-stream id="scap_org.open-scap_datastream_from_xccdf_test_single_rule.xccdf.xml" scap-version="1.2" use-case="OTHER">
4 <ds:checklists>
5 <ds:component-ref id="scap_org.open-scap_cref_test_single_rule.xccdf.xml" xlink:href="#scap_org.open-scap_comp_test_single_rule.xccdf.xml">
6 <cat:catalog>
7 <cat:uri name="test_single_rule.oval.xml" uri="#scap_org.open-scap_cref_test_single_rule.oval.xml"/>
8 </cat:catalog>
9 </ds:component-ref>
10 </ds:checklists>
11 <ds:checks>
12 <ds:component-ref id="scap_org.open-scap_cref_test_single_rule.oval.xml" xlink:href="#scap_org.open-scap_comp_test_single_rule.oval.xml"/>
13 </ds:checks>
14 </ds:data-stream>
15 <ds:component id="scap_org.open-scap_comp_test_single_rule.xccdf.xml" timestamp="2017-06-09T09:15:45">
16 <Benchmark xmlns="http://checklists.nist.gov/xccdf/1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="xccdf_com.example.www_benchmark_dummy" xsi:schemaLocation="http://checklists.nist.gov/xccdf/1.1 xccdf-1.1.4.xsd" resolved="false" xml:lang="en-US">
17 <status>accepted</status>
18 <version>1.0</version>
19 <Profile id="xccdf_com.example.www_profile_test">
20 <title>xccdf_test_profile</title>
21 <description>This profile is for testing.</description>
22 <select idref="xccdf_com.example.www_rule_first" selected="true"/><select idref="xccdf_com.example.www_rule_second" selected="true"/>
23 </Profile>
24 <Rule selected="false" id="xccdf_com.example.www_rule_first">
25 <title>This rule always pass</title>
26 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
27 <check-content-ref href="test_single_rule.oval.xml" name="oval:x:def:1"/>
28 </check>
29 </Rule>
30 <Rule selected="false" id="xccdf_com.example.www_rule_second">
31 <title>This rule always fails</title>
32 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
33 <check-content-ref href="test_single_rule.oval.xml" name="oval:x:def:2"/>
34 </check>
35 </Rule>
36 </Benchmark>
37 </ds:component>
38 <ds:component id="scap_org.open-scap_comp_test_single_rule.oval.xml" timestamp="2017-06-09T07:07:38">
39 <oval_definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:win-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#independent independent-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#windows windows-definitions-schema.xsd">
40 <generator>
41 <oval:schema_version>5.11</oval:schema_version>
42 <oval:timestamp>2009-01-12T10:41:00-05:00</oval:timestamp>
43 </generator>
44 <definitions>
45 <definition class="compliance" id="oval:x:def:1" version="1">
46 <metadata>
47 <title>PASS</title>
48 <description>pass</description>
49 </metadata>
50 <criteria>
51 <criterion comment="PASS test" test_ref="oval:x:tst:1"/>
52 </criteria>
53 </definition>
54 <definition class="compliance" id="oval:x:def:2" version="1">
55 <metadata>
56 <title>PASS</title>
57 <description>pass</description>
58 </metadata>
59 <criteria>
60 <criterion negate="true" comment="PASS test" test_ref="oval:x:tst:1"/>
61 </criteria>
62 </definition>
63 </definitions>
64 <tests>
65 <variable_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" id="oval:x:tst:1" check="all" comment="always pass" version="1">
66 <object object_ref="oval:x:obj:1"/>
67 </variable_test>
68 </tests>
69 <objects>
70 <variable_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" id="oval:x:obj:1" version="1" comment="x">
71 <var_ref>oval:x:var:1</var_ref>
72 </variable_object>
73 </objects>
74 <variables>
75 <constant_variable id="oval:x:var:1" version="1" comment="x" datatype="int">
76 <value>100</value>
77 </constant_variable>
78 </variables>
79 </oval_definitions>
80 </ds:component>
81 </ds:data-stream-collection>