Debian Codegraph @

tests/mitre/oval-def_literal_component.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-05-21T11:46:00-04: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:367" version="6" class="miscellaneous">
10 <metadata>
11 <title>Evaluate to true if the oval-def:literal_component construct is properly supported</title>
12 <description>This definition is intended to evalutate to true if the interpreter properly supports the oval-def:literal_component construct.</description>
13 </metadata>
14 <criteria operator="AND">
15 <criterion comment="Test that the literal_component construct is supported with the binary datatype." test_ref="oval:org.mitre.oval.test:tst:238"/>
16 <criterion comment="Test that the literal_component construct is supported with the boolean datatype." test_ref="oval:org.mitre.oval.test:tst:223"/>
17 <criterion comment="Test that the literal_component construct is supported with the evr_string datatype." test_ref="oval:org.mitre.oval.test:tst:388"/>
18 <criterion comment="Test that the literal_component construct is supported with the float datatype." test_ref="oval:org.mitre.oval.test:tst:127"/>
19 <criterion comment="Test that the literal_component construct is supported with the int datatype." test_ref="oval:org.mitre.oval.test:tst:52"/>
20 <criterion comment="Test that the literal_component construct is supported with the string datatype." test_ref="oval:org.mitre.oval.test:tst:80"/>
21 <criterion comment="Test that the literal_component construct is supported with the version datatype." test_ref="oval:org.mitre.oval.test:tst:728"/>
22 </criteria>
23 </definition>
24 </definitions>
25 <tests>
26 <variable_test id="oval:org.mitre.oval.test:tst:238" version="1" comment="Test that the literal_component construct is supported with the binary datatype." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
27 <object object_ref="oval:org.mitre.oval.test:obj:346"/>
28 <state state_ref="oval:org.mitre.oval.test:ste:916"/>
29 </variable_test>
30 <variable_test id="oval:org.mitre.oval.test:tst:223" version="1" comment="Test that the literal_component construct is supported with the boolean datatype." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
31 <object object_ref="oval:org.mitre.oval.test:obj:817"/>
32 <state state_ref="oval:org.mitre.oval.test:ste:575"/>
33 </variable_test>
34 <variable_test id="oval:org.mitre.oval.test:tst:388" version="6" comment="Test that the literal_component construct is supported with the evr_string datatype." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
35 <object object_ref="oval:org.mitre.oval.test:obj:464"/>
36 <state state_ref="oval:org.mitre.oval.test:ste:968"/>
37 </variable_test>
38 <variable_test id="oval:org.mitre.oval.test:tst:127" version="1" comment="Test that the literal_component construct is supported with the float datatype." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
39 <object object_ref="oval:org.mitre.oval.test:obj:504"/>
40 <state state_ref="oval:org.mitre.oval.test:ste:866"/>
41 </variable_test>
42 <variable_test id="oval:org.mitre.oval.test:tst:52" version="1" comment="Test that the literal_component construct is supported with the int datatype." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
43 <object object_ref="oval:org.mitre.oval.test:obj:726"/>
44 <state state_ref="oval:org.mitre.oval.test:ste:213"/>
45 </variable_test>
46 <variable_test id="oval:org.mitre.oval.test:tst:80" version="1" comment="Test that the literal_component construct is supported with the string datatype." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
47 <object object_ref="oval:org.mitre.oval.test:obj:869"/>
48 <state state_ref="oval:org.mitre.oval.test:ste:84"/>
49 </variable_test>
50 <variable_test id="oval:org.mitre.oval.test:tst:728" version="1" comment="Test that the literal_component construct is supported with the version datatype." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
51 <object object_ref="oval:org.mitre.oval.test:obj:975"/>
52 <state state_ref="oval:org.mitre.oval.test:ste:37"/>
53 </variable_test>
54 </tests>
55 <objects>
56 <variable_object id="oval:org.mitre.oval.test:obj:346" version="1" comment="This variable_object represents a binary value equal to '10101010'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
57 <var_ref>oval:org.mitre.oval.test:var:118</var_ref>
58 </variable_object>
59 <variable_object id="oval:org.mitre.oval.test:obj:817" version="1" comment="This variable_object represents a boolean value equal to 'true'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
60 <var_ref>oval:org.mitre.oval.test:var:368</var_ref>
61 </variable_object>
62 <variable_object id="oval:org.mitre.oval.test:obj:464" version="4" comment="This variable_object represents a evr_version value equal to '0:3.5ssa-0.20030801.48'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
63 <var_ref>oval:org.mitre.oval.test:var:657</var_ref>
64 </variable_object>
65 <variable_object id="oval:org.mitre.oval.test:obj:504" version="1" comment="This variable_object represents a float value equal to '-12432.559e-3'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
66 <var_ref>oval:org.mitre.oval.test:var:879</var_ref>
67 </variable_object>
68 <variable_object id="oval:org.mitre.oval.test:obj:726" version="1" comment="This variable_object represents a int value equal to '4712394792173'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
69 <var_ref>oval:org.mitre.oval.test:var:203</var_ref>
70 </variable_object>
71 <variable_object id="oval:org.mitre.oval.test:obj:869" version="1" comment="This variable_object represents a string value equal to '123-Validation^Test^String-123'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
72 <var_ref>oval:org.mitre.oval.test:var:909</var_ref>
73 </variable_object>
74 <variable_object id="oval:org.mitre.oval.test:obj:975" version="1" comment="This variable_object represents a version value equal to '9!23%424-65+35,890A314P12'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
75 <var_ref>oval:org.mitre.oval.test:var:912</var_ref>
76 </variable_object>
77 </objects>
78 <states>
79 <variable_state id="oval:org.mitre.oval.test:ste:916" version="1" comment="This state represents a variable_object where the binary value is equal to '10101010'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
80 <value datatype="binary">10101010</value>
81 </variable_state>
82 <variable_state id="oval:org.mitre.oval.test:ste:575" version="1" comment="This state represents a variable_object where the boolean value is equal to 'true'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
83 <value datatype="boolean">true</value>
84 </variable_state>
85 <variable_state id="oval:org.mitre.oval.test:ste:968" version="3" comment="This state represents a variable_object where the evr_string value is equal to '0:3.5ssa-0.20030801.48'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
86 <value datatype="evr_string">0:3.5ssa-0.20030801.48</value>
87 </variable_state>
88 <variable_state id="oval:org.mitre.oval.test:ste:866" version="1" comment="This state represents a variable_object where the float value is equal to '-12432.559e-3'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
89 <value datatype="float">-12432.559e-3</value>
90 </variable_state>
91 <variable_state id="oval:org.mitre.oval.test:ste:213" version="1" comment="This state represents a variable_object where the int value is equal to '4712394792173'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
92 <value datatype="int">4712394792173</value>
93 </variable_state>
94 <variable_state id="oval:org.mitre.oval.test:ste:84" version="1" comment="This state represents a variable_object where the string value is equal to '123-Validation^Test^String-123'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
95 <value>123-Validation^Test^String-123</value>
96 </variable_state>
97 <variable_state id="oval:org.mitre.oval.test:ste:37" version="1" comment="This state represents a variable_object where the value is equal to '9!23%424-65+35,890A314P12'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
98 <value datatype="version">9!23%424-65+35,890A314P12</value>
99 </variable_state>
100 </states>
101 <variables>
102 <local_variable id="oval:org.mitre.oval.test:var:118" version="1" comment="This variable represents the binary value '10101010'." datatype="binary">
103 <literal_component datatype="binary">10101010</literal_component>
104 </local_variable>
105 <local_variable id="oval:org.mitre.oval.test:var:368" version="1" comment="This variable represents the boolean value 'true'." datatype="boolean">
106 <literal_component datatype="boolean">true</literal_component>
107 </local_variable>
108 <local_variable id="oval:org.mitre.oval.test:var:657" version="1" comment="This variable represents the evr_string value '0:3.5ssa-0.20030801.48'." datatype="evr_string">
109 <literal_component datatype="evr_string">0:3.5ssa-0.20030801.48</literal_component>
110 </local_variable>
111 <local_variable id="oval:org.mitre.oval.test:var:879" version="1" comment="This variable represents the float value '-12432.559e-3'." datatype="float">
112 <literal_component datatype="float">-12432.559e-3</literal_component>
113 </local_variable>
114 <local_variable id="oval:org.mitre.oval.test:var:203" version="1" comment="This variable represents the int value '4712394792173'." datatype="int">
115 <literal_component datatype="int">4712394792173</literal_component>
116 </local_variable>
117 <local_variable id="oval:org.mitre.oval.test:var:909" version="1" comment="This variable represents the string value '123-Validation^Test^String-123'." datatype="string">
118 <literal_component datatype="string">123-Validation^Test^String-123</literal_component>
119 </local_variable>
120 <local_variable id="oval:org.mitre.oval.test:var:912" version="1" comment="This variable represents the version value '9!23%424-65+35,890A314P12'." datatype="version">
121 <literal_component datatype="version">9!23%424-65+35,890A314P12</literal_component>
122 </local_variable>
123 </variables>
124 </oval_definitions>