| 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:562" version="1" class="miscellaneous"> |
| 10 | <metadata> |
| 11 | <title>Evaluate to true if the oval-def:external_variable construct is properly supported</title> |
| 12 | <description>This definition is intended to evalutate to true if the interpreter properly supports the oval-def:external_variable construct.</description> |
| 13 | </metadata> |
| 14 | <criteria operator="AND"> |
| 15 | <criteria> |
| 16 | <criterion comment="Test that the external_variable construct is supported for a single binary value." test_ref="oval:org.mitre.oval.test:tst:487"/> |
| 17 | <criterion comment="Test that the external_variable construct is supported for multiple binary values." test_ref="oval:org.mitre.oval.test:tst:943"/> |
| 18 | </criteria> |
| 19 | <criteria> |
| 20 | <criterion comment="Test that the external_variable construct is supported for a single boolean value." test_ref="oval:org.mitre.oval.test:tst:64"/> |
| 21 | <criterion comment="Test that the external_variable construct is supported for multiple boolean values." test_ref="oval:org.mitre.oval.test:tst:38"/> |
| 22 | </criteria> |
| 23 | <criteria> |
| 24 | <criterion comment="Test that the external_variable construct is supported for a single evr_string value." test_ref="oval:org.mitre.oval.test:tst:350"/> |
| 25 | <criterion comment="Test that the external_variable construct is supported for multiple evr_string values." test_ref="oval:org.mitre.oval.test:tst:170"/> |
| 26 | </criteria> |
| 27 | <criteria> |
| 28 | <criterion comment="Test that the external_variable construct is supported for a single integer value." test_ref="oval:org.mitre.oval.test:tst:936"/> |
| 29 | <criterion comment="Test that the external_variable construct is supported for multiple float values." test_ref="oval:org.mitre.oval.test:tst:851"/> |
| 30 | </criteria> |
| 31 | <criteria> |
| 32 | <criterion comment="Test that the external_variable construct is supported for a single integer value." test_ref="oval:org.mitre.oval.test:tst:126"/> |
| 33 | <criterion comment="Test that the external_variable construct is supported for multiple integer values." test_ref="oval:org.mitre.oval.test:tst:608"/> |
| 34 | </criteria> |
| 35 | <criteria> |
| 36 | <criterion comment="Test that the external_variable construct is supported for a single string value." test_ref="oval:org.mitre.oval.test:tst:983"/> |
| 37 | <criterion comment="Test that the external_variable construct is supported for multiple string values." test_ref="oval:org.mitre.oval.test:tst:154"/> |
| 38 | </criteria> |
| 39 | <criteria> |
| 40 | <criterion comment="Test that the external_variable construct is supported for a single version value." test_ref="oval:org.mitre.oval.test:tst:34"/> |
| 41 | <criterion comment="Test that the external_variable construct is supported for multiple version values." test_ref="oval:org.mitre.oval.test:tst:71"/> |
| 42 | </criteria> |
| 43 | <criterion comment="Test that the external_variable construct is supported for a single possible_restriction." test_ref="oval:org.mitre.oval.test:tst:509"/> |
| 44 | <criterion comment="Test that the external_variable construct is supported for multiple possible_restrictions." test_ref="oval:org.mitre.oval.test:tst:439"/> |
| 45 | <criterion comment="Test that the external_variable construct is supported for a single possible_value." test_ref="oval:org.mitre.oval.test:tst:132"/> |
| 46 | <criterion comment="Test that the external_variable construct is supported for multiple possible_values." test_ref="oval:org.mitre.oval.test:tst:275"/> |
| 47 | </criteria> |
| 48 | </definition> |
| 49 | </definitions> |
| 50 | <tests> |
| 51 | <variable_test id="oval:org.mitre.oval.test:tst:487" version="1" comment="Test that the external_variable construct is supported for a single binary value." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 52 | <object object_ref="oval:org.mitre.oval.test:obj:876"/> |
| 53 | <state state_ref="oval:org.mitre.oval.test:ste:996"/> |
| 54 | </variable_test> |
| 55 | <variable_test id="oval:org.mitre.oval.test:tst:943" version="1" comment="Test that the external_variable construct is supported for multiple binary values." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 56 | <object object_ref="oval:org.mitre.oval.test:obj:263"/> |
| 57 | <state state_ref="oval:org.mitre.oval.test:ste:705"/> |
| 58 | </variable_test> |
| 59 | <variable_test id="oval:org.mitre.oval.test:tst:64" version="1" comment="Test that the external_variable construct is supported for a single boolean value." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 60 | <object object_ref="oval:org.mitre.oval.test:obj:222"/> |
| 61 | <state state_ref="oval:org.mitre.oval.test:ste:788"/> |
| 62 | </variable_test> |
| 63 | <variable_test id="oval:org.mitre.oval.test:tst:38" version="1" comment="Test that the external_variable construct is supported for multiple boolean values." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 64 | <object object_ref="oval:org.mitre.oval.test:obj:966"/> |
| 65 | <state state_ref="oval:org.mitre.oval.test:ste:395"/> |
| 66 | </variable_test> |
| 67 | <variable_test id="oval:org.mitre.oval.test:tst:350" version="1" comment="Test that the external_variable construct is supported for a single evr_string value." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 68 | <object object_ref="oval:org.mitre.oval.test:obj:336"/> |
| 69 | <state state_ref="oval:org.mitre.oval.test:ste:676"/> |
| 70 | </variable_test> |
| 71 | <variable_test id="oval:org.mitre.oval.test:tst:170" version="1" comment="Test that the external_variable construct is supported for multiple evr_string values." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 72 | <object object_ref="oval:org.mitre.oval.test:obj:569"/> |
| 73 | <state state_ref="oval:org.mitre.oval.test:ste:702"/> |
| 74 | </variable_test> |
| 75 | <variable_test id="oval:org.mitre.oval.test:tst:936" version="1" comment="Test that the external_variable construct is supported for a single integer value." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 76 | <object object_ref="oval:org.mitre.oval.test:obj:215"/> |
| 77 | <state state_ref="oval:org.mitre.oval.test:ste:983"/> |
| 78 | </variable_test> |
| 79 | <variable_test id="oval:org.mitre.oval.test:tst:851" version="1" comment="Test that the external_variable construct is supported for multiple float values." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 80 | <object object_ref="oval:org.mitre.oval.test:obj:647"/> |
| 81 | <state state_ref="oval:org.mitre.oval.test:ste:872"/> |
| 82 | </variable_test> |
| 83 | <variable_test id="oval:org.mitre.oval.test:tst:126" version="1" comment="Test that the external_variable construct is supported for a single integer value." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 84 | <object object_ref="oval:org.mitre.oval.test:obj:536"/> |
| 85 | <state state_ref="oval:org.mitre.oval.test:ste:121"/> |
| 86 | </variable_test> |
| 87 | <variable_test id="oval:org.mitre.oval.test:tst:608" version="1" comment="Test that the external_variable construct is supported for multiple integer values." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 88 | <object object_ref="oval:org.mitre.oval.test:obj:40"/> |
| 89 | <state state_ref="oval:org.mitre.oval.test:ste:615"/> |
| 90 | </variable_test> |
| 91 | <variable_test id="oval:org.mitre.oval.test:tst:983" version="1" comment="Test that the external_variable construct is supported for a single string value." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 92 | <object object_ref="oval:org.mitre.oval.test:obj:684"/> |
| 93 | <state state_ref="oval:org.mitre.oval.test:ste:291"/> |
| 94 | </variable_test> |
| 95 | <variable_test id="oval:org.mitre.oval.test:tst:154" version="1" comment="Test that the external_variable construct is supported for multiple string values." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 96 | <object object_ref="oval:org.mitre.oval.test:obj:962"/> |
| 97 | <state state_ref="oval:org.mitre.oval.test:ste:86"/> |
| 98 | </variable_test> |
| 99 | <variable_test id="oval:org.mitre.oval.test:tst:34" version="1" comment="Test that the external_variable construct is supported for a single version value." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 100 | <object object_ref="oval:org.mitre.oval.test:obj:88"/> |
| 101 | <state state_ref="oval:org.mitre.oval.test:ste:299"/> |
| 102 | </variable_test> |
| 103 | <variable_test id="oval:org.mitre.oval.test:tst:71" version="1" comment="Test that the external_variable construct is supported for multiple version values." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 104 | <object object_ref="oval:org.mitre.oval.test:obj:915"/> |
| 105 | <state state_ref="oval:org.mitre.oval.test:ste:723"/> |
| 106 | </variable_test> |
| 107 | <variable_test id="oval:org.mitre.oval.test:tst:509" version="1" comment="Test that the external_variable construct is supported for a single possible_restriction." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 108 | <object object_ref="oval:org.mitre.oval.test:obj:361"/> |
| 109 | <state state_ref="oval:org.mitre.oval.test:ste:857"/> |
| 110 | </variable_test> |
| 111 | <variable_test id="oval:org.mitre.oval.test:tst:439" version="1" comment="Test that the external_variable construct is supported for multiple possible_restrictions." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 112 | <object object_ref="oval:org.mitre.oval.test:obj:645"/> |
| 113 | <state state_ref="oval:org.mitre.oval.test:ste:857"/> |
| 114 | </variable_test> |
| 115 | <variable_test id="oval:org.mitre.oval.test:tst:132" version="1" comment="Test that the external_variable construct is supported for a single possible_value." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 116 | <object object_ref="oval:org.mitre.oval.test:obj:548"/> |
| 117 | <state state_ref="oval:org.mitre.oval.test:ste:927"/> |
| 118 | </variable_test> |
| 119 | <variable_test id="oval:org.mitre.oval.test:tst:275" version="1" comment="Test that the external_variable construct is supported for multiple possible_values." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 120 | <object object_ref="oval:org.mitre.oval.test:obj:441"/> |
| 121 | <state state_ref="oval:org.mitre.oval.test:ste:138"/> |
| 122 | </variable_test> |
| 123 | </tests> |
| 124 | <objects> |
| 125 | <variable_object id="oval:org.mitre.oval.test:obj:876" version="1" comment="This variable_object references an external_variable that contains the binary value '0000'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 126 | <var_ref>oval:org.mitre.oval.test:var:566</var_ref> |
| 127 | </variable_object> |
| 128 | <variable_object id="oval:org.mitre.oval.test:obj:263" version="1" comment="This variable_object references an external_variable that contains the binary values '0000','0010', '0100', and '1000'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 129 | <var_ref>oval:org.mitre.oval.test:var:505</var_ref> |
| 130 | </variable_object> |
| 131 | <variable_object id="oval:org.mitre.oval.test:obj:222" version="1" comment="This variable_object references an external_variable that contains the boolean value 'true'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 132 | <var_ref>oval:org.mitre.oval.test:var:453</var_ref> |
| 133 | </variable_object> |
| 134 | <variable_object id="oval:org.mitre.oval.test:obj:966" version="1" comment="This variable_object references an external_variable that contains the boolean values 'true', 'false', '0', and '1'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 135 | <var_ref>oval:org.mitre.oval.test:var:983</var_ref> |
| 136 | </variable_object> |
| 137 | <variable_object id="oval:org.mitre.oval.test:obj:336" version="1" comment="This variable_object references an external_variable that contains the evr_string value '1.2.3.4-5.6'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 138 | <var_ref>oval:org.mitre.oval.test:var:89</var_ref> |
| 139 | </variable_object> |
| 140 | <variable_object id="oval:org.mitre.oval.test:obj:569" version="1" comment="This variable_object references an external_variable that contains the evr_string values '1.2.3.4-5.6', '1.2.3.4-5.7', '1.2.3.4-5.8', and '1.2.3.4-5.9'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 141 | <var_ref>oval:org.mitre.oval.test:var:51</var_ref> |
| 142 | </variable_object> |
| 143 | <variable_object id="oval:org.mitre.oval.test:obj:215" version="1" comment="This variable_object references an external_variable that contains the float value '1.23456'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 144 | <var_ref>oval:org.mitre.oval.test:var:592</var_ref> |
| 145 | </variable_object> |
| 146 | <variable_object id="oval:org.mitre.oval.test:obj:647" version="1" comment="This variable_object references an external_variable that contains the float value '1.23456','-3.542E2', '100e-4', and '-.4323e-3'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 147 | <var_ref>oval:org.mitre.oval.test:var:964</var_ref> |
| 148 | </variable_object> |
| 149 | <variable_object id="oval:org.mitre.oval.test:obj:536" version="1" comment="This variable_object references an external_variable that contains the integer value '0'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 150 | <var_ref>oval:org.mitre.oval.test:var:621</var_ref> |
| 151 | </variable_object> |
| 152 | <variable_object id="oval:org.mitre.oval.test:obj:40" version="1" comment="This variable_object references an external_variable that contains the integer value '0','-35422', '1004', and '-43233'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 153 | <var_ref>oval:org.mitre.oval.test:var:199</var_ref> |
| 154 | </variable_object> |
| 155 | <variable_object id="oval:org.mitre.oval.test:obj:684" version="1" comment="This variable_object references an external_variable that contains the string value 'test_string_1'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 156 | <var_ref>oval:org.mitre.oval.test:var:183</var_ref> |
| 157 | </variable_object> |
| 158 | <variable_object id="oval:org.mitre.oval.test:obj:962" version="1" comment="This variable_object references an external_variable that contains the string values 'test_string1', 'test_string_2', 'test_string_3', and 'test_string_4'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 159 | <var_ref>oval:org.mitre.oval.test:var:86</var_ref> |
| 160 | </variable_object> |
| 161 | <variable_object id="oval:org.mitre.oval.test:obj:88" version="1" comment="This variable_object references an external_variable that contains the version value '1.2.3.4'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 162 | <var_ref>oval:org.mitre.oval.test:var:110</var_ref> |
| 163 | </variable_object> |
| 164 | <variable_object id="oval:org.mitre.oval.test:obj:915" version="1" comment="This variable_object references an external_variable that contains the version values '1.2.3.4', '1a2s3d4', '1.2.3-04', and '1.2+3.4'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 165 | <var_ref>oval:org.mitre.oval.test:var:215</var_ref> |
| 166 | </variable_object> |
| 167 | <variable_object id="oval:org.mitre.oval.test:obj:361" version="1" comment="This variable_object references an external_variable that restricts the variable's values such that they must match the regular expression '^[0-9]{3}-[0-9]{3}-[0-9]{4}$'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 168 | <var_ref>oval:org.mitre.oval.test:var:629</var_ref> |
| 169 | </variable_object> |
| 170 | <variable_object id="oval:org.mitre.oval.test:obj:645" version="1" comment="This variable_object references an external_variable that restricts the variable's values such that they must match the regular expression '^[0-9]{3}-[0-9]{3}-[0-9]{4}$' or '^1-[0-9]{3}-[0-9]{3}-[0-9]{4}$'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 171 | <var_ref>oval:org.mitre.oval.test:var:327</var_ref> |
| 172 | </variable_object> |
| 173 | <variable_object id="oval:org.mitre.oval.test:obj:548" version="1" comment="This variable_object references an external_variable that restricts the variable's value to '0'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 174 | <var_ref>oval:org.mitre.oval.test:var:642</var_ref> |
| 175 | </variable_object> |
| 176 | <variable_object id="oval:org.mitre.oval.test:obj:441" version="1" comment="This variable_object references an external_variable that restricts the variable's value to '0' or '1'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 177 | <var_ref>oval:org.mitre.oval.test:var:863</var_ref> |
| 178 | </variable_object> |
| 179 | </objects> |
| 180 | <states> |
| 181 | <variable_state id="oval:org.mitre.oval.test:ste:996" version="1" comment="This variable_state represents a variable_object where the binary value is equal to '0000'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 182 | <value datatype="binary">0000</value> |
| 183 | </variable_state> |
| 184 | <variable_state id="oval:org.mitre.oval.test:ste:705" version="1" comment="This variable_state represents a variable_object where the binary value is equal to '0000', '0010', '0100', or '1000'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 185 | <value datatype="binary" var_ref="oval:org.mitre.oval.test:var:914" var_check="at least one"/> |
| 186 | </variable_state> |
| 187 | <variable_state id="oval:org.mitre.oval.test:ste:788" version="1" comment="This variable_state represents a variable_object where the boolean value is equal to 'true'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 188 | <value datatype="boolean">true</value> |
| 189 | </variable_state> |
| 190 | <variable_state id="oval:org.mitre.oval.test:ste:395" version="1" comment="This variable_state represents a variable_object where the boolean value is equal to 'true', 'false', '0', or '1'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 191 | <value datatype="boolean" var_ref="oval:org.mitre.oval.test:var:749" var_check="at least one"/> |
| 192 | </variable_state> |
| 193 | <variable_state id="oval:org.mitre.oval.test:ste:676" version="1" comment="This variable_state represents a variable_object where the evr_string value is equal to '1:2.3.4-5.6'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 194 | <value datatype="evr_string">1:2.3.4-5.6</value> |
| 195 | </variable_state> |
| 196 | <variable_state id="oval:org.mitre.oval.test:ste:702" version="1" comment="This variable_state represents a variable_object where the evr_string value is equal to '1:2.3.4-5.6', '1:2.3.4-5.7', '1:2.3.4-5.8', or '1:2.3.4-5.9'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 197 | <value datatype="evr_string" var_ref="oval:org.mitre.oval.test:var:148" var_check="at least one"/> |
| 198 | </variable_state> |
| 199 | <variable_state id="oval:org.mitre.oval.test:ste:983" version="1" comment="This variable_state represents a variable_object where the float value is equal to '1.23456'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 200 | <value datatype="float">1.23456</value> |
| 201 | </variable_state> |
| 202 | <variable_state id="oval:org.mitre.oval.test:ste:872" version="1" comment="This variable_state represents a variable_object where the float value is equal to '1.23456', '-3.542E2', '100e-4', or '-.4323e-3'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 203 | <value datatype="float" var_ref="oval:org.mitre.oval.test:var:431" var_check="at least one"/> |
| 204 | </variable_state> |
| 205 | <variable_state id="oval:org.mitre.oval.test:ste:121" version="1" comment="This variable_state represents a variable_object where the integer value is equal to '0'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 206 | <value datatype="int">0</value> |
| 207 | </variable_state> |
| 208 | <variable_state id="oval:org.mitre.oval.test:ste:615" version="1" comment="This variable_state represents a variable_object where the integer value is equal to '0', '-35422', '1004', or '-43233'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 209 | <value datatype="int" var_ref="oval:org.mitre.oval.test:var:197" var_check="at least one"/> |
| 210 | </variable_state> |
| 211 | <variable_state id="oval:org.mitre.oval.test:ste:291" version="1" comment="This variable_state represents a variable_object where the string value is equal to 'test_string_1'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 212 | <value>test_string_1</value> |
| 213 | </variable_state> |
| 214 | <variable_state id="oval:org.mitre.oval.test:ste:86" version="1" comment="This variable_state represents a variable_object where the string value is equal to 'test_string_1', 'test_string_2', 'test_string_3', or 'test_string_4'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 215 | <value var_ref="oval:org.mitre.oval.test:var:695" var_check="at least one"/> |
| 216 | </variable_state> |
| 217 | <variable_state id="oval:org.mitre.oval.test:ste:299" version="1" comment="This variable_state represents a variable_object where the version value is equal to '1.2.3.4'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 218 | <value>1.2.3.4</value> |
| 219 | </variable_state> |
| 220 | <variable_state id="oval:org.mitre.oval.test:ste:723" version="1" comment="This variable_state represents a variable_object where the version value is equal to '1.2.3.4', '1a2s3d4', '1.2.3-04', or '1.2+3.4'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 221 | <value datatype="version" var_ref="oval:org.mitre.oval.test:var:383" var_check="at least one"/> |
| 222 | </variable_state> |
| 223 | <variable_state id="oval:org.mitre.oval.test:ste:857" version="1" comment="This variable_state represents a variable_object where the string value matches the regular expression '^(1-)?[0-9]{3}-[0-9]{3}-[0-9]{4}$'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 224 | <value operation="pattern match">^(1-)?[0-9]{3}-[0-9]{3}-[0-9]{4}$</value> |
| 225 | </variable_state> |
| 226 | <variable_state id="oval:org.mitre.oval.test:ste:927" version="1" comment="This variable_state represents a variable_object where the integer value is equal to '0'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 227 | <value datatype="int">0</value> |
| 228 | </variable_state> |
| 229 | <variable_state id="oval:org.mitre.oval.test:ste:138" version="1" comment="This variable_state represents a variable_object where the integer value is equal to '1'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 230 | <value datatype="int">1</value> |
| 231 | </variable_state> |
| 232 | </states> |
| 233 | <variables> |
| 234 | <external_variable id="oval:org.mitre.oval.test:var:566" version="1" comment="This external_variable references the binary value '0000' from external-variables.xml." datatype="binary"/> |
| 235 | <external_variable id="oval:org.mitre.oval.test:var:505" version="1" comment="This external_variable references the binary values '0000', '0010', '0100', and '1000' from external-variables.xml." datatype="binary"/> |
| 236 | <constant_variable id="oval:org.mitre.oval.test:var:914" version="1" comment="This constant_variable represents the binary values '0000', 0010', '0100', and '1000'." datatype="binary"> |
| 237 | <value>0000</value> |
| 238 | <value>0010</value> |
| 239 | <value>0100</value> |
| 240 | <value>1000</value> |
| 241 | </constant_variable> |
| 242 | <external_variable id="oval:org.mitre.oval.test:var:453" version="1" comment="This external_variable references the boolean value 'true' from external-variables.xml." datatype="boolean"/> |
| 243 | <external_variable id="oval:org.mitre.oval.test:var:983" version="1" comment="This external_variable references the boolean values 'true', 'false', '0', and '1' from external-variables.xml." datatype="boolean"/> |
| 244 | <constant_variable id="oval:org.mitre.oval.test:var:749" version="1" comment="This constant_variable represents the boolean values 'true', 'false', '0', and '1'." datatype="boolean"> |
| 245 | <value>true</value> |
| 246 | <value>false</value> |
| 247 | <value>0</value> |
| 248 | <value>1</value> |
| 249 | </constant_variable> |
| 250 | <external_variable id="oval:org.mitre.oval.test:var:89" version="1" comment="This external_variable references the evr_string value '1:2.3.4-5.6' from external-variables.xml" datatype="evr_string"/> |
| 251 | <external_variable id="oval:org.mitre.oval.test:var:51" version="1" comment="This external_variable references the evr_string values '1:2.3.4-5.6', '1:2.3.4-5.7', '1:2.3.4-5.9', and '1:2.3.4-5.9' from external-variables.xml." datatype="evr_string"/> |
| 252 | <constant_variable id="oval:org.mitre.oval.test:var:148" version="1" comment="This constant_variable represents the evr_string values '1:2.3.4-5.6', '1:2.3.4-5.7', '1:2.3.4-5.9', and '1:2.3.4-5.9'." datatype="evr_string"> |
| 253 | <value>1:2.3.4-5.6</value> |
| 254 | <value>1:2.3.4-5.7</value> |
| 255 | <value>1:2.3.4-5.8</value> |
| 256 | <value>1:2.3.4-5.9</value> |
| 257 | </constant_variable> |
| 258 | <external_variable id="oval:org.mitre.oval.test:var:592" version="1" comment="This external_variable references the float value '1.23456' from external-variables.xml" datatype="float"/> |
| 259 | <external_variable id="oval:org.mitre.oval.test:var:964" version="1" comment="This external_variable references the float values '1.23456', '-3.542E2', '100e-4', and '-.4323e-3' from external-variables.xml." datatype="float"/> |
| 260 | <constant_variable id="oval:org.mitre.oval.test:var:431" version="1" comment="This constant_variable represents the float values '1.23456', '-3.542E2', '100e-4', and '-.4323e-3'." datatype="float"> |
| 261 | <value>1.23456</value> |
| 262 | <value>-3.542E2</value> |
| 263 | <value>100e-4</value> |
| 264 | <value>-.4323e-3</value> |
| 265 | </constant_variable> |
| 266 | <external_variable id="oval:org.mitre.oval.test:var:621" version="1" comment="This external_variable references the int value '0' from external-variables.xml" datatype="int"/> |
| 267 | <external_variable id="oval:org.mitre.oval.test:var:199" version="1" comment="This external_variable references the int values '0', '-35422', '1004', and '-43233' from external-variables.xml." datatype="int"/> |
| 268 | <constant_variable id="oval:org.mitre.oval.test:var:197" version="1" comment="This constant_variable represents the int values '0', '-35422', '1004', and '-43233'." datatype="int"> |
| 269 | <value>0</value> |
| 270 | <value>-35422</value> |
| 271 | <value>1004</value> |
| 272 | <value>-43233</value> |
| 273 | </constant_variable> |
| 274 | <external_variable id="oval:org.mitre.oval.test:var:183" version="1" comment="This external_variable references the string value 'test_string_1' from external-variables.xml" datatype="string"/> |
| 275 | <external_variable id="oval:org.mitre.oval.test:var:86" version="1" comment="This external_variable references the string values 'test_string_1', 'test_string_2', 'test_string_3', and 'test_string_4' from external-variables.xml." datatype="string"/> |
| 276 | <constant_variable id="oval:org.mitre.oval.test:var:695" version="1" comment="This constant_variable represents the string values 'test_string_1', 'test_string_2', 'test_string_3', and 'test_string_4'." datatype="string"> |
| 277 | <value>test_string_1</value> |
| 278 | <value>test_string_2</value> |
| 279 | <value>test_string_3</value> |
| 280 | <value>test_string_4</value> |
| 281 | </constant_variable> |
| 282 | <external_variable id="oval:org.mitre.oval.test:var:110" version="1" comment="This external_variable references the version value '1.2.3.4' from external-variables.xml" datatype="version"/> |
| 283 | <external_variable id="oval:org.mitre.oval.test:var:215" version="1" comment="This external_variable references the version values '1.2.3.4', '1a2s3d4', '1.2.3-04', and '1.2+3.4' from external-variables.xml." datatype="version"/> |
| 284 | <constant_variable id="oval:org.mitre.oval.test:var:383" version="1" comment="This constant_variable represents the version values '1.2.3.4', '1a2s3d4', '1.2.3-04', and '1.2+3.4'." datatype="version"> |
| 285 | <value>1.2.3.4</value> |
| 286 | <value>1a2s3d4</value> |
| 287 | <value>1.2.3-04</value> |
| 288 | <value>1.2+3.4</value> |
| 289 | </constant_variable> |
| 290 | <external_variable id="oval:org.mitre.oval.test:var:629" version="1" comment="This external_variable references the string value '123-456-7890' from external-variables.xml and restricts the value such that it must match the regular expression '^[0-9]{3}-[0-9]{3}-[0-9]{4}$'." datatype="string"> |
| 291 | <possible_restriction hint="a"> |
| 292 | <restriction operation="pattern match">^[0-9]{3}-[0-9]{3}-[0-9]{4}$</restriction> |
| 293 | </possible_restriction> |
| 294 | </external_variable> |
| 295 | <external_variable id="oval:org.mitre.oval.test:var:327" version="1" comment="This external_variable references the string value '1-123-456-7890' from external-variables.xml and restricts the value such that it must match the regular expression '^[0-9]{3}-[0-9]{3}-[0-9]{4}$' or '^1-[0-9]{3}-[0-9]{3}-[0-9]{4}$'." datatype="string"> |
| 296 | <possible_restriction hint="This restricts the variable value(s) to the 10 digit telephone number format xxx-xxx-xxxx"> |
| 297 | <restriction operation="pattern match">^[0-9]{3}-[0-9]{3}-[0-9]{4}$</restriction> |
| 298 | </possible_restriction> |
| 299 | <possible_restriction hint="This restricts the variable value(s) to the 1 plus 10 digit telephone number format x-xxx-xxx-xxxx"> |
| 300 | <restriction operation="pattern match">^1-[0-9]{3}-[0-9]{3}-[0-9]{4}$</restriction> |
| 301 | </possible_restriction> |
| 302 | </external_variable> |
| 303 | <external_variable id="oval:org.mitre.oval.test:var:642" version="1" comment="This external_variable references the integer value '0' from external-variables.xml and restricts the value such that it must be equal to '0'." datatype="int"> |
| 304 | <possible_value hint="This restricts the variable value(s) to '0'.">0</possible_value> |
| 305 | </external_variable> |
| 306 | <external_variable id="oval:org.mitre.oval.test:var:863" version="1" comment="This external_variable references the integer value '1' from external-variables.xml and restricts the value such that it must be equal to '0' or '1'." datatype="int"> |
| 307 | <possible_value hint="This restricts the variable value(s) to '0'.">0</possible_value> |
| 308 | <possible_value hint="This restricts the variable value(s) to '1'.">1</possible_value> |
| 309 | </external_variable> |
| 310 | </variables> |
| 311 | </oval_definitions> |