Debian Codegraph @

tests/mitre/oval-def_extend_definition.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8"?>
2 <oval_definitions 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" 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">
3 <generator>
4 <oval:schema_version>5.10.1</oval:schema_version>
5 <oval:timestamp>2009-01-12T10:41:00-05:00</oval:timestamp>
6 <terms_of_use>Copyright (c) 2002-2012, The MITRE Corporation. All rights reserved. The contents of this file are subject to the license described in terms.txt.</terms_of_use>
7 </generator>
8 <definitions>
9 <definition id="oval:org.mitre.oval.test:def:620" version="1" class="miscellaneous">
10 <metadata>
11 <title>Evaluate to true</title>
12 <description>This definition is intended to always evaluate to true.</description>
13 </metadata>
14 <criteria operator="AND">
15 <criterion comment="This test always evaluates to true." test_ref="oval:org.mitre.oval.test:tst:833"/>
16 </criteria>
17 </definition>
18 <definition id="oval:org.mitre.oval.test:def:997" version="1" class="miscellaneous">
19 <metadata>
20 <title>Evaluate to false</title>
21 <description>This definition is intended to always evaluate to false.</description>
22 </metadata>
23 <criteria operator="AND">
24 <criterion negate="true" comment="This test always evaluates to true." test_ref="oval:org.mitre.oval.test:tst:833"/>
25 </criteria>
26 </definition>
27 <definition id="oval:org.mitre.oval.test:def:117" version="1" class="miscellaneous">
28 <metadata>
29 <title>Evaluate to true if the oval-def:extend_definition construct is properly supported</title>
30 <description>This definition is intended to evalutate to true if the interpreter properly supports the oval-def:extend_definition construct with the negate attribute set to false.</description>
31 </metadata>
32 <criteria operator="AND">
33 <extend_definition comment="Evaluate to true" definition_ref="oval:org.mitre.oval.test:def:620"/>
34 </criteria>
35 </definition>
36 <definition id="oval:org.mitre.oval.test:def:97" version="1" class="miscellaneous">
37 <metadata>
38 <title>Evaluate to true if the oval-def:extend_definition construct is properly supported</title>
39 <description>This definition is intended to evalutate to true if the interpreter properly supports the oval-def:extend_definition construct with the negate attribute set to true.</description>
40 </metadata>
41 <criteria operator="AND">
42 <extend_definition negate="true" comment="Evaluate to false" definition_ref="oval:org.mitre.oval.test:def:997"/>
43 </criteria>
44 </definition>
45 </definitions>
46 <tests>
47 <variable_test id="oval:org.mitre.oval.test:tst:833" version="1" comment="This test always evaluates to true." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
48 <object object_ref="oval:org.mitre.oval.test:obj:841"/>
49 <state state_ref="oval:org.mitre.oval.test:ste:266"/>
50 </variable_test>
51 </tests>
52 <objects>
53 <variable_object id="oval:org.mitre.oval.test:obj:841" version="1" comment="This variable_object represents the boolean value 'true'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
54 <var_ref>oval:org.mitre.oval.test:var:945</var_ref>
55 </variable_object>
56 </objects>
57 <states>
58 <variable_state id="oval:org.mitre.oval.test:ste:266" version="1" comment="This variable_state represents a boolean value that is equal to 'true'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
59 <value datatype="boolean">true</value>
60 </variable_state>
61 </states>
62 <variables>
63 <constant_variable id="oval:org.mitre.oval.test:var:945" version="1" comment="This variable represents the boolean value 'true'." datatype="binary">
64 <value>true</value>
65 </constant_variable>
66 </variables>
67 </oval_definitions>