<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:11pt;color:#006fc9;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi All,</p>
<p>I was trying below state:</p>
<p><br>
</p>
<p></p>
<div>    <textfilecontent54_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" </div>
<div>                             id="oval:vrops-sles113.vmware.com:ste:38" </div>
<div>                             version="1" </div>
<div>                             comment="SRG-OS-000076-GPOS-00044-login-defs-60-or-less"></div>
<div>       <subexpression        datatype="int" operation="less than or equal">60</subexpression></div>
<div>       <subexpression        datatype="int" operation="not equal">0</subexpression></div>
<div>    </textfilecontent54_state></div>
<br>
<p></p>
<p><br>
</p>
<p>and this throws the below error:</p>
<p><br>
</p>
<p></p>
<div>Element '{http://oval.mitre.org/XMLSchema/oval-definitions-5#independent}subexpression': This element is not expected. Expected is ( {http://oval.mitre.org/XMLSchema/oval-definitions-5#independent}windows_view ).</div>
<div>OpenSCAP Error: Invalid OVAL Definition (5.11) content in vRops-6.3-SLES-11.3-oval.xml. [oscap_source.c:205]</div>
<br>
<p></p>
<p>Am I missing something?</p>
<p><br>
</p>
<p>The above works perfectly if I remove one of the subexpressions from the state. So, do I need to have different tests corresponding to one of the subexpressions each?</p>
<p><br>
</p>
<p>operator seems to work well if the tested properties are different. But, seems it does not if tested properties are same. Could this be OpenSCAP bug?</p>
<p><br>
</p>
<p>Thanks and regards,</p>
<p>Pravin Goyal</p>
<p>Pravin Goyal</p>
</div>
</body>
</html>