Debian Codegraph @

schemas/oval/5.11.3/oval-definitions-schematron.xsl

raw symbols SCIP
1 <?xml version="1.0" standalone="yes"?>
2 <axsl:stylesheet xmlns:axsl="http://www.w3.org/1999/XSL/Transform" xmlns:sch="http://www.ascc.net/xml/schematron" xmlns:iso="http://purl.oclc.org/dsdl/schematron" xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:aix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#aix" xmlns:android-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#android" xmlns:apache-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#apache" xmlns:apple-ios-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#apple_ios" xmlns:asa-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#asa" xmlns:catos-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#catos" xmlns:esx-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#esx" xmlns:freebsd-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#freebsd" xmlns:hpux-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#hpux" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:ios-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#ios" xmlns:iosxe-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#iosxe" xmlns:junos-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#junos" xmlns:linux-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" xmlns:macos-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#macos" xmlns:netconf-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#netconf" xmlns:pixos-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#pixos" xmlns:sp-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#sharepoint" xmlns:sol-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#solaris" xmlns:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" xmlns:win-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows" version="1.0"><!--Implementers: please note that overriding process-prolog or process-root is
3 the preferred method for meta-stylesheets to use where possible. -->
4 <axsl:param name="archiveDirParameter"/><axsl:param name="archiveNameParameter"/><axsl:param name="fileNameParameter"/><axsl:param name="fileDirParameter"/>
5
6 <!--PHASES-->
7
8
9 <!--PROLOG-->
10
11
12 <!--KEYS-->
13
14
15 <!--DEFAULT RULES-->
16
17
18 <!--MODE: SCHEMATRON-SELECT-FULL-PATH-->
19 <!--This mode can be used to generate an ugly though full XPath for locators-->
20 <axsl:template match="*" mode="schematron-select-full-path"><axsl:apply-templates select="." mode="schematron-get-full-path"/></axsl:template>
21
22 <!--MODE: SCHEMATRON-FULL-PATH-->
23 <!--This mode can be used to generate an ugly though full XPath for locators-->
24 <axsl:template match="*" mode="schematron-get-full-path"><axsl:apply-templates select="parent::*" mode="schematron-get-full-path"/><axsl:text>/</axsl:text><axsl:choose><axsl:when test="namespace-uri()=''"><axsl:value-of select="name()"/><axsl:variable name="p_1" select="1+ count(preceding-sibling::*[name()=name(current())])"/><axsl:if test="$p_1&gt;1 or following-sibling::*[name()=name(current())]">[<axsl:value-of select="$p_1"/>]</axsl:if></axsl:when><axsl:otherwise><axsl:text>*[local-name()='</axsl:text><axsl:value-of select="local-name()"/><axsl:text>' and namespace-uri()='</axsl:text><axsl:value-of select="namespace-uri()"/><axsl:text>']</axsl:text><axsl:variable name="p_2" select="1+ count(preceding-sibling::*[local-name()=local-name(current())])"/><axsl:if test="$p_2&gt;1 or following-sibling::*[local-name()=local-name(current())]">[<axsl:value-of select="$p_2"/>]</axsl:if></axsl:otherwise></axsl:choose></axsl:template><axsl:template match="@*" mode="schematron-get-full-path"><axsl:text>/</axsl:text><axsl:choose><axsl:when test="namespace-uri()=''">@<axsl:value-of select="name()"/></axsl:when><axsl:otherwise><axsl:text>@*[local-name()='</axsl:text><axsl:value-of select="local-name()"/><axsl:text>' and namespace-uri()='</axsl:text><axsl:value-of select="namespace-uri()"/><axsl:text>']</axsl:text></axsl:otherwise></axsl:choose></axsl:template>
25
26 <!--MODE: SCHEMATRON-FULL-PATH-2-->
27 <!--This mode can be used to generate prefixed XPath for humans-->
28 <axsl:template match="node() | @*" mode="schematron-get-full-path-2"><axsl:for-each select="ancestor-or-self::*"><axsl:text>/</axsl:text><axsl:value-of select="name(.)"/><axsl:if test="preceding-sibling::*[name(.)=name(current())]"><axsl:text>[</axsl:text><axsl:value-of select="count(preceding-sibling::*[name(.)=name(current())])+1"/><axsl:text>]</axsl:text></axsl:if></axsl:for-each><axsl:if test="not(self::*)"><axsl:text/>/@<axsl:value-of select="name(.)"/></axsl:if></axsl:template>
29
30 <!--MODE: GENERATE-ID-FROM-PATH -->
31 <axsl:template match="/" mode="generate-id-from-path"/><axsl:template match="text()" mode="generate-id-from-path"><axsl:apply-templates select="parent::*" mode="generate-id-from-path"/><axsl:value-of select="concat('.text-', 1+count(preceding-sibling::text()), '-')"/></axsl:template><axsl:template match="comment()" mode="generate-id-from-path"><axsl:apply-templates select="parent::*" mode="generate-id-from-path"/><axsl:value-of select="concat('.comment-', 1+count(preceding-sibling::comment()), '-')"/></axsl:template><axsl:template match="processing-instruction()" mode="generate-id-from-path"><axsl:apply-templates select="parent::*" mode="generate-id-from-path"/><axsl:value-of select="concat('.processing-instruction-', 1+count(preceding-sibling::processing-instruction()), '-')"/></axsl:template><axsl:template match="@*" mode="generate-id-from-path"><axsl:apply-templates select="parent::*" mode="generate-id-from-path"/><axsl:value-of select="concat('.@', name())"/></axsl:template><axsl:template match="*" mode="generate-id-from-path" priority="-0.5"><axsl:apply-templates select="parent::*" mode="generate-id-from-path"/><axsl:text>.</axsl:text><axsl:value-of select="concat('.',name(),'-',1+count(preceding-sibling::*[name()=name(current())]),'-')"/></axsl:template><!--MODE: SCHEMATRON-FULL-PATH-3-->
32 <!--This mode can be used to generate prefixed XPath for humans
33 (Top-level element has index)-->
34 <axsl:template match="node() | @*" mode="schematron-get-full-path-3"><axsl:for-each select="ancestor-or-self::*"><axsl:text>/</axsl:text><axsl:value-of select="name(.)"/><axsl:if test="parent::*"><axsl:text>[</axsl:text><axsl:value-of select="count(preceding-sibling::*[name(.)=name(current())])+1"/><axsl:text>]</axsl:text></axsl:if></axsl:for-each><axsl:if test="not(self::*)"><axsl:text/>/@<axsl:value-of select="name(.)"/></axsl:if></axsl:template>
35
36 <!--MODE: GENERATE-ID-2 -->
37 <axsl:template match="/" mode="generate-id-2">U</axsl:template><axsl:template match="*" mode="generate-id-2" priority="2"><axsl:text>U</axsl:text><axsl:number level="multiple" count="*"/></axsl:template><axsl:template match="node()" mode="generate-id-2"><axsl:text>U.</axsl:text><axsl:number level="multiple" count="*"/><axsl:text>n</axsl:text><axsl:number count="node()"/></axsl:template><axsl:template match="@*" mode="generate-id-2"><axsl:text>U.</axsl:text><axsl:number level="multiple" count="*"/><axsl:text>_</axsl:text><axsl:value-of select="string-length(local-name(.))"/><axsl:text>_</axsl:text><axsl:value-of select="translate(name(),':','.')"/></axsl:template><!--Strip characters--><axsl:template match="text()" priority="-1"/>
38
39 <!--SCHEMA METADATA-->
40 <axsl:template match="/"><axsl:apply-templates select="/" mode="M24"/><axsl:apply-templates select="/" mode="M25"/><axsl:apply-templates select="/" mode="M26"/><axsl:apply-templates select="/" mode="M27"/><axsl:apply-templates select="/" mode="M28"/><axsl:apply-templates select="/" mode="M29"/><axsl:apply-templates select="/" mode="M30"/><axsl:apply-templates select="/" mode="M31"/><axsl:apply-templates select="/" mode="M32"/><axsl:apply-templates select="/" mode="M33"/><axsl:apply-templates select="/" mode="M34"/><axsl:apply-templates select="/" mode="M35"/><axsl:apply-templates select="/" mode="M36"/><axsl:apply-templates select="/" mode="M37"/><axsl:apply-templates select="/" mode="M38"/><axsl:apply-templates select="/" mode="M39"/><axsl:apply-templates select="/" mode="M40"/><axsl:apply-templates select="/" mode="M41"/><axsl:apply-templates select="/" mode="M42"/><axsl:apply-templates select="/" mode="M43"/><axsl:apply-templates select="/" mode="M44"/><axsl:apply-templates select="/" mode="M45"/><axsl:apply-templates select="/" mode="M46"/><axsl:apply-templates select="/" mode="M47"/><axsl:apply-templates select="/" mode="M48"/><axsl:apply-templates select="/" mode="M49"/><axsl:apply-templates select="/" mode="M50"/><axsl:apply-templates select="/" mode="M51"/><axsl:apply-templates select="/" mode="M52"/><axsl:apply-templates select="/" mode="M53"/><axsl:apply-templates select="/" mode="M54"/><axsl:apply-templates select="/" mode="M55"/><axsl:apply-templates select="/" mode="M56"/><axsl:apply-templates select="/" mode="M57"/><axsl:apply-templates select="/" mode="M58"/><axsl:apply-templates select="/" mode="M59"/><axsl:apply-templates select="/" mode="M60"/><axsl:apply-templates select="/" mode="M61"/><axsl:apply-templates select="/" mode="M62"/><axsl:apply-templates select="/" mode="M63"/><axsl:apply-templates select="/" mode="M64"/><axsl:apply-templates select="/" mode="M65"/><axsl:apply-templates select="/" mode="M66"/><axsl:apply-templates select="/" mode="M67"/><axsl:apply-templates select="/" mode="M68"/><axsl:apply-templates select="/" mode="M69"/><axsl:apply-templates select="/" mode="M70"/><axsl:apply-templates select="/" mode="M71"/><axsl:apply-templates select="/" mode="M72"/><axsl:apply-templates select="/" mode="M73"/><axsl:apply-templates select="/" mode="M74"/><axsl:apply-templates select="/" mode="M75"/><axsl:apply-templates select="/" mode="M76"/><axsl:apply-templates select="/" mode="M77"/><axsl:apply-templates select="/" mode="M78"/><axsl:apply-templates select="/" mode="M79"/><axsl:apply-templates select="/" mode="M80"/><axsl:apply-templates select="/" mode="M81"/><axsl:apply-templates select="/" mode="M82"/><axsl:apply-templates select="/" mode="M83"/><axsl:apply-templates select="/" mode="M84"/><axsl:apply-templates select="/" mode="M85"/><axsl:apply-templates select="/" mode="M86"/><axsl:apply-templates select="/" mode="M87"/><axsl:apply-templates select="/" mode="M88"/><axsl:apply-templates select="/" mode="M89"/><axsl:apply-templates select="/" mode="M90"/><axsl:apply-templates select="/" mode="M91"/><axsl:apply-templates select="/" mode="M92"/><axsl:apply-templates select="/" mode="M93"/><axsl:apply-templates select="/" mode="M94"/><axsl:apply-templates select="/" mode="M95"/><axsl:apply-templates select="/" mode="M96"/><axsl:apply-templates select="/" mode="M97"/><axsl:apply-templates select="/" mode="M98"/><axsl:apply-templates select="/" mode="M99"/><axsl:apply-templates select="/" mode="M100"/><axsl:apply-templates select="/" mode="M101"/><axsl:apply-templates select="/" mode="M102"/><axsl:apply-templates select="/" mode="M103"/><axsl:apply-templates select="/" mode="M104"/><axsl:apply-templates select="/" mode="M105"/><axsl:apply-templates select="/" mode="M106"/><axsl:apply-templates select="/" mode="M107"/><axsl:apply-templates select="/" mode="M108"/><axsl:apply-templates select="/" mode="M109"/><axsl:apply-templates select="/" mode="M110"/><axsl:apply-templates select="/" mode="M111"/><axsl:apply-templates select="/" mode="M112"/><axsl:apply-templates select="/" mode="M113"/><axsl:apply-templates select="/" mode="M114"/><axsl:apply-templates select="/" mode="M115"/><axsl:apply-templates select="/" mode="M116"/><axsl:apply-templates select="/" mode="M117"/><axsl:apply-templates select="/" mode="M118"/><axsl:apply-templates select="/" mode="M119"/><axsl:apply-templates select="/" mode="M120"/><axsl:apply-templates select="/" mode="M121"/><axsl:apply-templates select="/" mode="M122"/><axsl:apply-templates select="/" mode="M123"/><axsl:apply-templates select="/" mode="M124"/><axsl:apply-templates select="/" mode="M125"/><axsl:apply-templates select="/" mode="M126"/><axsl:apply-templates select="/" mode="M127"/><axsl:apply-templates select="/" mode="M128"/><axsl:apply-templates select="/" mode="M129"/><axsl:apply-templates select="/" mode="M130"/><axsl:apply-templates select="/" mode="M131"/><axsl:apply-templates select="/" mode="M132"/><axsl:apply-templates select="/" mode="M133"/><axsl:apply-templates select="/" mode="M134"/><axsl:apply-templates select="/" mode="M135"/><axsl:apply-templates select="/" mode="M136"/><axsl:apply-templates select="/" mode="M137"/><axsl:apply-templates select="/" mode="M138"/><axsl:apply-templates select="/" mode="M139"/><axsl:apply-templates select="/" mode="M140"/><axsl:apply-templates select="/" mode="M141"/><axsl:apply-templates select="/" mode="M142"/><axsl:apply-templates select="/" mode="M143"/><axsl:apply-templates select="/" mode="M144"/><axsl:apply-templates select="/" mode="M145"/><axsl:apply-templates select="/" mode="M146"/><axsl:apply-templates select="/" mode="M147"/><axsl:apply-templates select="/" mode="M148"/><axsl:apply-templates select="/" mode="M149"/><axsl:apply-templates select="/" mode="M150"/><axsl:apply-templates select="/" mode="M151"/><axsl:apply-templates select="/" mode="M152"/><axsl:apply-templates select="/" mode="M153"/><axsl:apply-templates select="/" mode="M154"/><axsl:apply-templates select="/" mode="M155"/><axsl:apply-templates select="/" mode="M156"/><axsl:apply-templates select="/" mode="M157"/><axsl:apply-templates select="/" mode="M158"/><axsl:apply-templates select="/" mode="M159"/><axsl:apply-templates select="/" mode="M160"/><axsl:apply-templates select="/" mode="M161"/><axsl:apply-templates select="/" mode="M162"/><axsl:apply-templates select="/" mode="M163"/><axsl:apply-templates select="/" mode="M164"/><axsl:apply-templates select="/" mode="M165"/><axsl:apply-templates select="/" mode="M166"/><axsl:apply-templates select="/" mode="M167"/><axsl:apply-templates select="/" mode="M168"/><axsl:apply-templates select="/" mode="M169"/><axsl:apply-templates select="/" mode="M170"/><axsl:apply-templates select="/" mode="M171"/><axsl:apply-templates select="/" mode="M172"/><axsl:apply-templates select="/" mode="M173"/><axsl:apply-templates select="/" mode="M174"/><axsl:apply-templates select="/" mode="M175"/><axsl:apply-templates select="/" mode="M176"/><axsl:apply-templates select="/" mode="M177"/><axsl:apply-templates select="/" mode="M178"/><axsl:apply-templates select="/" mode="M179"/><axsl:apply-templates select="/" mode="M180"/><axsl:apply-templates select="/" mode="M181"/><axsl:apply-templates select="/" mode="M182"/><axsl:apply-templates select="/" mode="M183"/><axsl:apply-templates select="/" mode="M184"/><axsl:apply-templates select="/" mode="M185"/><axsl:apply-templates select="/" mode="M186"/><axsl:apply-templates select="/" mode="M187"/><axsl:apply-templates select="/" mode="M188"/><axsl:apply-templates select="/" mode="M189"/><axsl:apply-templates select="/" mode="M190"/><axsl:apply-templates select="/" mode="M191"/><axsl:apply-templates select="/" mode="M192"/><axsl:apply-templates select="/" mode="M193"/><axsl:apply-templates select="/" mode="M194"/><axsl:apply-templates select="/" mode="M195"/><axsl:apply-templates select="/" mode="M196"/><axsl:apply-templates select="/" mode="M197"/><axsl:apply-templates select="/" mode="M198"/><axsl:apply-templates select="/" mode="M199"/><axsl:apply-templates select="/" mode="M200"/><axsl:apply-templates select="/" mode="M201"/><axsl:apply-templates select="/" mode="M202"/><axsl:apply-templates select="/" mode="M203"/><axsl:apply-templates select="/" mode="M204"/><axsl:apply-templates select="/" mode="M205"/><axsl:apply-templates select="/" mode="M206"/><axsl:apply-templates select="/" mode="M207"/><axsl:apply-templates select="/" mode="M208"/><axsl:apply-templates select="/" mode="M209"/><axsl:apply-templates select="/" mode="M210"/><axsl:apply-templates select="/" mode="M211"/><axsl:apply-templates select="/" mode="M212"/><axsl:apply-templates select="/" mode="M213"/><axsl:apply-templates select="/" mode="M214"/><axsl:apply-templates select="/" mode="M215"/><axsl:apply-templates select="/" mode="M216"/><axsl:apply-templates select="/" mode="M217"/><axsl:apply-templates select="/" mode="M218"/><axsl:apply-templates select="/" mode="M219"/><axsl:apply-templates select="/" mode="M220"/><axsl:apply-templates select="/" mode="M221"/><axsl:apply-templates select="/" mode="M222"/><axsl:apply-templates select="/" mode="M223"/><axsl:apply-templates select="/" mode="M224"/><axsl:apply-templates select="/" mode="M225"/><axsl:apply-templates select="/" mode="M226"/><axsl:apply-templates select="/" mode="M227"/><axsl:apply-templates select="/" mode="M228"/><axsl:apply-templates select="/" mode="M229"/><axsl:apply-templates select="/" mode="M230"/><axsl:apply-templates select="/" mode="M231"/><axsl:apply-templates select="/" mode="M232"/><axsl:apply-templates select="/" mode="M233"/><axsl:apply-templates select="/" mode="M234"/><axsl:apply-templates select="/" mode="M235"/><axsl:apply-templates select="/" mode="M236"/><axsl:apply-templates select="/" mode="M237"/><axsl:apply-templates select="/" mode="M238"/><axsl:apply-templates select="/" mode="M239"/><axsl:apply-templates select="/" mode="M240"/><axsl:apply-templates select="/" mode="M241"/><axsl:apply-templates select="/" mode="M242"/><axsl:apply-templates select="/" mode="M243"/><axsl:apply-templates select="/" mode="M244"/><axsl:apply-templates select="/" mode="M245"/><axsl:apply-templates select="/" mode="M246"/><axsl:apply-templates select="/" mode="M247"/><axsl:apply-templates select="/" mode="M248"/><axsl:apply-templates select="/" mode="M249"/><axsl:apply-templates select="/" mode="M250"/><axsl:apply-templates select="/" mode="M251"/><axsl:apply-templates select="/" mode="M252"/><axsl:apply-templates select="/" mode="M253"/><axsl:apply-templates select="/" mode="M254"/><axsl:apply-templates select="/" mode="M255"/><axsl:apply-templates select="/" mode="M256"/><axsl:apply-templates select="/" mode="M257"/><axsl:apply-templates select="/" mode="M258"/><axsl:apply-templates select="/" mode="M259"/><axsl:apply-templates select="/" mode="M260"/><axsl:apply-templates select="/" mode="M261"/><axsl:apply-templates select="/" mode="M262"/><axsl:apply-templates select="/" mode="M263"/><axsl:apply-templates select="/" mode="M264"/><axsl:apply-templates select="/" mode="M265"/><axsl:apply-templates select="/" mode="M266"/><axsl:apply-templates select="/" mode="M267"/><axsl:apply-templates select="/" mode="M268"/><axsl:apply-templates select="/" mode="M269"/><axsl:apply-templates select="/" mode="M270"/><axsl:apply-templates select="/" mode="M271"/><axsl:apply-templates select="/" mode="M272"/><axsl:apply-templates select="/" mode="M273"/><axsl:apply-templates select="/" mode="M274"/><axsl:apply-templates select="/" mode="M275"/><axsl:apply-templates select="/" mode="M276"/><axsl:apply-templates select="/" mode="M277"/><axsl:apply-templates select="/" mode="M278"/><axsl:apply-templates select="/" mode="M279"/><axsl:apply-templates select="/" mode="M280"/><axsl:apply-templates select="/" mode="M281"/><axsl:apply-templates select="/" mode="M282"/><axsl:apply-templates select="/" mode="M283"/><axsl:apply-templates select="/" mode="M284"/><axsl:apply-templates select="/" mode="M285"/><axsl:apply-templates select="/" mode="M286"/><axsl:apply-templates select="/" mode="M287"/><axsl:apply-templates select="/" mode="M288"/><axsl:apply-templates select="/" mode="M289"/><axsl:apply-templates select="/" mode="M290"/><axsl:apply-templates select="/" mode="M291"/><axsl:apply-templates select="/" mode="M292"/><axsl:apply-templates select="/" mode="M293"/><axsl:apply-templates select="/" mode="M294"/><axsl:apply-templates select="/" mode="M295"/><axsl:apply-templates select="/" mode="M296"/><axsl:apply-templates select="/" mode="M297"/><axsl:apply-templates select="/" mode="M298"/><axsl:apply-templates select="/" mode="M299"/><axsl:apply-templates select="/" mode="M300"/><axsl:apply-templates select="/" mode="M301"/><axsl:apply-templates select="/" mode="M302"/><axsl:apply-templates select="/" mode="M303"/><axsl:apply-templates select="/" mode="M304"/><axsl:apply-templates select="/" mode="M305"/><axsl:apply-templates select="/" mode="M306"/><axsl:apply-templates select="/" mode="M307"/><axsl:apply-templates select="/" mode="M308"/><axsl:apply-templates select="/" mode="M309"/><axsl:apply-templates select="/" mode="M310"/><axsl:apply-templates select="/" mode="M311"/><axsl:apply-templates select="/" mode="M312"/><axsl:apply-templates select="/" mode="M313"/><axsl:apply-templates select="/" mode="M314"/><axsl:apply-templates select="/" mode="M315"/><axsl:apply-templates select="/" mode="M316"/><axsl:apply-templates select="/" mode="M317"/><axsl:apply-templates select="/" mode="M318"/><axsl:apply-templates select="/" mode="M319"/><axsl:apply-templates select="/" mode="M320"/><axsl:apply-templates select="/" mode="M321"/><axsl:apply-templates select="/" mode="M322"/><axsl:apply-templates select="/" mode="M323"/><axsl:apply-templates select="/" mode="M324"/><axsl:apply-templates select="/" mode="M325"/><axsl:apply-templates select="/" mode="M326"/><axsl:apply-templates select="/" mode="M327"/><axsl:apply-templates select="/" mode="M328"/><axsl:apply-templates select="/" mode="M329"/><axsl:apply-templates select="/" mode="M330"/><axsl:apply-templates select="/" mode="M331"/><axsl:apply-templates select="/" mode="M332"/><axsl:apply-templates select="/" mode="M333"/><axsl:apply-templates select="/" mode="M334"/><axsl:apply-templates select="/" mode="M335"/><axsl:apply-templates select="/" mode="M336"/><axsl:apply-templates select="/" mode="M337"/><axsl:apply-templates select="/" mode="M338"/><axsl:apply-templates select="/" mode="M339"/><axsl:apply-templates select="/" mode="M340"/><axsl:apply-templates select="/" mode="M341"/><axsl:apply-templates select="/" mode="M342"/><axsl:apply-templates select="/" mode="M343"/><axsl:apply-templates select="/" mode="M344"/><axsl:apply-templates select="/" mode="M345"/><axsl:apply-templates select="/" mode="M346"/><axsl:apply-templates select="/" mode="M347"/><axsl:apply-templates select="/" mode="M348"/><axsl:apply-templates select="/" mode="M349"/><axsl:apply-templates select="/" mode="M350"/><axsl:apply-templates select="/" mode="M351"/><axsl:apply-templates select="/" mode="M352"/><axsl:apply-templates select="/" mode="M353"/><axsl:apply-templates select="/" mode="M354"/><axsl:apply-templates select="/" mode="M355"/><axsl:apply-templates select="/" mode="M356"/><axsl:apply-templates select="/" mode="M357"/><axsl:apply-templates select="/" mode="M358"/><axsl:apply-templates select="/" mode="M359"/><axsl:apply-templates select="/" mode="M360"/><axsl:apply-templates select="/" mode="M361"/><axsl:apply-templates select="/" mode="M362"/><axsl:apply-templates select="/" mode="M363"/><axsl:apply-templates select="/" mode="M364"/><axsl:apply-templates select="/" mode="M365"/><axsl:apply-templates select="/" mode="M366"/><axsl:apply-templates select="/" mode="M367"/><axsl:apply-templates select="/" mode="M368"/><axsl:apply-templates select="/" mode="M369"/><axsl:apply-templates select="/" mode="M370"/><axsl:apply-templates select="/" mode="M371"/><axsl:apply-templates select="/" mode="M372"/><axsl:apply-templates select="/" mode="M373"/><axsl:apply-templates select="/" mode="M374"/><axsl:apply-templates select="/" mode="M375"/><axsl:apply-templates select="/" mode="M376"/><axsl:apply-templates select="/" mode="M377"/><axsl:apply-templates select="/" mode="M378"/><axsl:apply-templates select="/" mode="M379"/><axsl:apply-templates select="/" mode="M380"/><axsl:apply-templates select="/" mode="M381"/><axsl:apply-templates select="/" mode="M382"/><axsl:apply-templates select="/" mode="M383"/><axsl:apply-templates select="/" mode="M384"/><axsl:apply-templates select="/" mode="M385"/><axsl:apply-templates select="/" mode="M386"/><axsl:apply-templates select="/" mode="M387"/><axsl:apply-templates select="/" mode="M388"/><axsl:apply-templates select="/" mode="M389"/><axsl:apply-templates select="/" mode="M390"/><axsl:apply-templates select="/" mode="M391"/><axsl:apply-templates select="/" mode="M392"/><axsl:apply-templates select="/" mode="M393"/><axsl:apply-templates select="/" mode="M394"/><axsl:apply-templates select="/" mode="M395"/><axsl:apply-templates select="/" mode="M396"/><axsl:apply-templates select="/" mode="M397"/><axsl:apply-templates select="/" mode="M398"/><axsl:apply-templates select="/" mode="M399"/><axsl:apply-templates select="/" mode="M400"/><axsl:apply-templates select="/" mode="M401"/><axsl:apply-templates select="/" mode="M402"/><axsl:apply-templates select="/" mode="M403"/><axsl:apply-templates select="/" mode="M404"/><axsl:apply-templates select="/" mode="M405"/><axsl:apply-templates select="/" mode="M406"/><axsl:apply-templates select="/" mode="M407"/><axsl:apply-templates select="/" mode="M408"/><axsl:apply-templates select="/" mode="M409"/><axsl:apply-templates select="/" mode="M410"/><axsl:apply-templates select="/" mode="M411"/><axsl:apply-templates select="/" mode="M412"/><axsl:apply-templates select="/" mode="M413"/><axsl:apply-templates select="/" mode="M414"/><axsl:apply-templates select="/" mode="M415"/><axsl:apply-templates select="/" mode="M416"/><axsl:apply-templates select="/" mode="M417"/><axsl:apply-templates select="/" mode="M418"/><axsl:apply-templates select="/" mode="M419"/><axsl:apply-templates select="/" mode="M420"/><axsl:apply-templates select="/" mode="M421"/><axsl:apply-templates select="/" mode="M422"/><axsl:apply-templates select="/" mode="M423"/><axsl:apply-templates select="/" mode="M424"/><axsl:apply-templates select="/" mode="M425"/><axsl:apply-templates select="/" mode="M426"/><axsl:apply-templates select="/" mode="M427"/><axsl:apply-templates select="/" mode="M428"/><axsl:apply-templates select="/" mode="M429"/><axsl:apply-templates select="/" mode="M430"/><axsl:apply-templates select="/" mode="M431"/><axsl:apply-templates select="/" mode="M432"/><axsl:apply-templates select="/" mode="M433"/><axsl:apply-templates select="/" mode="M434"/><axsl:apply-templates select="/" mode="M435"/><axsl:apply-templates select="/" mode="M436"/><axsl:apply-templates select="/" mode="M437"/><axsl:apply-templates select="/" mode="M438"/><axsl:apply-templates select="/" mode="M439"/><axsl:apply-templates select="/" mode="M440"/><axsl:apply-templates select="/" mode="M441"/><axsl:apply-templates select="/" mode="M442"/><axsl:apply-templates select="/" mode="M443"/><axsl:apply-templates select="/" mode="M444"/><axsl:apply-templates select="/" mode="M445"/><axsl:apply-templates select="/" mode="M446"/><axsl:apply-templates select="/" mode="M447"/><axsl:apply-templates select="/" mode="M448"/><axsl:apply-templates select="/" mode="M449"/><axsl:apply-templates select="/" mode="M450"/><axsl:apply-templates select="/" mode="M451"/><axsl:apply-templates select="/" mode="M452"/><axsl:apply-templates select="/" mode="M453"/><axsl:apply-templates select="/" mode="M454"/><axsl:apply-templates select="/" mode="M455"/><axsl:apply-templates select="/" mode="M456"/><axsl:apply-templates select="/" mode="M457"/><axsl:apply-templates select="/" mode="M458"/><axsl:apply-templates select="/" mode="M459"/><axsl:apply-templates select="/" mode="M460"/><axsl:apply-templates select="/" mode="M461"/><axsl:apply-templates select="/" mode="M462"/><axsl:apply-templates select="/" mode="M463"/><axsl:apply-templates select="/" mode="M464"/><axsl:apply-templates select="/" mode="M465"/><axsl:apply-templates select="/" mode="M466"/><axsl:apply-templates select="/" mode="M467"/><axsl:apply-templates select="/" mode="M468"/><axsl:apply-templates select="/" mode="M469"/><axsl:apply-templates select="/" mode="M470"/><axsl:apply-templates select="/" mode="M471"/><axsl:apply-templates select="/" mode="M472"/><axsl:apply-templates select="/" mode="M473"/><axsl:apply-templates select="/" mode="M474"/><axsl:apply-templates select="/" mode="M475"/><axsl:apply-templates select="/" mode="M476"/><axsl:apply-templates select="/" mode="M477"/><axsl:apply-templates select="/" mode="M478"/><axsl:apply-templates select="/" mode="M479"/><axsl:apply-templates select="/" mode="M480"/><axsl:apply-templates select="/" mode="M481"/><axsl:apply-templates select="/" mode="M482"/><axsl:apply-templates select="/" mode="M483"/><axsl:apply-templates select="/" mode="M484"/><axsl:apply-templates select="/" mode="M485"/><axsl:apply-templates select="/" mode="M486"/><axsl:apply-templates select="/" mode="M487"/><axsl:apply-templates select="/" mode="M488"/><axsl:apply-templates select="/" mode="M489"/><axsl:apply-templates select="/" mode="M490"/><axsl:apply-templates select="/" mode="M491"/><axsl:apply-templates select="/" mode="M492"/><axsl:apply-templates select="/" mode="M493"/><axsl:apply-templates select="/" mode="M494"/><axsl:apply-templates select="/" mode="M495"/><axsl:apply-templates select="/" mode="M496"/><axsl:apply-templates select="/" mode="M497"/><axsl:apply-templates select="/" mode="M498"/><axsl:apply-templates select="/" mode="M499"/><axsl:apply-templates select="/" mode="M500"/><axsl:apply-templates select="/" mode="M501"/><axsl:apply-templates select="/" mode="M502"/><axsl:apply-templates select="/" mode="M503"/><axsl:apply-templates select="/" mode="M504"/><axsl:apply-templates select="/" mode="M505"/><axsl:apply-templates select="/" mode="M506"/><axsl:apply-templates select="/" mode="M507"/><axsl:apply-templates select="/" mode="M508"/><axsl:apply-templates select="/" mode="M509"/><axsl:apply-templates select="/" mode="M510"/><axsl:apply-templates select="/" mode="M511"/><axsl:apply-templates select="/" mode="M512"/><axsl:apply-templates select="/" mode="M513"/><axsl:apply-templates select="/" mode="M514"/><axsl:apply-templates select="/" mode="M515"/><axsl:apply-templates select="/" mode="M516"/><axsl:apply-templates select="/" mode="M517"/><axsl:apply-templates select="/" mode="M518"/><axsl:apply-templates select="/" mode="M519"/><axsl:apply-templates select="/" mode="M520"/><axsl:apply-templates select="/" mode="M521"/><axsl:apply-templates select="/" mode="M522"/><axsl:apply-templates select="/" mode="M523"/><axsl:apply-templates select="/" mode="M524"/><axsl:apply-templates select="/" mode="M525"/><axsl:apply-templates select="/" mode="M526"/><axsl:apply-templates select="/" mode="M527"/><axsl:apply-templates select="/" mode="M528"/><axsl:apply-templates select="/" mode="M529"/><axsl:apply-templates select="/" mode="M530"/><axsl:apply-templates select="/" mode="M531"/><axsl:apply-templates select="/" mode="M532"/><axsl:apply-templates select="/" mode="M533"/><axsl:apply-templates select="/" mode="M534"/><axsl:apply-templates select="/" mode="M535"/><axsl:apply-templates select="/" mode="M536"/><axsl:apply-templates select="/" mode="M537"/><axsl:apply-templates select="/" mode="M538"/><axsl:apply-templates select="/" mode="M539"/><axsl:apply-templates select="/" mode="M540"/><axsl:apply-templates select="/" mode="M541"/><axsl:apply-templates select="/" mode="M542"/><axsl:apply-templates select="/" mode="M543"/><axsl:apply-templates select="/" mode="M544"/><axsl:apply-templates select="/" mode="M545"/><axsl:apply-templates select="/" mode="M546"/><axsl:apply-templates select="/" mode="M547"/><axsl:apply-templates select="/" mode="M548"/><axsl:apply-templates select="/" mode="M549"/><axsl:apply-templates select="/" mode="M550"/><axsl:apply-templates select="/" mode="M551"/><axsl:apply-templates select="/" mode="M552"/><axsl:apply-templates select="/" mode="M553"/><axsl:apply-templates select="/" mode="M554"/><axsl:apply-templates select="/" mode="M555"/><axsl:apply-templates select="/" mode="M556"/><axsl:apply-templates select="/" mode="M557"/><axsl:apply-templates select="/" mode="M558"/><axsl:apply-templates select="/" mode="M559"/><axsl:apply-templates select="/" mode="M560"/><axsl:apply-templates select="/" mode="M561"/><axsl:apply-templates select="/" mode="M562"/><axsl:apply-templates select="/" mode="M563"/><axsl:apply-templates select="/" mode="M564"/><axsl:apply-templates select="/" mode="M565"/><axsl:apply-templates select="/" mode="M566"/><axsl:apply-templates select="/" mode="M567"/><axsl:apply-templates select="/" mode="M568"/><axsl:apply-templates select="/" mode="M569"/><axsl:apply-templates select="/" mode="M570"/><axsl:apply-templates select="/" mode="M571"/><axsl:apply-templates select="/" mode="M572"/><axsl:apply-templates select="/" mode="M573"/><axsl:apply-templates select="/" mode="M574"/><axsl:apply-templates select="/" mode="M575"/><axsl:apply-templates select="/" mode="M576"/><axsl:apply-templates select="/" mode="M577"/><axsl:apply-templates select="/" mode="M578"/><axsl:apply-templates select="/" mode="M579"/><axsl:apply-templates select="/" mode="M580"/><axsl:apply-templates select="/" mode="M581"/><axsl:apply-templates select="/" mode="M582"/><axsl:apply-templates select="/" mode="M583"/><axsl:apply-templates select="/" mode="M584"/><axsl:apply-templates select="/" mode="M585"/><axsl:apply-templates select="/" mode="M586"/><axsl:apply-templates select="/" mode="M587"/><axsl:apply-templates select="/" mode="M588"/><axsl:apply-templates select="/" mode="M589"/><axsl:apply-templates select="/" mode="M590"/><axsl:apply-templates select="/" mode="M591"/><axsl:apply-templates select="/" mode="M592"/><axsl:apply-templates select="/" mode="M593"/><axsl:apply-templates select="/" mode="M594"/><axsl:apply-templates select="/" mode="M595"/><axsl:apply-templates select="/" mode="M596"/><axsl:apply-templates select="/" mode="M597"/><axsl:apply-templates select="/" mode="M598"/><axsl:apply-templates select="/" mode="M599"/><axsl:apply-templates select="/" mode="M600"/><axsl:apply-templates select="/" mode="M601"/><axsl:apply-templates select="/" mode="M602"/><axsl:apply-templates select="/" mode="M603"/><axsl:apply-templates select="/" mode="M604"/><axsl:apply-templates select="/" mode="M605"/><axsl:apply-templates select="/" mode="M606"/><axsl:apply-templates select="/" mode="M607"/><axsl:apply-templates select="/" mode="M608"/><axsl:apply-templates select="/" mode="M609"/><axsl:apply-templates select="/" mode="M610"/><axsl:apply-templates select="/" mode="M611"/><axsl:apply-templates select="/" mode="M612"/><axsl:apply-templates select="/" mode="M613"/><axsl:apply-templates select="/" mode="M614"/><axsl:apply-templates select="/" mode="M615"/><axsl:apply-templates select="/" mode="M616"/><axsl:apply-templates select="/" mode="M617"/><axsl:apply-templates select="/" mode="M618"/><axsl:apply-templates select="/" mode="M619"/><axsl:apply-templates select="/" mode="M620"/><axsl:apply-templates select="/" mode="M621"/><axsl:apply-templates select="/" mode="M622"/><axsl:apply-templates select="/" mode="M623"/><axsl:apply-templates select="/" mode="M624"/><axsl:apply-templates select="/" mode="M625"/><axsl:apply-templates select="/" mode="M626"/><axsl:apply-templates select="/" mode="M627"/><axsl:apply-templates select="/" mode="M628"/><axsl:apply-templates select="/" mode="M629"/><axsl:apply-templates select="/" mode="M630"/><axsl:apply-templates select="/" mode="M631"/><axsl:apply-templates select="/" mode="M632"/><axsl:apply-templates select="/" mode="M633"/><axsl:apply-templates select="/" mode="M634"/><axsl:apply-templates select="/" mode="M635"/><axsl:apply-templates select="/" mode="M636"/><axsl:apply-templates select="/" mode="M637"/><axsl:apply-templates select="/" mode="M638"/><axsl:apply-templates select="/" mode="M639"/><axsl:apply-templates select="/" mode="M640"/><axsl:apply-templates select="/" mode="M641"/><axsl:apply-templates select="/" mode="M642"/><axsl:apply-templates select="/" mode="M643"/><axsl:apply-templates select="/" mode="M644"/><axsl:apply-templates select="/" mode="M645"/><axsl:apply-templates select="/" mode="M646"/><axsl:apply-templates select="/" mode="M647"/><axsl:apply-templates select="/" mode="M648"/><axsl:apply-templates select="/" mode="M649"/><axsl:apply-templates select="/" mode="M650"/><axsl:apply-templates select="/" mode="M651"/><axsl:apply-templates select="/" mode="M652"/><axsl:apply-templates select="/" mode="M653"/><axsl:apply-templates select="/" mode="M654"/><axsl:apply-templates select="/" mode="M655"/><axsl:apply-templates select="/" mode="M656"/><axsl:apply-templates select="/" mode="M657"/><axsl:apply-templates select="/" mode="M658"/><axsl:apply-templates select="/" mode="M659"/><axsl:apply-templates select="/" mode="M660"/><axsl:apply-templates select="/" mode="M661"/><axsl:apply-templates select="/" mode="M662"/><axsl:apply-templates select="/" mode="M663"/><axsl:apply-templates select="/" mode="M664"/><axsl:apply-templates select="/" mode="M665"/><axsl:apply-templates select="/" mode="M666"/><axsl:apply-templates select="/" mode="M667"/><axsl:apply-templates select="/" mode="M668"/><axsl:apply-templates select="/" mode="M669"/><axsl:apply-templates select="/" mode="M670"/><axsl:apply-templates select="/" mode="M671"/><axsl:apply-templates select="/" mode="M672"/><axsl:apply-templates select="/" mode="M673"/><axsl:apply-templates select="/" mode="M674"/><axsl:apply-templates select="/" mode="M675"/><axsl:apply-templates select="/" mode="M676"/><axsl:apply-templates select="/" mode="M677"/><axsl:apply-templates select="/" mode="M678"/><axsl:apply-templates select="/" mode="M679"/><axsl:apply-templates select="/" mode="M680"/><axsl:apply-templates select="/" mode="M681"/><axsl:apply-templates select="/" mode="M682"/><axsl:apply-templates select="/" mode="M683"/><axsl:apply-templates select="/" mode="M684"/><axsl:apply-templates select="/" mode="M685"/><axsl:apply-templates select="/" mode="M686"/><axsl:apply-templates select="/" mode="M687"/><axsl:apply-templates select="/" mode="M688"/><axsl:apply-templates select="/" mode="M689"/><axsl:apply-templates select="/" mode="M690"/><axsl:apply-templates select="/" mode="M691"/><axsl:apply-templates select="/" mode="M692"/><axsl:apply-templates select="/" mode="M693"/><axsl:apply-templates select="/" mode="M694"/><axsl:apply-templates select="/" mode="M695"/><axsl:apply-templates select="/" mode="M696"/><axsl:apply-templates select="/" mode="M697"/><axsl:apply-templates select="/" mode="M698"/></axsl:template>
41
42 <!--SCHEMATRON PATTERNS-->
43
44
45 <!--PATTERN oval-def_empty_def_doc-->
46
47
48 <!--RULE -->
49 <axsl:template match="oval-def:oval_definitions" priority="1000" mode="M24">
50
51 <!--ASSERT -->
52 <axsl:choose><axsl:when test="oval-def:definitions or oval-def:tests or oval-def:objects or oval-def:states or oval-def:variables"/><axsl:otherwise>A valid OVAL Definition document must contain at least one definitions, tests, objects, states, or variables element. The optional definitions, tests, objects, states, and variables sections define the specific characteristics that should be evaluated on a system to determine the truth values of the OVAL Definition Document. To be valid though, at least one definitions, tests, objects, states, or variables element must be present.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M24"/></axsl:template><axsl:template match="text()" priority="-1" mode="M24"/><axsl:template match="@*|node()" priority="-2" mode="M24"><axsl:apply-templates select="@*|*" mode="M24"/></axsl:template>
53
54 <!--PATTERN oval_def_notes_dep-->
55
56
57 <!--RULE -->
58 <axsl:template match="oval-def:notes" priority="1000" mode="M25">
59
60 <!--REPORT -->
61 <axsl:if test="true()">DEPRECATED ELEMENT: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> parent ID: <axsl:text/><axsl:value-of select="../@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M25"/></axsl:template><axsl:template match="text()" priority="-1" mode="M25"/><axsl:template match="@*|node()" priority="-2" mode="M25"><axsl:apply-templates select="@*|*" mode="M25"/></axsl:template>
62
63 <!--PATTERN oval-def_required_criteria-->
64
65
66 <!--RULE -->
67 <axsl:template match="oval-def:oval_definitions/oval-def:definitions/oval-def:definition[(@deprecated='false' or @deprecated='0') or not(@deprecated)]" priority="1000" mode="M26">
68
69 <!--ASSERT -->
70 <axsl:choose><axsl:when test="oval-def:criteria"/><axsl:otherwise>A valid OVAL Definition must contain a criteria unless the definition is a deprecated definition.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M26"/></axsl:template><axsl:template match="text()" priority="-1" mode="M26"/><axsl:template match="@*|node()" priority="-2" mode="M26"><axsl:apply-templates select="@*|*" mode="M26"/></axsl:template>
71
72 <!--PATTERN oval-def_test_type-->
73
74
75 <!--RULE -->
76 <axsl:template match="oval-def:oval_definitions/oval-def:tests/*[@check_existence='none_exist']" priority="1000" mode="M27">
77
78 <!--ASSERT -->
79 <axsl:choose><axsl:when test="not(*[local-name()='state'])"/><axsl:otherwise><axsl:text/><axsl:value-of select="@id"/><axsl:text/> - No state should be referenced when check_existence has a value of 'none_exist'.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M27"/></axsl:template><axsl:template match="text()" priority="-1" mode="M27"/><axsl:template match="@*|node()" priority="-2" mode="M27"><axsl:apply-templates select="@*|*" mode="M27"/></axsl:template>
80
81 <!--PATTERN oval-def_setobjref-->
82
83
84 <!--RULE -->
85 <axsl:template match="oval-def:oval_definitions/oval-def:objects/*/oval-def:set/oval-def:object_reference" priority="1002" mode="M28">
86
87 <!--ASSERT -->
88 <axsl:choose><axsl:when test="name(./../..) = name(ancestor::oval-def:oval_definitions/oval-def:objects/*[@id=current()])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../../@id"/><axsl:text/> - Each object referenced by the set must be of the same type as parent object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M28"/></axsl:template>
89
90 <!--RULE -->
91 <axsl:template match="oval-def:oval_definitions/oval-def:objects/*/oval-def:set/oval-def:set/oval-def:object_reference" priority="1001" mode="M28">
92
93 <!--ASSERT -->
94 <axsl:choose><axsl:when test="name(./../../..) = name(ancestor::oval-def:oval_definitions/oval-def:objects/*[@id=current()])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../../../@id"/><axsl:text/> - Each object referenced by the set must be of the same type as parent object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M28"/></axsl:template>
95
96 <!--RULE -->
97 <axsl:template match="oval-def:oval_definitions/oval-def:objects/*/oval-def:set/oval-def:set/oval-def:set/oval-def:object_reference" priority="1000" mode="M28">
98
99 <!--ASSERT -->
100 <axsl:choose><axsl:when test="name(./../../../..) = name(ancestor::oval-def:oval_definitions/oval-def:objects/*[@id=current()])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../../../../@id"/><axsl:text/> - Each object referenced by the set must be of the same type as parent object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M28"/></axsl:template><axsl:template match="text()" priority="-1" mode="M28"/><axsl:template match="@*|node()" priority="-2" mode="M28"><axsl:apply-templates select="@*|*" mode="M28"/></axsl:template>
101
102 <!--PATTERN oval-def_literal_component-->
103
104
105 <!--RULE -->
106 <axsl:template match="oval-def:literal_component" priority="1000" mode="M29">
107
108 <!--ASSERT -->
109 <axsl:choose><axsl:when test="not(@datatype='record')"/><axsl:otherwise><axsl:text/><axsl:value-of select="ancestor::*/@id"/><axsl:text/> - The 'record' datatype is prohibited on variables.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M29"/></axsl:template><axsl:template match="text()" priority="-1" mode="M29"/><axsl:template match="@*|node()" priority="-2" mode="M29"><axsl:apply-templates select="@*|*" mode="M29"/></axsl:template>
110
111 <!--PATTERN oval-def_arithmeticfunctionrules-->
112
113
114 <!--RULE -->
115 <axsl:template match="oval-def:arithmetic/oval-def:literal_component" priority="1001" mode="M30">
116
117 <!--ASSERT -->
118 <axsl:choose><axsl:when test="@datatype='float' or @datatype='int'"/><axsl:otherwise>A literal_component used by an arithmetic function must have a datatype of float or int.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M30"/></axsl:template>
119
120 <!--RULE -->
121 <axsl:template match="oval-def:arithmetic/oval-def:variable_component" priority="1000" mode="M30"><axsl:variable name="var_ref" select="@var_ref"/>
122
123 <!--ASSERT -->
124 <axsl:choose><axsl:when test="ancestor::oval-def:oval_definitions/oval-def:variables/*[@id=$var_ref]/@datatype='float' or ancestor::oval-def:oval_definitions/oval-def:variables/*[@id=$var_ref]/@datatype='int'"/><axsl:otherwise>The variable referenced by the arithmetic function must have a datatype of float or int.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M30"/></axsl:template><axsl:template match="text()" priority="-1" mode="M30"/><axsl:template match="@*|node()" priority="-2" mode="M30"><axsl:apply-templates select="@*|*" mode="M30"/></axsl:template>
125
126 <!--PATTERN oval-def_beginfunctionrules-->
127
128
129 <!--RULE -->
130 <axsl:template match="oval-def:begin/oval-def:literal_component" priority="1001" mode="M31">
131
132 <!--ASSERT -->
133 <axsl:choose><axsl:when test="not(@datatype) or @datatype='string'"/><axsl:otherwise>A literal_component used by the begin function must have a datatype of string.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M31"/></axsl:template>
134
135 <!--RULE -->
136 <axsl:template match="oval-def:begin/oval-def:variable_component" priority="1000" mode="M31"><axsl:variable name="var_ref" select="@var_ref"/>
137
138 <!--ASSERT -->
139 <axsl:choose><axsl:when test="ancestor::oval-def:oval_definitions/oval-def:variables/*[@id=$var_ref]/@datatype = 'string'"/><axsl:otherwise>The variable referenced by the begin function must have a datatype of string.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M31"/></axsl:template><axsl:template match="text()" priority="-1" mode="M31"/><axsl:template match="@*|node()" priority="-2" mode="M31"><axsl:apply-templates select="@*|*" mode="M31"/></axsl:template>
140
141 <!--PATTERN oval-def_concatfunctionrules-->
142
143
144 <!--RULE -->
145 <axsl:template match="oval-def:concat/oval-def:literal_component" priority="1001" mode="M32">
146
147 <!--ASSERT -->
148 <axsl:choose><axsl:when test="not(@datatype) or @datatype='string'"/><axsl:otherwise>A literal_component used by the concat function must have a datatype of string.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M32"/></axsl:template>
149
150 <!--RULE -->
151 <axsl:template match="oval-def:concat/oval-def:variable_component" priority="1000" mode="M32"><axsl:variable name="var_ref" select="@var_ref"/>
152
153 <!--ASSERT -->
154 <axsl:choose><axsl:when test="ancestor::oval-def:oval_definitions/oval-def:variables/*[@id=$var_ref]/@datatype = 'string'"/><axsl:otherwise>The variable referenced by the concat function must have a datatype of string.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M32"/></axsl:template><axsl:template match="text()" priority="-1" mode="M32"/><axsl:template match="@*|node()" priority="-2" mode="M32"><axsl:apply-templates select="@*|*" mode="M32"/></axsl:template>
155
156 <!--PATTERN oval-def_endfunctionrules-->
157
158
159 <!--RULE -->
160 <axsl:template match="oval-def:end/oval-def:literal_component" priority="1001" mode="M33">
161
162 <!--ASSERT -->
163 <axsl:choose><axsl:when test="not(@datatype) or @datatype='string'"/><axsl:otherwise>A literal_component used by the end function must have a datatype of string.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M33"/></axsl:template>
164
165 <!--RULE -->
166 <axsl:template match="oval-def:end/oval-def:variable_component" priority="1000" mode="M33"><axsl:variable name="var_ref" select="@var_ref"/>
167
168 <!--ASSERT -->
169 <axsl:choose><axsl:when test="ancestor::oval-def:oval_definitions/oval-def:variables/*[@id=$var_ref]/@datatype = 'string'"/><axsl:otherwise>The variable referenced by the end function must have a datatype of string.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M33"/></axsl:template><axsl:template match="text()" priority="-1" mode="M33"/><axsl:template match="@*|node()" priority="-2" mode="M33"><axsl:apply-templates select="@*|*" mode="M33"/></axsl:template>
170
171 <!--PATTERN oval-def_escaperegexfunctionrules-->
172
173
174 <!--RULE -->
175 <axsl:template match="oval-def:escape_regex/oval-def:literal_component" priority="1001" mode="M34">
176
177 <!--ASSERT -->
178 <axsl:choose><axsl:when test="not(@datatype) or @datatype='string'"/><axsl:otherwise>A literal_component used by the escape_regex function must have a datatype of string.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M34"/></axsl:template>
179
180 <!--RULE -->
181 <axsl:template match="oval-def:escape_regex/oval-def:variable_component" priority="1000" mode="M34"><axsl:variable name="var_ref" select="@var_ref"/>
182
183 <!--ASSERT -->
184 <axsl:choose><axsl:when test="ancestor::oval-def:oval_definitions/oval-def:variables/*[@id=$var_ref]/@datatype = 'string'"/><axsl:otherwise>The variable referenced by the escape_regex function must have a datatype of string.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M34"/></axsl:template><axsl:template match="text()" priority="-1" mode="M34"/><axsl:template match="@*|node()" priority="-2" mode="M34"><axsl:apply-templates select="@*|*" mode="M34"/></axsl:template>
185
186 <!--PATTERN oval-def_splitfunctionrules-->
187
188
189 <!--RULE -->
190 <axsl:template match="oval-def:split/oval-def:literal_component" priority="1001" mode="M35">
191
192 <!--ASSERT -->
193 <axsl:choose><axsl:when test="not(@datatype) or @datatype='string'"/><axsl:otherwise>A literal_component used by the split function must have a datatype of string.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M35"/></axsl:template>
194
195 <!--RULE -->
196 <axsl:template match="oval-def:split/oval-def:variable_component" priority="1000" mode="M35"><axsl:variable name="var_ref" select="@var_ref"/>
197
198 <!--ASSERT -->
199 <axsl:choose><axsl:when test="ancestor::oval-def:oval_definitions/oval-def:variables/*[@id=$var_ref]/@datatype = 'string'"/><axsl:otherwise>The variable referenced by the split function must have a datatype of string.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M35"/></axsl:template><axsl:template match="text()" priority="-1" mode="M35"/><axsl:template match="@*|node()" priority="-2" mode="M35"><axsl:apply-templates select="@*|*" mode="M35"/></axsl:template>
200
201 <!--PATTERN oval-def_substringfunctionrules-->
202
203
204 <!--RULE -->
205 <axsl:template match="oval-def:substring/oval-def:literal_component" priority="1001" mode="M36">
206
207 <!--ASSERT -->
208 <axsl:choose><axsl:when test="not(@datatype) or @datatype='string'"/><axsl:otherwise>A literal_component used by the substring function must have a datatype of string.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M36"/></axsl:template>
209
210 <!--RULE -->
211 <axsl:template match="oval-def:substring/oval-def:variable_component" priority="1000" mode="M36"><axsl:variable name="var_ref" select="@var_ref"/>
212
213 <!--ASSERT -->
214 <axsl:choose><axsl:when test="ancestor::oval-def:oval_definitions/oval-def:variables/*[@id=$var_ref]/@datatype = 'string'"/><axsl:otherwise>The variable referenced by the substring function must have a datatype of string.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M36"/></axsl:template><axsl:template match="text()" priority="-1" mode="M36"/><axsl:template match="@*|node()" priority="-2" mode="M36"><axsl:apply-templates select="@*|*" mode="M36"/></axsl:template>
215
216 <!--PATTERN oval-def_timedifferencefunctionrules-->
217
218
219 <!--RULE -->
220 <axsl:template match="oval-def:time_difference/oval-def:literal_component" priority="1001" mode="M37">
221
222 <!--ASSERT -->
223 <axsl:choose><axsl:when test="not(@datatype) or @datatype='string' or @datatype='int'"/><axsl:otherwise>A literal_component used by the time_difference function must have a datatype of string or int.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M37"/></axsl:template>
224
225 <!--RULE -->
226 <axsl:template match="oval-def:time_difference/oval-def:variable_component" priority="1000" mode="M37"><axsl:variable name="var_ref" select="@var_ref"/>
227
228 <!--ASSERT -->
229 <axsl:choose><axsl:when test="ancestor::oval-def:oval_definitions/oval-def:variables/*[@id=$var_ref]/@datatype='string' or ancestor::oval-def:oval_definitions/oval-def:variables/*[@id=$var_ref]/@datatype='int'"/><axsl:otherwise>The variable referenced by the time_difference function must have a datatype of string or int.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M37"/></axsl:template><axsl:template match="text()" priority="-1" mode="M37"/><axsl:template match="@*|node()" priority="-2" mode="M37"><axsl:apply-templates select="@*|*" mode="M37"/></axsl:template>
230
231 <!--PATTERN oval-def_regexcapturefunctionrules-->
232
233
234 <!--RULE -->
235 <axsl:template match="oval-def:regex_capture/oval-def:literal_component" priority="1001" mode="M38">
236
237 <!--ASSERT -->
238 <axsl:choose><axsl:when test="not(@datatype) or @datatype='string'"/><axsl:otherwise>A literal_component used by the regex_capture function must have a datatype of string.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M38"/></axsl:template>
239
240 <!--RULE -->
241 <axsl:template match="oval-def:regex_capture/oval-def:variable_component" priority="1000" mode="M38"><axsl:variable name="var_ref" select="@var_ref"/>
242
243 <!--ASSERT -->
244 <axsl:choose><axsl:when test="ancestor::oval-def:oval_definitions/oval-def:variables/*[@id=$var_ref]/@datatype = 'string'"/><axsl:otherwise>The variable referenced by the regex_capture function must have a datatype of string.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M38"/></axsl:template><axsl:template match="text()" priority="-1" mode="M38"/><axsl:template match="@*|node()" priority="-2" mode="M38"><axsl:apply-templates select="@*|*" mode="M38"/></axsl:template>
245
246 <!--PATTERN oval-def_globtoregexfunctionrules-->
247
248
249 <!--RULE -->
250 <axsl:template match="oval-def:glob_to_regex/oval-def:literal_component" priority="1001" mode="M39">
251
252 <!--ASSERT -->
253 <axsl:choose><axsl:when test="not(@datatype) or @datatype='string'"/><axsl:otherwise>A literal_component used by the glob_to_regex function must have a datatype of string.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M39"/></axsl:template>
254
255 <!--RULE -->
256 <axsl:template match="oval-def:glob_to_regex/oval-def:variable_component" priority="1000" mode="M39"><axsl:variable name="var_ref" select="@var_ref"/>
257
258 <!--ASSERT -->
259 <axsl:choose><axsl:when test="ancestor::oval-def:oval_definitions/oval-def:variables/*[@id=$var_ref]/@datatype = 'string'"/><axsl:otherwise>The variable referenced by the glob_to_regex function must have a datatype of string.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M39"/></axsl:template><axsl:template match="text()" priority="-1" mode="M39"/><axsl:template match="@*|node()" priority="-2" mode="M39"><axsl:apply-templates select="@*|*" mode="M39"/></axsl:template>
260
261 <!--PATTERN oval-def_definition_entity_rules-->
262
263
264 <!--RULE -->
265 <axsl:template match="oval-def:objects/*/*[@var_ref]|oval-def:objects/*/*/*[@var_ref]|oval-def:states/*/*[@var_ref]|oval-def:states/*/*/*[@var_ref]" priority="1018" mode="M40"><axsl:variable name="var_ref" select="@var_ref"/>
266
267 <!--ASSERT -->
268 <axsl:choose><axsl:when test=".=''"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - a var_ref has been supplied for the <axsl:text/><axsl:value-of select="name()"/><axsl:text/> entity so no value should be provided<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
269
270 <!--ASSERT -->
271 <axsl:choose><axsl:when test="( (not(@datatype)) and ('string' = ancestor::oval-def:oval_definitions/oval-def:variables/*[@id=$var_ref]/@datatype) ) or (@datatype = ancestor::oval-def:oval_definitions/oval-def:variables/*[@id=$var_ref]/@datatype)"/><axsl:otherwise><axsl:text/><axsl:value-of select="$var_ref"/><axsl:text/> - inconsistent datatype between the variable and an associated var_ref<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M40"/></axsl:template>
272
273 <!--RULE -->
274 <axsl:template match="oval-def:objects/*/*[@var_ref]|oval-def:objects/*/*/*[@var_ref]" priority="1017" mode="M40">
275
276 <!--REPORT -->
277 <axsl:if test="not(@var_check)"><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - a var_ref has been supplied for the <axsl:text/><axsl:value-of select="name()"/><axsl:text/> entity so a var_check should also be provided<axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M40"/></axsl:template>
278
279 <!--RULE -->
280 <axsl:template match="oval-def:objects/*/*[@var_check]|oval-def:objects/*/*/*[@var_check]" priority="1016" mode="M40">
281
282 <!--ASSERT -->
283 <axsl:choose><axsl:when test="@var_ref"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - a var_check has been supplied for the <axsl:text/><axsl:value-of select="name()"/><axsl:text/> entity so a var_ref must also be provided<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M40"/></axsl:template>
284
285 <!--RULE -->
286 <axsl:template match="oval-def:states/*/*[@var_ref]|oval-def:states/*/*/*[@var_ref]" priority="1015" mode="M40">
287
288 <!--REPORT -->
289 <axsl:if test="not(@var_check)"><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - a var_ref has been supplied for the <axsl:text/><axsl:value-of select="name()"/><axsl:text/> entity so a var_check should also be provided<axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M40"/></axsl:template>
290
291 <!--RULE -->
292 <axsl:template match="oval-def:states/*/*[@var_check]|oval-def:states/*/*/*[@var_check]" priority="1014" mode="M40">
293
294 <!--ASSERT -->
295 <axsl:choose><axsl:when test="@var_ref"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - a var_check has been supplied for the <axsl:text/><axsl:value-of select="name()"/><axsl:text/> entity so a var_ref must also be provided<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M40"/></axsl:template>
296
297 <!--RULE -->
298 <axsl:template match="oval-def:objects/*/*[not(@datatype)]|oval-def:objects/*/*/*[not(@datatype)]|oval-def:states/*/*[not(@datatype)]|oval-def:states/*/*/*[not(@datatype)]" priority="1013" mode="M40">
299
300 <!--ASSERT -->
301 <axsl:choose><axsl:when test="not(@operation) or @operation='equals' or @operation='not equal' or @operation='case insensitive equals' or @operation='case insensitive not equal' or @operation='pattern match'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - The use of '<axsl:text/><axsl:value-of select="@operation"/><axsl:text/>' for the operation attribute of the <axsl:text/><axsl:value-of select="name()"/><axsl:text/> entity is not valid given the lack of a declared datatype (hence a default datatype of string).<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M40"/></axsl:template>
302
303 <!--RULE -->
304 <axsl:template match="oval-def:objects/*/*[@datatype='binary']|oval-def:objects/*/*/*[@datatype='binary']|oval-def:states/*/*[@datatype='binary']|oval-def:states/*/*/*[@datatype='binary']" priority="1012" mode="M40">
305
306 <!--ASSERT -->
307 <axsl:choose><axsl:when test="not(@operation) or @operation='equals' or @operation='not equal'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - The use of '<axsl:text/><axsl:value-of select="@operation"/><axsl:text/>' for the operation attribute of the <axsl:text/><axsl:value-of select="name()"/><axsl:text/> entity is not valid given a datatype of binary.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M40"/></axsl:template>
308
309 <!--RULE -->
310 <axsl:template match="oval-def:objects/*/*[@datatype='boolean']|oval-def:objects/*/*/*[@datatype='boolean']|oval-def:states/*/*[@datatype='boolean']|oval-def:states/*/*/*[@datatype='boolean']" priority="1011" mode="M40">
311
312 <!--ASSERT -->
313 <axsl:choose><axsl:when test="not(@operation) or @operation='equals' or @operation='not equal'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - The use of '<axsl:text/><axsl:value-of select="@operation"/><axsl:text/>' for the operation attribute of the <axsl:text/><axsl:value-of select="name()"/><axsl:text/> entity is not valid given a datatype of boolean.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M40"/></axsl:template>
314
315 <!--RULE -->
316 <axsl:template match="oval-def:objects/*/*[@datatype='evr_string']|oval-def:objects/*/*/*[@datatype='evr_string']|oval-def:states/*/*[@datatype='evr_string']|oval-def:states/*/*/*[@datatype='evr_string']" priority="1010" mode="M40">
317
318 <!--ASSERT -->
319 <axsl:choose><axsl:when test="not(@operation) or @operation='equals' or @operation='not equal' or @operation='greater than' or @operation='greater than or equal' or @operation='less than' or @operation='less than or equal'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - The use of '<axsl:text/><axsl:value-of select="@operation"/><axsl:text/>' for the operation attribute of the <axsl:text/><axsl:value-of select="name()"/><axsl:text/> entity is not valid given a datatype of evr_string.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M40"/></axsl:template>
320
321 <!--RULE -->
322 <axsl:template match="oval-def:objects/*/*[@datatype='debian_evr_string']|oval-def:objects/*/*/*[@datatype='debian_evr_string']|oval-def:states/*/*[@datatype='debian_evr_string']|oval-def:states/*/*/*[@datatype='debian_evr_string']" priority="1009" mode="M40">
323
324 <!--ASSERT -->
325 <axsl:choose><axsl:when test="not(@operation) or @operation='equals' or @operation='not equal' or @operation='greater than' or @operation='greater than or equal' or @operation='less than' or @operation='less than or equal'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - The use of '<axsl:text/><axsl:value-of select="@operation"/><axsl:text/>' for the operation attribute of the <axsl:text/><axsl:value-of select="name()"/><axsl:text/> entity is not valid given a datatype of debian_evr_string.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M40"/></axsl:template>
326
327 <!--RULE -->
328 <axsl:template match="oval-def:objects/*/*[@datatype='fileset_revision']|oval-def:objects/*/*/*[@datatype='fileset_revision']|oval-def:states/*/*[@datatype='fileset_revision']|oval-def:states/*/*/*[@datatype='fileset_revision']" priority="1008" mode="M40">
329
330 <!--ASSERT -->
331 <axsl:choose><axsl:when test="not(@operation) or @operation='equals' or @operation='not equal' or @operation='greater than' or @operation='greater than or equal' or @operation='less than' or @operation='less than or equal'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - The use of '<axsl:text/><axsl:value-of select="@operation"/><axsl:text/>' for the operation attribute of the <axsl:text/><axsl:value-of select="name()"/><axsl:text/> entity is not valid given a datatype of fileset_revision.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M40"/></axsl:template>
332
333 <!--RULE -->
334 <axsl:template match="oval-def:objects/*/*[@datatype='float']|oval-def:objects/*/*/*[@datatype='float']|oval-def:states/*/*[@datatype='float']|oval-def:states/*/*/*[@datatype='float']" priority="1007" mode="M40">
335
336 <!--ASSERT -->
337 <axsl:choose><axsl:when test="not(@operation) or @operation='equals' or @operation='not equal' or @operation='greater than' or @operation='greater than or equal' or @operation='less than' or @operation='less than or equal'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - The use of '<axsl:text/><axsl:value-of select="@operation"/><axsl:text/>' for the operation attribute of the <axsl:text/><axsl:value-of select="name()"/><axsl:text/> entity is not valid given a datatype of float.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M40"/></axsl:template>
338
339 <!--RULE -->
340 <axsl:template match="oval-def:objects/*/*[@datatype='ios_version']|oval-def:objects/*/*/*[@datatype='ios_version']|oval-def:states/*/*[@datatype='ios_version']|oval-def:states/*/*/*[@datatype='ios_version']" priority="1006" mode="M40">
341
342 <!--ASSERT -->
343 <axsl:choose><axsl:when test="not(@operation) or @operation='equals' or @operation='not equal' or @operation='greater than' or @operation='greater than or equal' or @operation='less than' or @operation='less than or equal'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - The use of '<axsl:text/><axsl:value-of select="@operation"/><axsl:text/>' for the operation attribute of the <axsl:text/><axsl:value-of select="name()"/><axsl:text/> entity is not valid given a datatype of ios_version.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M40"/></axsl:template>
344
345 <!--RULE -->
346 <axsl:template match="oval-def:objects/*/*[@datatype='int']|oval-def:objects/*/*/*[@datatype='int']|oval-def:states/*/*[@datatype='int']|oval-def:states/*/*/*[@datatype='int']" priority="1005" mode="M40">
347
348 <!--ASSERT -->
349 <axsl:choose><axsl:when test="not(@operation) or @operation='equals' or @operation='not equal' or @operation='greater than' or @operation='greater than or equal' or @operation='less than' or @operation='less than or equal' or @operation='bitwise and' or @operation='bitwise or'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - The use of '<axsl:text/><axsl:value-of select="@operation"/><axsl:text/>' for the operation attribute of the <axsl:text/><axsl:value-of select="name()"/><axsl:text/> entity is not valid given a datatype of int.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M40"/></axsl:template>
350
351 <!--RULE -->
352 <axsl:template match="oval-def:objects/*/*[@datatype='ipv4_address']|oval-def:objects/*/*/*[@datatype='ipv4_address']|oval-def:states/*/*[@datatype='ipv4_address']|oval-def:states/*/*/*[@datatype='ipv4_address']" priority="1004" mode="M40">
353
354 <!--ASSERT -->
355 <axsl:choose><axsl:when test="not(@operation) or @operation='equals' or @operation='not equal' or @operation='greater than' or @operation='greater than or equal' or @operation='less than' or @operation='less than or equal' or @operation='subset of' or @operation='superset of'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - The use of '<axsl:text/><axsl:value-of select="@operation"/><axsl:text/>' for the operation attribute of the <axsl:text/><axsl:value-of select="name()"/><axsl:text/> entity is not valid given a datatype of ipv4_address.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M40"/></axsl:template>
356
357 <!--RULE -->
358 <axsl:template match="oval-def:objects/*/*[@datatype='ipv6_address']|oval-def:objects/*/*/*[@datatype='ipv6_address']|oval-def:states/*/*[@datatype='ipv6_address']|oval-def:states/*/*/*[@datatype='ipv6_address']" priority="1003" mode="M40">
359
360 <!--ASSERT -->
361 <axsl:choose><axsl:when test="not(@operation) or @operation='equals' or @operation='not equal' or @operation='greater than' or @operation='greater than or equal' or @operation='less than' or @operation='less than or equal' or @operation='subset of' or @operation='superset of'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - The use of '<axsl:text/><axsl:value-of select="@operation"/><axsl:text/>' for the operation attribute of the <axsl:text/><axsl:value-of select="name()"/><axsl:text/> entity is not valid given a datatype of ipv6_address.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M40"/></axsl:template>
362
363 <!--RULE -->
364 <axsl:template match="oval-def:objects/*/*[@datatype='string']|oval-def:objects/*/*/*[@datatype='string']|oval-def:states/*/*[@datatype='string']|oval-def:states/*/*/*[@datatype='string']" priority="1002" mode="M40">
365
366 <!--ASSERT -->
367 <axsl:choose><axsl:when test="not(@operation) or @operation='equals' or @operation='not equal' or @operation='case insensitive equals' or @operation='case insensitive not equal' or @operation='pattern match'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - The use of '<axsl:text/><axsl:value-of select="@operation"/><axsl:text/>' for the operation attribute of the <axsl:text/><axsl:value-of select="name()"/><axsl:text/> entity is not valid given a datatype of string.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M40"/></axsl:template>
368
369 <!--RULE -->
370 <axsl:template match="oval-def:objects/*/*[@datatype='version']|oval-def:objects/*/*/*[@datatype='version']|oval-def:states/*/*[@datatype='version']|oval-def:states/*/*/*[@datatype='version']" priority="1001" mode="M40">
371
372 <!--ASSERT -->
373 <axsl:choose><axsl:when test="not(@operation) or @operation='equals' or @operation='not equal' or @operation='greater than' or @operation='greater than or equal' or @operation='less than' or @operation='less than or equal'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - The use of '<axsl:text/><axsl:value-of select="@operation"/><axsl:text/>' for the operation attribute of the <axsl:text/><axsl:value-of select="name()"/><axsl:text/> entity is not valid given a datatype of version.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M40"/></axsl:template>
374
375 <!--RULE -->
376 <axsl:template match="oval-def:objects/*/*[@datatype='record']|oval-def:states/*/*[@datatype='record']" priority="1000" mode="M40">
377
378 <!--ASSERT -->
379 <axsl:choose><axsl:when test="not(@operation) or @operation='equals'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - The use of '<axsl:text/><axsl:value-of select="@operation"/><axsl:text/>' for the operation attribute of the <axsl:text/><axsl:value-of select="name()"/><axsl:text/> entity is not valid given a datatype of record.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M40"/></axsl:template><axsl:template match="text()" priority="-1" mode="M40"/><axsl:template match="@*|node()" priority="-2" mode="M40"><axsl:apply-templates select="@*|*" mode="M40"/></axsl:template>
380
381 <!--PATTERN oval-def_no_var_ref_with_records-->
382
383
384 <!--RULE -->
385 <axsl:template match="oval-def:objects/*/*[@datatype='record']|oval-def:states/*/*[@datatype='record']" priority="1000" mode="M41">
386
387 <!--ASSERT -->
388 <axsl:choose><axsl:when test="not(@var_ref)"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - The use of var_ref is prohibited when the datatype is 'record'.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M41"/></axsl:template><axsl:template match="text()" priority="-1" mode="M41"/><axsl:template match="@*|node()" priority="-2" mode="M41"><axsl:apply-templates select="@*|*" mode="M41"/></axsl:template>
389
390 <!--PATTERN oval-def_definition_entity_type_check_rules-->
391
392
393 <!--RULE -->
394 <axsl:template match="oval-def:objects/*/*[not((@xsi:nil='1' or @xsi:nil='true')) and not(@var_ref) and @datatype='int']|oval-def:objects/*/*/*[not(@var_ref) and @datatype='int']|oval-def:states/*/*[not((@xsi:nil='1' or @xsi:nil='true')) and not(@var_ref) and @datatype='int']|oval-def:states/*/*/*[not(@var_ref) and @datatype='int']" priority="1000" mode="M42">
395
396 <!--ASSERT -->
397 <axsl:choose><axsl:when test="(not(contains(.,'.'))) and (number(.) = floor(.))"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - The datatype for the <axsl:text/><axsl:value-of select="name()"/><axsl:text/> entity is 'int' but the value is not an integer.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M42"/></axsl:template><axsl:template match="text()" priority="-1" mode="M42"/><axsl:template match="@*|node()" priority="-2" mode="M42"><axsl:apply-templates select="@*|*" mode="M42"/></axsl:template>
398
399 <!--PATTERN oval_schema_version_one_core_element-->
400
401
402 <!--RULE -->
403 <axsl:template match="oval-def:oval_definitions/oval-def:generator" priority="1000" mode="M43">
404
405 <!--ASSERT -->
406 <axsl:choose><axsl:when test="count(oval:schema_version[not(@platform)]) = 1"/><axsl:otherwise>One (and only one) schema_version element MUST be present and omit the platform attribute to represent the core version.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M43"/></axsl:template><axsl:template match="text()" priority="-1" mode="M43"/><axsl:template match="@*|node()" priority="-2" mode="M43"><axsl:apply-templates select="@*|*" mode="M43"/></axsl:template>
407
408 <!--PATTERN oval_schema_version_empty_platform-->
409
410
411 <!--RULE -->
412 <axsl:template match="oval-def:oval_definitions/oval-def:generator/oval:schema_version[@platform]" priority="1000" mode="M44">
413
414 <!--REPORT -->
415 <axsl:if test="@platform = ''">Warning: The platform attribute should be set to the URI of the target namespace for this platform extension.<axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M44"/></axsl:template><axsl:template match="text()" priority="-1" mode="M44"/><axsl:template match="@*|node()" priority="-2" mode="M44"><axsl:apply-templates select="@*|*" mode="M44"/></axsl:template>
416
417 <!--PATTERN oval_schema_version_core_matches_platforms-->
418
419
420 <!--RULE -->
421 <axsl:template match="oval-def:oval_definitions/oval-def:generator/oval:schema_version[@platform]" priority="1000" mode="M45"><axsl:variable name="core_version_portion" select="parent::oval-def:generator/oval:schema_version[not(@platform)]"/>
422
423 <!--ASSERT -->
424 <axsl:choose><axsl:when test="starts-with(.,$core_version_portion)"/><axsl:otherwise>This platform's version (<axsl:text/><axsl:value-of select="."/><axsl:text/>) MUST match the core version being used: <axsl:text/><axsl:value-of select="$core_version_portion"/><axsl:text/>.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M45"/></axsl:template><axsl:template match="text()" priority="-1" mode="M45"/><axsl:template match="@*|node()" priority="-2" mode="M45"><axsl:apply-templates select="@*|*" mode="M45"/></axsl:template>
425
426 <!--PATTERN oval_none_exist_value_dep-->
427
428
429 <!--RULE -->
430 <axsl:template match="oval-def:oval_definitions/oval-def:tests/child::*" priority="1000" mode="M46">
431
432 <!--REPORT -->
433 <axsl:if test="@check='none exist'">
434 DEPRECATED ATTRIBUTE VALUE IN: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ATTRIBUTE VALUE:
435 <axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M46"/></axsl:template><axsl:template match="text()" priority="-1" mode="M46"/><axsl:template match="@*|node()" priority="-2" mode="M46"><axsl:apply-templates select="@*|*" mode="M46"/></axsl:template>
436
437 <!--PATTERN aix-def_interimfixtst-->
438
439
440 <!--RULE -->
441 <axsl:template match="aix-def:interim_fix_test/aix-def:object" priority="1001" mode="M47">
442
443 <!--ASSERT -->
444 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/aix-def:interim_fix_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a <axsl:text/><axsl:value-of select="name(..)"/><axsl:text/> must reference a interim_fix_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M47"/></axsl:template>
445
446 <!--RULE -->
447 <axsl:template match="aix-def:interim_fix_test/aix-def:state" priority="1000" mode="M47">
448
449 <!--ASSERT -->
450 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/aix-def:interim_fix_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a <axsl:text/><axsl:value-of select="name(..)"/><axsl:text/> must reference a interim_fix_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M47"/></axsl:template><axsl:template match="text()" priority="-1" mode="M47"/><axsl:template match="@*|node()" priority="-2" mode="M47"><axsl:apply-templates select="@*|*" mode="M47"/></axsl:template>
451
452 <!--PATTERN aix-def_interim_fix_object_verify_filter_state-->
453
454
455 <!--RULE -->
456 <axsl:template match="aix-def:interim_fix_object//oval-def:filter" priority="1000" mode="M48"><axsl:variable name="parent_object" select="ancestor::aix-def:interim_fix_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
457
458 <!--ASSERT -->
459 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#aix') and ($state_name='interim_fix_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M48"/></axsl:template><axsl:template match="text()" priority="-1" mode="M48"/><axsl:template match="@*|node()" priority="-2" mode="M48"><axsl:apply-templates select="@*|*" mode="M48"/></axsl:template>
460
461 <!--PATTERN aix-def_filesettst-->
462
463
464 <!--RULE -->
465 <axsl:template match="aix-def:fileset_test/aix-def:object" priority="1001" mode="M49">
466
467 <!--ASSERT -->
468 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/aix-def:fileset_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a fileset_test must reference a fileset_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M49"/></axsl:template>
469
470 <!--RULE -->
471 <axsl:template match="aix-def:fileset_test/aix-def:state" priority="1000" mode="M49">
472
473 <!--ASSERT -->
474 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/aix-def:fileset_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a fileset_test must reference a fileset_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M49"/></axsl:template><axsl:template match="text()" priority="-1" mode="M49"/><axsl:template match="@*|node()" priority="-2" mode="M49"><axsl:apply-templates select="@*|*" mode="M49"/></axsl:template>
475
476 <!--PATTERN aix-def_fileset_object_verify_filter_state-->
477
478
479 <!--RULE -->
480 <axsl:template match="aix-def:fileset_object//oval-def:filter" priority="1000" mode="M50"><axsl:variable name="parent_object" select="ancestor::aix-def:fileset_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
481
482 <!--ASSERT -->
483 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#aix') and ($state_name='fileset_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M50"/></axsl:template><axsl:template match="text()" priority="-1" mode="M50"/><axsl:template match="@*|node()" priority="-2" mode="M50"><axsl:apply-templates select="@*|*" mode="M50"/></axsl:template>
484
485 <!--PATTERN aix-def_fixtst-->
486
487
488 <!--RULE -->
489 <axsl:template match="aix-def:fix_test/aix-def:object" priority="1001" mode="M51">
490
491 <!--ASSERT -->
492 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/aix-def:fix_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a fix_test must reference a fix_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M51"/></axsl:template>
493
494 <!--RULE -->
495 <axsl:template match="aix-def:fix_test/aix-def:state" priority="1000" mode="M51">
496
497 <!--ASSERT -->
498 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/aix-def:fix_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a fix_test must reference a fix_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M51"/></axsl:template><axsl:template match="text()" priority="-1" mode="M51"/><axsl:template match="@*|node()" priority="-2" mode="M51"><axsl:apply-templates select="@*|*" mode="M51"/></axsl:template>
499
500 <!--PATTERN aix-def_fix_object_verify_filter_state-->
501
502
503 <!--RULE -->
504 <axsl:template match="aix-def:fix_object//oval-def:filter" priority="1000" mode="M52"><axsl:variable name="parent_object" select="ancestor::aix-def:fix_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
505
506 <!--ASSERT -->
507 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#aix') and ($state_name='fix_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M52"/></axsl:template><axsl:template match="text()" priority="-1" mode="M52"/><axsl:template match="@*|node()" priority="-2" mode="M52"><axsl:apply-templates select="@*|*" mode="M52"/></axsl:template>
508
509 <!--PATTERN aix-def_notst-->
510
511
512 <!--RULE -->
513 <axsl:template match="aix-def:no_test/aix-def:object" priority="1001" mode="M53">
514
515 <!--ASSERT -->
516 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/aix-def:no_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a <axsl:text/><axsl:value-of select="name(..)"/><axsl:text/> must reference a no_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M53"/></axsl:template>
517
518 <!--RULE -->
519 <axsl:template match="aix-def:no_test/aix-def:state" priority="1000" mode="M53">
520
521 <!--ASSERT -->
522 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/aix-def:no_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a <axsl:text/><axsl:value-of select="name(..)"/><axsl:text/> must reference a no_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M53"/></axsl:template><axsl:template match="text()" priority="-1" mode="M53"/><axsl:template match="@*|node()" priority="-2" mode="M53"><axsl:apply-templates select="@*|*" mode="M53"/></axsl:template>
523
524 <!--PATTERN aix-def_osleveltst-->
525
526
527 <!--RULE -->
528 <axsl:template match="aix-def:oslevel_test/aix-def:object" priority="1001" mode="M54">
529
530 <!--ASSERT -->
531 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/aix-def:oslevel_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a oslevel_test must reference a oslevel_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M54"/></axsl:template>
532
533 <!--RULE -->
534 <axsl:template match="aix-def:oslevel_test/aix-def:state" priority="1000" mode="M54">
535
536 <!--ASSERT -->
537 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/aix-def:oslevel_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a oslevel_test must reference a oslevel_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M54"/></axsl:template><axsl:template match="text()" priority="-1" mode="M54"/><axsl:template match="@*|node()" priority="-2" mode="M54"><axsl:apply-templates select="@*|*" mode="M54"/></axsl:template>
538
539 <!--PATTERN android-def_appmanager_test-->
540
541
542 <!--RULE -->
543 <axsl:template match="android-def:appmanager_test/android-def:object" priority="1001" mode="M55">
544
545 <!--ASSERT -->
546 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/android-def:appmanager_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an appmanager_test must reference an appmanager_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M55"/></axsl:template>
547
548 <!--RULE -->
549 <axsl:template match="android-def:appmanager_test/android-def:state" priority="1000" mode="M55">
550
551 <!--ASSERT -->
552 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/android-def:appmanager_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an appmanager_test must reference an appmanager_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M55"/></axsl:template><axsl:template match="text()" priority="-1" mode="M55"/><axsl:template match="@*|node()" priority="-2" mode="M55"><axsl:apply-templates select="@*|*" mode="M55"/></axsl:template>
553
554 <!--PATTERN android-def_appmanager_object_verify_filter_state-->
555
556
557 <!--RULE -->
558 <axsl:template match="android-def:appmanager_object//oval-def:filter" priority="1000" mode="M56"><axsl:variable name="parent_object" select="ancestor::android-def:appmanager_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
559
560 <!--ASSERT -->
561 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#android') and ($state_name='appmanager_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M56"/></axsl:template><axsl:template match="text()" priority="-1" mode="M56"/><axsl:template match="@*|node()" priority="-2" mode="M56"><axsl:apply-templates select="@*|*" mode="M56"/></axsl:template>
562
563 <!--PATTERN android-def_bluetooth_test-->
564
565
566 <!--RULE -->
567 <axsl:template match="android-def:bluetooth_test/android-def:object" priority="1001" mode="M57">
568
569 <!--ASSERT -->
570 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/android-def:bluetooth_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an bluetooth_test must reference an bluetooth_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M57"/></axsl:template>
571
572 <!--RULE -->
573 <axsl:template match="android-def:bluetooth_test/android-def:state" priority="1000" mode="M57">
574
575 <!--ASSERT -->
576 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/android-def:bluetooth_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an bluetooth_test must reference an bluetooth_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M57"/></axsl:template><axsl:template match="text()" priority="-1" mode="M57"/><axsl:template match="@*|node()" priority="-2" mode="M57"><axsl:apply-templates select="@*|*" mode="M57"/></axsl:template>
577
578 <!--PATTERN android-def_cmrtst-->
579
580
581 <!--RULE -->
582 <axsl:template match="android-def:camera_test/android-def:object" priority="1001" mode="M58">
583
584 <!--ASSERT -->
585 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/android-def:camera_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a camera_test must reference a camera_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M58"/></axsl:template>
586
587 <!--RULE -->
588 <axsl:template match="android-def:camera_test/android-def:state" priority="1000" mode="M58">
589
590 <!--ASSERT -->
591 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/android-def:camera_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a camera_test must reference a camera_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M58"/></axsl:template><axsl:template match="text()" priority="-1" mode="M58"/><axsl:template match="@*|node()" priority="-2" mode="M58"><axsl:apply-templates select="@*|*" mode="M58"/></axsl:template>
592
593 <!--PATTERN android-def_certtst-->
594
595
596 <!--RULE -->
597 <axsl:template match="android-def:certificate_test/android-def:object" priority="1001" mode="M59">
598
599 <!--ASSERT -->
600 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/android-def:certificate_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a certificate_test must reference a certificate_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M59"/></axsl:template>
601
602 <!--RULE -->
603 <axsl:template match="android-def:certificate_test/android-def:state" priority="1000" mode="M59">
604
605 <!--ASSERT -->
606 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/android-def:certificate_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a certificate_test must reference a certificate_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M59"/></axsl:template><axsl:template match="text()" priority="-1" mode="M59"/><axsl:template match="@*|node()" priority="-2" mode="M59"><axsl:apply-templates select="@*|*" mode="M59"/></axsl:template>
607
608 <!--PATTERN android-def_devicesettings_test-->
609
610
611 <!--RULE -->
612 <axsl:template match="android-def:devicesettings_test/android-def:object" priority="1001" mode="M60">
613
614 <!--ASSERT -->
615 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/android-def:devicesettings_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an devicesettings_test must reference an devicesettings_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M60"/></axsl:template>
616
617 <!--RULE -->
618 <axsl:template match="android-def:devicesettings_test/android-def:state" priority="1000" mode="M60">
619
620 <!--ASSERT -->
621 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/android-def:devicesettings_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an devicesettings_test must reference an devicesettings_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M60"/></axsl:template><axsl:template match="text()" priority="-1" mode="M60"/><axsl:template match="@*|node()" priority="-2" mode="M60"><axsl:apply-templates select="@*|*" mode="M60"/></axsl:template>
622
623 <!--PATTERN android-def_encryptiontst-->
624
625
626 <!--RULE -->
627 <axsl:template match="android-def:encryption_test/android-def:object" priority="1001" mode="M61">
628
629 <!--ASSERT -->
630 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/android-def:encryption_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a encryption_test must reference a encryption_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M61"/></axsl:template>
631
632 <!--RULE -->
633 <axsl:template match="android-def:encryption_test/android-def:state" priority="1000" mode="M61">
634
635 <!--ASSERT -->
636 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/android-def:encryption_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a encryption_test must reference a encryption_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M61"/></axsl:template><axsl:template match="text()" priority="-1" mode="M61"/><axsl:template match="@*|node()" priority="-2" mode="M61"><axsl:apply-templates select="@*|*" mode="M61"/></axsl:template>
637
638 <!--PATTERN android-def_locationservice_test-->
639
640
641 <!--RULE -->
642 <axsl:template match="android-def:locationservice_test/android-def:object" priority="1001" mode="M62">
643
644 <!--ASSERT -->
645 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/android-def:locationservice_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an locationservice_test must reference an locationservice_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M62"/></axsl:template>
646
647 <!--RULE -->
648 <axsl:template match="android-def:locationservice_test/android-def:state" priority="1000" mode="M62">
649
650 <!--ASSERT -->
651 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/android-def:locationservice_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an locationservice_test must reference an locationservice_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M62"/></axsl:template><axsl:template match="text()" priority="-1" mode="M62"/><axsl:template match="@*|node()" priority="-2" mode="M62"><axsl:apply-templates select="@*|*" mode="M62"/></axsl:template>
652
653 <!--PATTERN android-def_network_test-->
654
655
656 <!--RULE -->
657 <axsl:template match="android-def:network_test/android-def:object" priority="1001" mode="M63">
658
659 <!--ASSERT -->
660 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/android-def:network_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an network_test must reference an network_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M63"/></axsl:template>
661
662 <!--RULE -->
663 <axsl:template match="android-def:network_test/android-def:state" priority="1000" mode="M63">
664
665 <!--ASSERT -->
666 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/android-def:network_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an network_test must reference an network_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M63"/></axsl:template><axsl:template match="text()" priority="-1" mode="M63"/><axsl:template match="@*|node()" priority="-2" mode="M63"><axsl:apply-templates select="@*|*" mode="M63"/></axsl:template>
667
668 <!--PATTERN android-def_ptst-->
669
670
671 <!--RULE -->
672 <axsl:template match="android-def:password_test/android-def:object" priority="1001" mode="M64">
673
674 <!--ASSERT -->
675 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/android-def:password_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a password_test must reference a password_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M64"/></axsl:template>
676
677 <!--RULE -->
678 <axsl:template match="android-def:password_test/android-def:state" priority="1000" mode="M64">
679
680 <!--ASSERT -->
681 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/android-def:password_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a password_test must reference a password_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M64"/></axsl:template><axsl:template match="text()" priority="-1" mode="M64"/><axsl:template match="@*|node()" priority="-2" mode="M64"><axsl:apply-templates select="@*|*" mode="M64"/></axsl:template>
682
683 <!--PATTERN android-def_systemdetails_test-->
684
685
686 <!--RULE -->
687 <axsl:template match="android-def:systemdetails_test/android-def:object" priority="1001" mode="M65">
688
689 <!--ASSERT -->
690 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/android-def:systemdetails_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of systemdetails_test must reference systemdetails_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M65"/></axsl:template>
691
692 <!--RULE -->
693 <axsl:template match="android-def:systemdetails_test/android-def:state" priority="1000" mode="M65">
694
695 <!--ASSERT -->
696 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/android-def:systemdetails_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an systemdetails_test must reference an systemdetails_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M65"/></axsl:template><axsl:template match="text()" priority="-1" mode="M65"/><axsl:template match="@*|node()" priority="-2" mode="M65"><axsl:apply-templates select="@*|*" mode="M65"/></axsl:template>
697
698 <!--PATTERN android-def_wifi_test-->
699
700
701 <!--RULE -->
702 <axsl:template match="android-def:wifi_test/android-def:object" priority="1001" mode="M66">
703
704 <!--ASSERT -->
705 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/android-def:wifi_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an wifi_test must reference an wifi_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M66"/></axsl:template>
706
707 <!--RULE -->
708 <axsl:template match="android-def:wifi_test/android-def:state" priority="1000" mode="M66">
709
710 <!--ASSERT -->
711 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/android-def:wifi_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an wifi_test must reference an wifi_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M66"/></axsl:template><axsl:template match="text()" priority="-1" mode="M66"/><axsl:template match="@*|node()" priority="-2" mode="M66"><axsl:apply-templates select="@*|*" mode="M66"/></axsl:template>
712
713 <!--PATTERN android-def_wifinetwork_test-->
714
715
716 <!--RULE -->
717 <axsl:template match="android-def:wifinetwork_test/android-def:object" priority="1001" mode="M67">
718
719 <!--ASSERT -->
720 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/android-def:wifinetwork_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an wifinetwork_test must reference an wifinetwork_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M67"/></axsl:template>
721
722 <!--RULE -->
723 <axsl:template match="android-def:wifinetwork_test/android-def:state" priority="1000" mode="M67">
724
725 <!--ASSERT -->
726 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/android-def:wifinetwork_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an wifinetwork_test must reference an wifinetwork_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M67"/></axsl:template><axsl:template match="text()" priority="-1" mode="M67"/><axsl:template match="@*|node()" priority="-2" mode="M67"><axsl:apply-templates select="@*|*" mode="M67"/></axsl:template>
727
728 <!--PATTERN android-def_wifinetwork_object_verify_filter_state-->
729
730
731 <!--RULE -->
732 <axsl:template match="android-def:wifinetwork_object//oval-def:filter" priority="1000" mode="M68"><axsl:variable name="parent_object" select="ancestor::android-def:wifinetwork_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
733
734 <!--ASSERT -->
735 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#android') and ($state_name='wifinetwork_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M68"/></axsl:template><axsl:template match="text()" priority="-1" mode="M68"/><axsl:template match="@*|node()" priority="-2" mode="M68"><axsl:apply-templates select="@*|*" mode="M68"/></axsl:template>
736
737 <!--PATTERN android-def_teltst-->
738
739
740 <!--RULE -->
741 <axsl:template match="android-def:telephony_test/android-def:object" priority="1001" mode="M69">
742
743 <!--ASSERT -->
744 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/android-def:telephony_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a telephony_test must reference a telephony_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M69"/></axsl:template>
745
746 <!--RULE -->
747 <axsl:template match="android-def:telephony_test/android-def:state" priority="1000" mode="M69">
748
749 <!--ASSERT -->
750 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/android-def:telephony_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a telephony_test must reference a telephony_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M69"/></axsl:template><axsl:template match="text()" priority="-1" mode="M69"/><axsl:template match="@*|node()" priority="-2" mode="M69"><axsl:apply-templates select="@*|*" mode="M69"/></axsl:template>
751
752 <!--PATTERN apache-def_httpd_test_dep-->
753
754
755 <!--RULE -->
756 <axsl:template match="apache-def:httpd_test" priority="1000" mode="M70">
757
758 <!--REPORT -->
759 <axsl:if test="true()">DEPRECATED TEST: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M70"/></axsl:template><axsl:template match="text()" priority="-1" mode="M70"/><axsl:template match="@*|node()" priority="-2" mode="M70"><axsl:apply-templates select="@*|*" mode="M70"/></axsl:template>
760
761 <!--PATTERN apache-def_httpdtst-->
762
763
764 <!--RULE -->
765 <axsl:template match="apache-def:httpd_test/apache-def:object" priority="1001" mode="M71">
766
767 <!--ASSERT -->
768 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/apache-def:httpd_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a httpd_test must reference a httpd_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M71"/></axsl:template>
769
770 <!--RULE -->
771 <axsl:template match="apache-def:httpd_test/apache-def:state" priority="1000" mode="M71">
772
773 <!--ASSERT -->
774 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/apache-def:httpd_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a httpd_test must reference a httpd_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M71"/></axsl:template><axsl:template match="text()" priority="-1" mode="M71"/><axsl:template match="@*|node()" priority="-2" mode="M71"><axsl:apply-templates select="@*|*" mode="M71"/></axsl:template>
775
776 <!--PATTERN apache-def_httpd_object_dep-->
777
778
779 <!--RULE -->
780 <axsl:template match="apache-def:httpd_object" priority="1000" mode="M72">
781
782 <!--REPORT -->
783 <axsl:if test="true()">DEPRECATED OBJECT: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M72"/></axsl:template><axsl:template match="text()" priority="-1" mode="M72"/><axsl:template match="@*|node()" priority="-2" mode="M72"><axsl:apply-templates select="@*|*" mode="M72"/></axsl:template>
784
785 <!--PATTERN apache-def_httpd_state_dep-->
786
787
788 <!--RULE -->
789 <axsl:template match="apache-def:httpd_state" priority="1000" mode="M73">
790
791 <!--REPORT -->
792 <axsl:if test="true()">DEPRECATED STATE: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M73"/></axsl:template><axsl:template match="text()" priority="-1" mode="M73"/><axsl:template match="@*|node()" priority="-2" mode="M73"><axsl:apply-templates select="@*|*" mode="M73"/></axsl:template>
793
794 <!--PATTERN apple-ios-def_globalrestrictions_test-->
795
796
797 <!--RULE -->
798 <axsl:template match="apple-ios-def:globalrestrictions_test/apple-ios-def:object" priority="1001" mode="M74">
799
800 <!--ASSERT -->
801 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/apple-ios-def:globalrestrictions_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a globalrestrictions_test must reference a globalrestrictions_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M74"/></axsl:template>
802
803 <!--RULE -->
804 <axsl:template match="apple-ios-def:globalrestrictions_test/apple-ios-def:state" priority="1000" mode="M74">
805
806 <!--ASSERT -->
807 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/apple-ios-def:globalrestrictions_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a globalrestrictions_test must reference a globalrestrictions_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M74"/></axsl:template><axsl:template match="text()" priority="-1" mode="M74"/><axsl:template match="@*|node()" priority="-2" mode="M74"><axsl:apply-templates select="@*|*" mode="M74"/></axsl:template>
808
809 <!--PATTERN apple-ios-def_passcodepolicy_test-->
810
811
812 <!--RULE -->
813 <axsl:template match="apple-ios-def:passcodepolicy_test/apple-ios-def:object" priority="1001" mode="M75">
814
815 <!--ASSERT -->
816 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/apple-ios-def:passcodepolicy_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a passcodepolicy_test must reference a passcodepolicy_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M75"/></axsl:template>
817
818 <!--RULE -->
819 <axsl:template match="apple-ios-def:passcodepolicy_test/apple-ios-def:state" priority="1000" mode="M75">
820
821 <!--ASSERT -->
822 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/apple-ios-def:passcodepolicy_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a passcodepolicy_test must reference a passcodepolicy_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M75"/></axsl:template><axsl:template match="text()" priority="-1" mode="M75"/><axsl:template match="@*|node()" priority="-2" mode="M75"><axsl:apply-templates select="@*|*" mode="M75"/></axsl:template>
823
824 <!--PATTERN apple-ios-def_profile_test-->
825
826
827 <!--RULE -->
828 <axsl:template match="apple-ios-def:profile_test/apple-ios-def:object" priority="1001" mode="M76">
829
830 <!--ASSERT -->
831 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/apple-ios-def:profile_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a profile_test must reference a profile_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M76"/></axsl:template>
832
833 <!--RULE -->
834 <axsl:template match="apple-ios-def:profile_test/apple-ios-def:state" priority="1000" mode="M76">
835
836 <!--ASSERT -->
837 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/apple-ios-def:profile_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a profile_test must reference a profile_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M76"/></axsl:template><axsl:template match="text()" priority="-1" mode="M76"/><axsl:template match="@*|node()" priority="-2" mode="M76"><axsl:apply-templates select="@*|*" mode="M76"/></axsl:template>
838
839 <!--PATTERN apple-ios-def_profile_object_verify_filter_state-->
840
841
842 <!--RULE -->
843 <axsl:template match="apple-ios-def:profile_object//oval-def:filter" priority="1000" mode="M77"><axsl:variable name="parent_object" select="ancestor::apple-ios-def:profile_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
844
845 <!--ASSERT -->
846 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#apple-ios') and ($state_name='profile_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M77"/></axsl:template><axsl:template match="text()" priority="-1" mode="M77"/><axsl:template match="@*|node()" priority="-2" mode="M77"><axsl:apply-templates select="@*|*" mode="M77"/></axsl:template>
847
848 <!--PATTERN asa_acltst-->
849
850
851 <!--RULE -->
852 <axsl:template match="asa-def:acl_test/asa-def:object" priority="1001" mode="M78">
853
854 <!--ASSERT -->
855 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/asa-def:acl_object/@id"/><axsl:otherwise>
856 <axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a acl_test must reference a acl_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M78"/></axsl:template>
857
858 <!--RULE -->
859 <axsl:template match="asa-def:acl_test/asa-def:state" priority="1000" mode="M78">
860
861 <!--ASSERT -->
862 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/asa-def:acl_state/@id"/><axsl:otherwise>
863 <axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a acl_test must reference a acl_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M78"/></axsl:template><axsl:template match="text()" priority="-1" mode="M78"/><axsl:template match="@*|node()" priority="-2" mode="M78"><axsl:apply-templates select="@*|*" mode="M78"/></axsl:template>
864
865 <!--PATTERN asa_acl_object_verify_filter_state-->
866
867
868 <!--RULE -->
869 <axsl:template match="asa-def:acl_object//oval-def:filter" priority="1000" mode="M79"><axsl:variable name="parent_object" select="ancestor::asa-def:acl_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
870
871 <!--ASSERT -->
872 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#asa') and ($state_name='acl_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M79"/></axsl:template><axsl:template match="text()" priority="-1" mode="M79"/><axsl:template match="@*|node()" priority="-2" mode="M79"><axsl:apply-templates select="@*|*" mode="M79"/></axsl:template>
873
874 <!--PATTERN asa-class_maptst-->
875
876
877 <!--RULE -->
878 <axsl:template match="asa-def:class_map_test/asa-def:object" priority="1001" mode="M80">
879
880 <!--ASSERT -->
881 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/asa-def:class_map_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an class_map_test must reference an class_map_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M80"/></axsl:template>
882
883 <!--RULE -->
884 <axsl:template match="asa-def:class_map_test/asa-def:state" priority="1000" mode="M80">
885
886 <!--ASSERT -->
887 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/asa-def:class_map_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an class_map_test must reference an class_map_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M80"/></axsl:template><axsl:template match="text()" priority="-1" mode="M80"/><axsl:template match="@*|node()" priority="-2" mode="M80"><axsl:apply-templates select="@*|*" mode="M80"/></axsl:template>
888
889 <!--PATTERN asa_class_map_object_verify_filter_state-->
890
891
892 <!--RULE -->
893 <axsl:template match="asa-def:class_map_object//oval-def:filter" priority="1000" mode="M81"><axsl:variable name="parent_object" select="ancestor::asa-def:class_map_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
894
895 <!--ASSERT -->
896 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#asa') and ($state_name='class_map_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M81"/></axsl:template><axsl:template match="text()" priority="-1" mode="M81"/><axsl:template match="@*|node()" priority="-2" mode="M81"><axsl:apply-templates select="@*|*" mode="M81"/></axsl:template>
897
898 <!--PATTERN asa-def_interfacetst-->
899
900
901 <!--RULE -->
902 <axsl:template match="asa-def:interface_test/asa-def:object" priority="1001" mode="M82">
903
904 <!--ASSERT -->
905 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/asa-def:interface_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an interface_test must reference an interface_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M82"/></axsl:template>
906
907 <!--RULE -->
908 <axsl:template match="asa-def:interface_test/asa-def:state" priority="1000" mode="M82">
909
910 <!--ASSERT -->
911 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/asa-def:interface_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an interface_test must reference an interface_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M82"/></axsl:template><axsl:template match="text()" priority="-1" mode="M82"/><axsl:template match="@*|node()" priority="-2" mode="M82"><axsl:apply-templates select="@*|*" mode="M82"/></axsl:template>
912
913 <!--PATTERN asa_interface_object_verify_filter_state-->
914
915
916 <!--RULE -->
917 <axsl:template match="asa-def:interface_object//oval-def:filter" priority="1000" mode="M83"><axsl:variable name="parent_object" select="ancestor::asa-def:interface_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
918
919 <!--ASSERT -->
920 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#asa') and ($state_name='interface_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M83"/></axsl:template><axsl:template match="text()" priority="-1" mode="M83"/><axsl:template match="@*|node()" priority="-2" mode="M83"><axsl:apply-templates select="@*|*" mode="M83"/></axsl:template>
921
922 <!--PATTERN asa-def_interfaceste_urpf_command_dep-->
923
924
925 <!--RULE -->
926 <axsl:template match="asa-def:interface_state/asa-def:urpf_command" priority="1000" mode="M84">
927
928 <!--REPORT -->
929 <axsl:if test="true()">Warning: DEPRECATED ENTITY: <axsl:text/><axsl:value-of select="name()"/><axsl:text/>. This entity has been deprecated because it was replaced by the ipv4_urpf_command and ipv6_urpf_command entities.<axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M84"/></axsl:template><axsl:template match="text()" priority="-1" mode="M84"/><axsl:template match="@*|node()" priority="-2" mode="M84"><axsl:apply-templates select="@*|*" mode="M84"/></axsl:template>
930
931 <!--PATTERN asa_linetst-->
932
933
934 <!--RULE -->
935 <axsl:template match="asa-def:line_test/asa-def:object" priority="1001" mode="M85">
936
937 <!--ASSERT -->
938 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/asa-def:line_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a line_test must reference a line_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M85"/></axsl:template>
939
940 <!--RULE -->
941 <axsl:template match="asa-def:line_test/asa-def:state" priority="1000" mode="M85">
942
943 <!--ASSERT -->
944 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/asa-def:line_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a line_test must reference a line_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M85"/></axsl:template><axsl:template match="text()" priority="-1" mode="M85"/><axsl:template match="@*|node()" priority="-2" mode="M85"><axsl:apply-templates select="@*|*" mode="M85"/></axsl:template>
945
946 <!--PATTERN asa_line_object_verify_filter_state-->
947
948
949 <!--RULE -->
950 <axsl:template match="asa-def:line_object//oval-def:filter" priority="1000" mode="M86"><axsl:variable name="parent_object" select="ancestor::asa-def:line_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
951
952 <!--ASSERT -->
953 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#asa') and ($state_name='line_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M86"/></axsl:template><axsl:template match="text()" priority="-1" mode="M86"/><axsl:template match="@*|node()" priority="-2" mode="M86"><axsl:apply-templates select="@*|*" mode="M86"/></axsl:template>
954
955 <!--PATTERN asa-policy_maptst-->
956
957
958 <!--RULE -->
959 <axsl:template match="asa-def:policy_map_test/asa-def:object" priority="1001" mode="M87">
960
961 <!--ASSERT -->
962 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/asa-def:policy_map_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an policy_map_test must reference an policy_map_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M87"/></axsl:template>
963
964 <!--RULE -->
965 <axsl:template match="asa-def:policy_map_test/asa-def:state" priority="1000" mode="M87">
966
967 <!--ASSERT -->
968 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/asa-def:policy_map_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an policy_map_test must reference an policy_map_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M87"/></axsl:template><axsl:template match="text()" priority="-1" mode="M87"/><axsl:template match="@*|node()" priority="-2" mode="M87"><axsl:apply-templates select="@*|*" mode="M87"/></axsl:template>
969
970 <!--PATTERN asa_policy_map_object_verify_filter_state-->
971
972
973 <!--RULE -->
974 <axsl:template match="asa-def:policy_map_object//oval-def:filter" priority="1000" mode="M88"><axsl:variable name="parent_object" select="ancestor::asa-def:policy_map_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
975
976 <!--ASSERT -->
977 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#asa') and ($state_name='policy_map_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M88"/></axsl:template><axsl:template match="text()" priority="-1" mode="M88"/><axsl:template match="@*|node()" priority="-2" mode="M88"><axsl:apply-templates select="@*|*" mode="M88"/></axsl:template>
978
979 <!--PATTERN asa-service_policytst-->
980
981
982 <!--RULE -->
983 <axsl:template match="asa-def:service_policy_test/asa-def:object" priority="1001" mode="M89">
984
985 <!--ASSERT -->
986 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/asa-def:service_policy_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an service_policy_test must reference an service_policy_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M89"/></axsl:template>
987
988 <!--RULE -->
989 <axsl:template match="asa-def:service_policy_test/asa-def:state" priority="1000" mode="M89">
990
991 <!--ASSERT -->
992 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/asa-def:service_policy_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an service_policy_test must reference an service_policy_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M89"/></axsl:template><axsl:template match="text()" priority="-1" mode="M89"/><axsl:template match="@*|node()" priority="-2" mode="M89"><axsl:apply-templates select="@*|*" mode="M89"/></axsl:template>
993
994 <!--PATTERN asa_service_policy_object_verify_filter_state-->
995
996
997 <!--RULE -->
998 <axsl:template match="asa-def:service_policy_object//oval-def:filter" priority="1000" mode="M90"><axsl:variable name="parent_object" select="ancestor::asa-def:service_policy_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
999
1000 <!--ASSERT -->
1001 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#asa') and ($state_name='service_policy_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M90"/></axsl:template><axsl:template match="text()" priority="-1" mode="M90"/><axsl:template match="@*|node()" priority="-2" mode="M90"><axsl:apply-templates select="@*|*" mode="M90"/></axsl:template>
1002
1003 <!--PATTERN asa_hosttst-->
1004
1005
1006 <!--RULE -->
1007 <axsl:template match="asa-def:snmp_host_test/asa-def:object" priority="1001" mode="M91">
1008
1009 <!--ASSERT -->
1010 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/asa-def:snmp_host_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an snmp_host_test must reference an snmp_host_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M91"/></axsl:template>
1011
1012 <!--RULE -->
1013 <axsl:template match="asa-def:snmp_host_test/asa-def:state" priority="1000" mode="M91">
1014
1015 <!--ASSERT -->
1016 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/asa-def:snmp_host_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an snmp_host_test must reference an snmp_host_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M91"/></axsl:template><axsl:template match="text()" priority="-1" mode="M91"/><axsl:template match="@*|node()" priority="-2" mode="M91"><axsl:apply-templates select="@*|*" mode="M91"/></axsl:template>
1017
1018 <!--PATTERN asa_snmp_host_object_verify_filter_state-->
1019
1020
1021 <!--RULE -->
1022 <axsl:template match="asa-def:snmp_host_object//oval-def:filter" priority="1000" mode="M92"><axsl:variable name="parent_object" select="ancestor::asa-def:snmp_host_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
1023
1024 <!--ASSERT -->
1025 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#asa') and ($state_name='snmp_host_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M92"/></axsl:template><axsl:template match="text()" priority="-1" mode="M92"/><axsl:template match="@*|node()" priority="-2" mode="M92"><axsl:apply-templates select="@*|*" mode="M92"/></axsl:template>
1026
1027 <!--PATTERN asa_usertst-->
1028
1029
1030 <!--RULE -->
1031 <axsl:template match="asa-def:snmp_user_test/asa-def:object" priority="1001" mode="M93">
1032
1033 <!--ASSERT -->
1034 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/asa-def:snmp_user_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an snmp_user_test must reference an snmp_user_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M93"/></axsl:template>
1035
1036 <!--RULE -->
1037 <axsl:template match="asa-def:snmp_user_test/asa-def:state" priority="1000" mode="M93">
1038
1039 <!--ASSERT -->
1040 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/asa-def:snmp_user_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an snmp_user_test must reference an snmp_user_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M93"/></axsl:template><axsl:template match="text()" priority="-1" mode="M93"/><axsl:template match="@*|node()" priority="-2" mode="M93"><axsl:apply-templates select="@*|*" mode="M93"/></axsl:template>
1041
1042 <!--PATTERN asa_snmp_user_object_verify_filter_state-->
1043
1044
1045 <!--RULE -->
1046 <axsl:template match="asa-def:snmp_user_object//oval-def:filter" priority="1000" mode="M94"><axsl:variable name="parent_object" select="ancestor::asa-def:snmp_user_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
1047
1048 <!--ASSERT -->
1049 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#asa') and ($state_name='snmp_user_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M94"/></axsl:template><axsl:template match="text()" priority="-1" mode="M94"/><axsl:template match="@*|node()" priority="-2" mode="M94"><axsl:apply-templates select="@*|*" mode="M94"/></axsl:template>
1050
1051 <!--PATTERN asa_grouptst-->
1052
1053
1054 <!--RULE -->
1055 <axsl:template match="asa-def:snmp_group_test/asa-def:object" priority="1001" mode="M95">
1056
1057 <!--ASSERT -->
1058 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/asa-def:snmp_group_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an snmp_group_test must reference an snmp_group_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M95"/></axsl:template>
1059
1060 <!--RULE -->
1061 <axsl:template match="asa-def:snmp_group_test/asa-def:state" priority="1000" mode="M95">
1062
1063 <!--ASSERT -->
1064 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/asa-def:snmp_group_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an snmp_group_test must reference an snmp_group_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M95"/></axsl:template><axsl:template match="text()" priority="-1" mode="M95"/><axsl:template match="@*|node()" priority="-2" mode="M95"><axsl:apply-templates select="@*|*" mode="M95"/></axsl:template>
1065
1066 <!--PATTERN asa_snmp_group_object_verify_filter_state-->
1067
1068
1069 <!--RULE -->
1070 <axsl:template match="asa-def:snmp_group_object//oval-def:filter" priority="1000" mode="M96"><axsl:variable name="parent_object" select="ancestor::asa-def:snmp_group_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
1071
1072 <!--ASSERT -->
1073 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#asa') and ($state_name='snmp_group_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M96"/></axsl:template><axsl:template match="text()" priority="-1" mode="M96"/><axsl:template match="@*|node()" priority="-2" mode="M96"><axsl:apply-templates select="@*|*" mode="M96"/></axsl:template>
1074
1075 <!--PATTERN asatst-->
1076
1077
1078 <!--RULE -->
1079 <axsl:template match="asa-def:tcp_map_test/asa-def:object" priority="1001" mode="M97">
1080
1081 <!--ASSERT -->
1082 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/asa-def:service_policy_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an service_policy_test must reference an service_policy_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M97"/></axsl:template>
1083
1084 <!--RULE -->
1085 <axsl:template match="asa-def:tcp_map_test/asa-def:state" priority="1000" mode="M97">
1086
1087 <!--ASSERT -->
1088 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/asa-def:service_policy_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an service_policy_test must reference an service_policy_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M97"/></axsl:template><axsl:template match="text()" priority="-1" mode="M97"/><axsl:template match="@*|node()" priority="-2" mode="M97"><axsl:apply-templates select="@*|*" mode="M97"/></axsl:template>
1089
1090 <!--PATTERN asa_tcp_map_object_verify_filter_state-->
1091
1092
1093 <!--RULE -->
1094 <axsl:template match="asa-def:tcp_map_object//oval-def:filter" priority="1000" mode="M98"><axsl:variable name="parent_object" select="ancestor::asa-def:tcp_map_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
1095
1096 <!--ASSERT -->
1097 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#asa') and ($state_name='service_policy_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M98"/></axsl:template><axsl:template match="text()" priority="-1" mode="M98"/><axsl:template match="@*|node()" priority="-2" mode="M98"><axsl:apply-templates select="@*|*" mode="M98"/></axsl:template>
1098
1099 <!--PATTERN asa_vertst-->
1100
1101
1102 <!--RULE -->
1103 <axsl:template match="asa-def:version_test/asa-def:object" priority="1001" mode="M99">
1104
1105 <!--ASSERT -->
1106 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/asa-def:version_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a version_test must reference a version_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M99"/></axsl:template>
1107
1108 <!--RULE -->
1109 <axsl:template match="asa-def:version_test/asa-def:state" priority="1000" mode="M99">
1110
1111 <!--ASSERT -->
1112 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/asa-def:version_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a version_test must reference a version_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M99"/></axsl:template><axsl:template match="text()" priority="-1" mode="M99"/><axsl:template match="@*|node()" priority="-2" mode="M99"><axsl:apply-templates select="@*|*" mode="M99"/></axsl:template>
1113
1114 <!--PATTERN catos-def_linetst-->
1115
1116
1117 <!--RULE -->
1118 <axsl:template match="catos-def:line_test/catos-def:object" priority="1001" mode="M100">
1119
1120 <!--ASSERT -->
1121 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/catos-def:line_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a line_test must reference a line_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M100"/></axsl:template>
1122
1123 <!--RULE -->
1124 <axsl:template match="catos-def:line_test/catos-def:state" priority="1000" mode="M100">
1125
1126 <!--ASSERT -->
1127 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/catos-def:line_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a line_test must reference a line_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M100"/></axsl:template><axsl:template match="text()" priority="-1" mode="M100"/><axsl:template match="@*|node()" priority="-2" mode="M100"><axsl:apply-templates select="@*|*" mode="M100"/></axsl:template>
1128
1129 <!--PATTERN catos-def_line_object_verify_filter_state-->
1130
1131
1132 <!--RULE -->
1133 <axsl:template match="catos-def:line_object//oval-def:filter" priority="1000" mode="M101"><axsl:variable name="parent_object" select="ancestor::catos-def:line_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
1134
1135 <!--ASSERT -->
1136 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#catos') and ($state_name='line_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M101"/></axsl:template><axsl:template match="text()" priority="-1" mode="M101"/><axsl:template match="@*|node()" priority="-2" mode="M101"><axsl:apply-templates select="@*|*" mode="M101"/></axsl:template>
1137
1138 <!--PATTERN catos-def_moduletst-->
1139
1140
1141 <!--RULE -->
1142 <axsl:template match="catos-def:module_test/catos-def:object" priority="1001" mode="M102">
1143
1144 <!--ASSERT -->
1145 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/catos-def:module_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a module_test must reference a module_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M102"/></axsl:template>
1146
1147 <!--RULE -->
1148 <axsl:template match="catos-def:module_test/catos-def:state" priority="1000" mode="M102">
1149
1150 <!--ASSERT -->
1151 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/catos-def:module_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a module_test must reference a module_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M102"/></axsl:template><axsl:template match="text()" priority="-1" mode="M102"/><axsl:template match="@*|node()" priority="-2" mode="M102"><axsl:apply-templates select="@*|*" mode="M102"/></axsl:template>
1152
1153 <!--PATTERN catos-def_module_object_verify_filter_state-->
1154
1155
1156 <!--RULE -->
1157 <axsl:template match="catos-def:module_object//oval-def:filter" priority="1000" mode="M103"><axsl:variable name="parent_object" select="ancestor::catos-def:module_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
1158
1159 <!--ASSERT -->
1160 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#catos') and ($state_name='module_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M103"/></axsl:template><axsl:template match="text()" priority="-1" mode="M103"/><axsl:template match="@*|node()" priority="-2" mode="M103"><axsl:apply-templates select="@*|*" mode="M103"/></axsl:template>
1161
1162 <!--PATTERN catos-def_version55_test-->
1163
1164
1165 <!--RULE -->
1166 <axsl:template match="catos-def:version55_test/catos-def:object" priority="1001" mode="M104">
1167
1168 <!--ASSERT -->
1169 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/catos-def:version55_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a version55_test must reference a version55_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M104"/></axsl:template>
1170
1171 <!--RULE -->
1172 <axsl:template match="catos-def:version55_test/catos-def:state" priority="1000" mode="M104">
1173
1174 <!--ASSERT -->
1175 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/catos-def:version55_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a version55_test must reference a version55_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M104"/></axsl:template><axsl:template match="text()" priority="-1" mode="M104"/><axsl:template match="@*|node()" priority="-2" mode="M104"><axsl:apply-templates select="@*|*" mode="M104"/></axsl:template>
1176
1177 <!--PATTERN catos-def_version_test_dep-->
1178
1179
1180 <!--RULE -->
1181 <axsl:template match="catos-def:version_test" priority="1000" mode="M105">
1182
1183 <!--REPORT -->
1184 <axsl:if test="true()">DEPRECATED TEST: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M105"/></axsl:template><axsl:template match="text()" priority="-1" mode="M105"/><axsl:template match="@*|node()" priority="-2" mode="M105"><axsl:apply-templates select="@*|*" mode="M105"/></axsl:template>
1185
1186 <!--PATTERN catos-def_version_test-->
1187
1188
1189 <!--RULE -->
1190 <axsl:template match="catos-def:version_test/catos-def:object" priority="1001" mode="M106">
1191
1192 <!--ASSERT -->
1193 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/catos-def:version_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a version_test must reference a version_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M106"/></axsl:template>
1194
1195 <!--RULE -->
1196 <axsl:template match="catos-def:version_test/catos-def:state" priority="1000" mode="M106">
1197
1198 <!--ASSERT -->
1199 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/catos-def:version_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a version_test must reference a version_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M106"/></axsl:template><axsl:template match="text()" priority="-1" mode="M106"/><axsl:template match="@*|node()" priority="-2" mode="M106"><axsl:apply-templates select="@*|*" mode="M106"/></axsl:template>
1200
1201 <!--PATTERN catos-def_version_object_dep-->
1202
1203
1204 <!--RULE -->
1205 <axsl:template match="catos-def:version_object" priority="1000" mode="M107">
1206
1207 <!--REPORT -->
1208 <axsl:if test="true()">DEPRECATED OBJECT: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M107"/></axsl:template><axsl:template match="text()" priority="-1" mode="M107"/><axsl:template match="@*|node()" priority="-2" mode="M107"><axsl:apply-templates select="@*|*" mode="M107"/></axsl:template>
1209
1210 <!--PATTERN catos-def_version_state_dep-->
1211
1212
1213 <!--RULE -->
1214 <axsl:template match="catos-def:version_state" priority="1000" mode="M108">
1215
1216 <!--REPORT -->
1217 <axsl:if test="true()">DEPRECATED STATE: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M108"/></axsl:template><axsl:template match="text()" priority="-1" mode="M108"/><axsl:template match="@*|node()" priority="-2" mode="M108"><axsl:apply-templates select="@*|*" mode="M108"/></axsl:template>
1218
1219 <!--PATTERN esx-def_patch56tst-->
1220
1221
1222 <!--RULE -->
1223 <axsl:template match="esx-def:patch56_test/esx-def:object" priority="1001" mode="M109">
1224
1225 <!--ASSERT -->
1226 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/esx-def:patch56_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a patch56_test must reference a patch56_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M109"/></axsl:template>
1227
1228 <!--RULE -->
1229 <axsl:template match="esx-def:patch56_test/esx-def:state" priority="1000" mode="M109">
1230
1231 <!--ASSERT -->
1232 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/esx-def:patch56_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a patch56_test must reference a patch56_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M109"/></axsl:template><axsl:template match="text()" priority="-1" mode="M109"/><axsl:template match="@*|node()" priority="-2" mode="M109"><axsl:apply-templates select="@*|*" mode="M109"/></axsl:template>
1233
1234 <!--PATTERN esx-def_patch56_object_verify_filter_state-->
1235
1236
1237 <!--RULE -->
1238 <axsl:template match="esx-def:patch56_object//oval-def:filter" priority="1000" mode="M110"><axsl:variable name="parent_object" select="ancestor::esx-def:patch56_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
1239
1240 <!--ASSERT -->
1241 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#esx') and ($state_name='patch56_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M110"/></axsl:template><axsl:template match="text()" priority="-1" mode="M110"/><axsl:template match="@*|node()" priority="-2" mode="M110"><axsl:apply-templates select="@*|*" mode="M110"/></axsl:template>
1242
1243 <!--PATTERN esx-def_patchtst_dep-->
1244
1245
1246 <!--RULE -->
1247 <axsl:template match="esx-def:patch_test" priority="1000" mode="M111">
1248
1249 <!--REPORT -->
1250 <axsl:if test="true()">DEPRECATED TEST: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M111"/></axsl:template><axsl:template match="text()" priority="-1" mode="M111"/><axsl:template match="@*|node()" priority="-2" mode="M111"><axsl:apply-templates select="@*|*" mode="M111"/></axsl:template>
1251
1252 <!--PATTERN esx-def_patchtst-->
1253
1254
1255 <!--RULE -->
1256 <axsl:template match="esx-def:patch_test/esx-def:object" priority="1001" mode="M112">
1257
1258 <!--ASSERT -->
1259 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/esx-def:patch_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a patch_test must reference a patch_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M112"/></axsl:template>
1260
1261 <!--RULE -->
1262 <axsl:template match="esx-def:patch_test/esx-def:state" priority="1000" mode="M112">
1263
1264 <!--ASSERT -->
1265 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/esx-def:patch_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a patch_test must reference a patch_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M112"/></axsl:template><axsl:template match="text()" priority="-1" mode="M112"/><axsl:template match="@*|node()" priority="-2" mode="M112"><axsl:apply-templates select="@*|*" mode="M112"/></axsl:template>
1266
1267 <!--PATTERN esx-def_patchobj_dep-->
1268
1269
1270 <!--RULE -->
1271 <axsl:template match="esx-def:patch_object" priority="1000" mode="M113">
1272
1273 <!--REPORT -->
1274 <axsl:if test="true()">DEPRECATED OBJECT: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M113"/></axsl:template><axsl:template match="text()" priority="-1" mode="M113"/><axsl:template match="@*|node()" priority="-2" mode="M113"><axsl:apply-templates select="@*|*" mode="M113"/></axsl:template>
1275
1276 <!--PATTERN esx-def_patchste_dep-->
1277
1278
1279 <!--RULE -->
1280 <axsl:template match="esx-def:patch_state" priority="1000" mode="M114">
1281
1282 <!--REPORT -->
1283 <axsl:if test="true()">DEPRECATED STATE: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M114"/></axsl:template><axsl:template match="text()" priority="-1" mode="M114"/><axsl:template match="@*|node()" priority="-2" mode="M114"><axsl:apply-templates select="@*|*" mode="M114"/></axsl:template>
1284
1285 <!--PATTERN esx-def_versiontst-->
1286
1287
1288 <!--RULE -->
1289 <axsl:template match="esx-def:version_test/esx-def:object" priority="1001" mode="M115">
1290
1291 <!--ASSERT -->
1292 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/esx-def:version_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a version_test must reference a version_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M115"/></axsl:template>
1293
1294 <!--RULE -->
1295 <axsl:template match="esx-def:version_test/esx-def:state" priority="1000" mode="M115">
1296
1297 <!--ASSERT -->
1298 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/esx-def:version_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a version_test must reference a version_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M115"/></axsl:template><axsl:template match="text()" priority="-1" mode="M115"/><axsl:template match="@*|node()" priority="-2" mode="M115"><axsl:apply-templates select="@*|*" mode="M115"/></axsl:template>
1299
1300 <!--PATTERN esx-def_visdkmanagedobjecttst-->
1301
1302
1303 <!--RULE -->
1304 <axsl:template match="esx-def:visdkmanagedobject_test/esx-def:object" priority="1001" mode="M116">
1305
1306 <!--ASSERT -->
1307 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/esx-def:visdkmanagedobject_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a visdkmanagedobject_test must reference a visdkmanagedobject_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M116"/></axsl:template>
1308
1309 <!--RULE -->
1310 <axsl:template match="esx-def:visdkmanagedobject_test/esx-def:state" priority="1000" mode="M116">
1311
1312 <!--ASSERT -->
1313 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/esx-def:visdkmanagedobject_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a visdkmanagedobject_test must reference a visdkmanagedobject_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M116"/></axsl:template><axsl:template match="text()" priority="-1" mode="M116"/><axsl:template match="@*|node()" priority="-2" mode="M116"><axsl:apply-templates select="@*|*" mode="M116"/></axsl:template>
1314
1315 <!--PATTERN esx-def_visdkmanagedobject_object_verify_filter_state-->
1316
1317
1318 <!--RULE -->
1319 <axsl:template match="esx-def:visdkmanagedobject_object//oval-def:filter" priority="1000" mode="M117"><axsl:variable name="parent_object" select="ancestor::esx-def:visdkmanagedobject_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
1320
1321 <!--ASSERT -->
1322 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#esx') and ($state_name='visdkmanagedobject_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M117"/></axsl:template><axsl:template match="text()" priority="-1" mode="M117"/><axsl:template match="@*|node()" priority="-2" mode="M117"><axsl:apply-templates select="@*|*" mode="M117"/></axsl:template>
1323
1324 <!--PATTERN freebsd-def_portinfotst-->
1325
1326
1327 <!--RULE -->
1328 <axsl:template match="freebsd-def:portinfo_test/freebsd-def:object" priority="1001" mode="M118">
1329
1330 <!--ASSERT -->
1331 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/freebsd-def:portinfo_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a portinfo_test must reference an portinfo_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M118"/></axsl:template>
1332
1333 <!--RULE -->
1334 <axsl:template match="freebsd-def:portinfo_test/freebsd-def:state" priority="1000" mode="M118">
1335
1336 <!--ASSERT -->
1337 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/freebsd-def:portinfo_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a portinfo_test must reference an portinfo_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M118"/></axsl:template><axsl:template match="text()" priority="-1" mode="M118"/><axsl:template match="@*|node()" priority="-2" mode="M118"><axsl:apply-templates select="@*|*" mode="M118"/></axsl:template>
1338
1339 <!--PATTERN freebsd-def_portinfo_object_verify_filter_state-->
1340
1341
1342 <!--RULE -->
1343 <axsl:template match="freebsd-def:portinfo_object//oval-def:filter" priority="1000" mode="M119"><axsl:variable name="parent_object" select="ancestor::freebsd-def:portinfo_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
1344
1345 <!--ASSERT -->
1346 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#freebsd') and ($state_name='portinfo_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M119"/></axsl:template><axsl:template match="text()" priority="-1" mode="M119"/><axsl:template match="@*|node()" priority="-2" mode="M119"><axsl:apply-templates select="@*|*" mode="M119"/></axsl:template>
1347
1348 <!--PATTERN hpux-def_getconf_test-->
1349
1350
1351 <!--RULE -->
1352 <axsl:template match="hpux-def:getconf_test/hpux-def:object" priority="1001" mode="M120">
1353
1354 <!--ASSERT -->
1355 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/hpux-def:getconf_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an getconf_test must reference an getconf_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M120"/></axsl:template>
1356
1357 <!--RULE -->
1358 <axsl:template match="hpux-def:getconf_test/hpux-def:state" priority="1000" mode="M120">
1359
1360 <!--ASSERT -->
1361 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/hpux-def:getconf_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an getconf_test must reference an getconf_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M120"/></axsl:template><axsl:template match="text()" priority="-1" mode="M120"/><axsl:template match="@*|node()" priority="-2" mode="M120"><axsl:apply-templates select="@*|*" mode="M120"/></axsl:template>
1362
1363 <!--PATTERN hpux-def_getconf_object_verify_filter_state-->
1364
1365
1366 <!--RULE -->
1367 <axsl:template match="hpux-def:getconf_object//oval-def:filter" priority="1000" mode="M121"><axsl:variable name="parent_object" select="ancestor::hpux-def:getconf_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
1368
1369 <!--ASSERT -->
1370 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#hpux') and ($state_name='getconf_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M121"/></axsl:template><axsl:template match="text()" priority="-1" mode="M121"/><axsl:template match="@*|node()" priority="-2" mode="M121"><axsl:apply-templates select="@*|*" mode="M121"/></axsl:template>
1371
1372 <!--PATTERN hpux-def_ndd_test-->
1373
1374
1375 <!--RULE -->
1376 <axsl:template match="hpux-def:ndd_test/hpux-def:object" priority="1001" mode="M122">
1377
1378 <!--ASSERT -->
1379 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/hpux-def:ndd_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an ndd_test must reference an ndd_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M122"/></axsl:template>
1380
1381 <!--RULE -->
1382 <axsl:template match="hpux-def:ndd_test/hpux-def:state" priority="1000" mode="M122">
1383
1384 <!--ASSERT -->
1385 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/hpux-def:ndd_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an ndd_test must reference an ndd_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M122"/></axsl:template><axsl:template match="text()" priority="-1" mode="M122"/><axsl:template match="@*|node()" priority="-2" mode="M122"><axsl:apply-templates select="@*|*" mode="M122"/></axsl:template>
1386
1387 <!--PATTERN hpux-def_ndd_object_verify_filter_state-->
1388
1389
1390 <!--RULE -->
1391 <axsl:template match="hpux-def:ndd_object//oval-def:filter" priority="1000" mode="M123"><axsl:variable name="parent_object" select="ancestor::hpux-def:ndd_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
1392
1393 <!--ASSERT -->
1394 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#hpux') and ($state_name='ndd_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M123"/></axsl:template><axsl:template match="text()" priority="-1" mode="M123"/><axsl:template match="@*|node()" priority="-2" mode="M123"><axsl:apply-templates select="@*|*" mode="M123"/></axsl:template>
1395
1396 <!--PATTERN hpux-def_patch53_test-->
1397
1398
1399 <!--RULE -->
1400 <axsl:template match="hpux-def:patch53_test/hpux-def:object" priority="1001" mode="M124">
1401
1402 <!--ASSERT -->
1403 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/hpux-def:patch53_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an patch53_test must reference an patch53_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M124"/></axsl:template>
1404
1405 <!--RULE -->
1406 <axsl:template match="hpux-def:patch53_test/hpux-def:state" priority="1000" mode="M124">
1407
1408 <!--ASSERT -->
1409 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/hpux-def:patch53_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an patch53_test must reference an patch53_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M124"/></axsl:template><axsl:template match="text()" priority="-1" mode="M124"/><axsl:template match="@*|node()" priority="-2" mode="M124"><axsl:apply-templates select="@*|*" mode="M124"/></axsl:template>
1410
1411 <!--PATTERN hpux-def_patch53_object_verify_filter_state-->
1412
1413
1414 <!--RULE -->
1415 <axsl:template match="hpux-def:patch53_object//oval-def:filter" priority="1000" mode="M125"><axsl:variable name="parent_object" select="ancestor::hpux-def:patch53_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
1416
1417 <!--ASSERT -->
1418 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#hpux') and ($state_name='patch53_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M125"/></axsl:template><axsl:template match="text()" priority="-1" mode="M125"/><axsl:template match="@*|node()" priority="-2" mode="M125"><axsl:apply-templates select="@*|*" mode="M125"/></axsl:template>
1419
1420 <!--PATTERN hpux-def_patch_test_dep-->
1421
1422
1423 <!--RULE -->
1424 <axsl:template match="hpux-def:patch_test" priority="1000" mode="M126">
1425
1426 <!--REPORT -->
1427 <axsl:if test="true()">DEPRECATED TEST: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M126"/></axsl:template><axsl:template match="text()" priority="-1" mode="M126"/><axsl:template match="@*|node()" priority="-2" mode="M126"><axsl:apply-templates select="@*|*" mode="M126"/></axsl:template>
1428
1429 <!--PATTERN hpux-def_patch_test-->
1430
1431
1432 <!--RULE -->
1433 <axsl:template match="hpux-def:patch_test/hpux-def:object" priority="1001" mode="M127">
1434
1435 <!--ASSERT -->
1436 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/hpux-def:patch_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an patch_test must reference an patch_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M127"/></axsl:template>
1437
1438 <!--RULE -->
1439 <axsl:template match="hpux-def:patch_test/hpux-def:state" priority="1000" mode="M127">
1440
1441 <!--ASSERT -->
1442 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/hpux-def:patch_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an patch_test must reference an patch_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M127"/></axsl:template><axsl:template match="text()" priority="-1" mode="M127"/><axsl:template match="@*|node()" priority="-2" mode="M127"><axsl:apply-templates select="@*|*" mode="M127"/></axsl:template>
1443
1444 <!--PATTERN hpux-def_patch_object_dep-->
1445
1446
1447 <!--RULE -->
1448 <axsl:template match="hpux-def:patch_object" priority="1000" mode="M128">
1449
1450 <!--REPORT -->
1451 <axsl:if test="true()">DEPRECATED OBJECT: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M128"/></axsl:template><axsl:template match="text()" priority="-1" mode="M128"/><axsl:template match="@*|node()" priority="-2" mode="M128"><axsl:apply-templates select="@*|*" mode="M128"/></axsl:template>
1452
1453 <!--PATTERN hpux-def_patch_state_dep-->
1454
1455
1456 <!--RULE -->
1457 <axsl:template match="hpux-def:patch_state" priority="1000" mode="M129">
1458
1459 <!--REPORT -->
1460 <axsl:if test="true()">DEPRECATED STATE: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M129"/></axsl:template><axsl:template match="text()" priority="-1" mode="M129"/><axsl:template match="@*|node()" priority="-2" mode="M129"><axsl:apply-templates select="@*|*" mode="M129"/></axsl:template>
1461
1462 <!--PATTERN hpux-def_swlist_test-->
1463
1464
1465 <!--RULE -->
1466 <axsl:template match="hpux-def:swlist_test/hpux-def:object" priority="1001" mode="M130">
1467
1468 <!--ASSERT -->
1469 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/hpux-def:swlist_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an swlist_test must reference an swlist_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M130"/></axsl:template>
1470
1471 <!--RULE -->
1472 <axsl:template match="hpux-def:swlist_test/hpux-def:state" priority="1000" mode="M130">
1473
1474 <!--ASSERT -->
1475 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/hpux-def:swlist_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an swlist_test must reference an swlist_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M130"/></axsl:template><axsl:template match="text()" priority="-1" mode="M130"/><axsl:template match="@*|node()" priority="-2" mode="M130"><axsl:apply-templates select="@*|*" mode="M130"/></axsl:template>
1476
1477 <!--PATTERN hpux-def_swlist_object_verify_filter_state-->
1478
1479
1480 <!--RULE -->
1481 <axsl:template match="hpux-def:swlist_object//oval-def:filter" priority="1000" mode="M131"><axsl:variable name="parent_object" select="ancestor::hpux-def:swlist_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
1482
1483 <!--ASSERT -->
1484 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#hpux') and ($state_name='swlist_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M131"/></axsl:template><axsl:template match="text()" priority="-1" mode="M131"/><axsl:template match="@*|node()" priority="-2" mode="M131"><axsl:apply-templates select="@*|*" mode="M131"/></axsl:template>
1485
1486 <!--PATTERN hpux-def_trusted_test-->
1487
1488
1489 <!--RULE -->
1490 <axsl:template match="hpux-def:trusted_test/hpux-def:object" priority="1001" mode="M132">
1491
1492 <!--ASSERT -->
1493 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/hpux-def:trusted_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an trusted_test must reference an trusted_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M132"/></axsl:template>
1494
1495 <!--RULE -->
1496 <axsl:template match="hpux-def:trusted_test/hpux-def:state" priority="1000" mode="M132">
1497
1498 <!--ASSERT -->
1499 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/hpux-def:trusted_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an trusted_test must reference an trusted_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M132"/></axsl:template><axsl:template match="text()" priority="-1" mode="M132"/><axsl:template match="@*|node()" priority="-2" mode="M132"><axsl:apply-templates select="@*|*" mode="M132"/></axsl:template>
1500
1501 <!--PATTERN hpux-def_trusted_object_verify_filter_state-->
1502
1503
1504 <!--RULE -->
1505 <axsl:template match="hpux-def:trusted_object//oval-def:filter" priority="1000" mode="M133"><axsl:variable name="parent_object" select="ancestor::hpux-def:trusted_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
1506
1507 <!--ASSERT -->
1508 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#hpux') and ($state_name='trusted_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M133"/></axsl:template><axsl:template match="text()" priority="-1" mode="M133"/><axsl:template match="@*|node()" priority="-2" mode="M133"><axsl:apply-templates select="@*|*" mode="M133"/></axsl:template>
1509
1510 <!--PATTERN ind-def_famtst-->
1511
1512
1513 <!--RULE -->
1514 <axsl:template match="ind-def:family_test/ind-def:object" priority="1001" mode="M134">
1515
1516 <!--ASSERT -->
1517 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/ind-def:family_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a family_test must reference a family_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M134"/></axsl:template>
1518
1519 <!--RULE -->
1520 <axsl:template match="ind-def:family_test/ind-def:state" priority="1000" mode="M134">
1521
1522 <!--ASSERT -->
1523 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/ind-def:family_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a family_test must reference a family_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M134"/></axsl:template><axsl:template match="text()" priority="-1" mode="M134"/><axsl:template match="@*|node()" priority="-2" mode="M134"><axsl:apply-templates select="@*|*" mode="M134"/></axsl:template>
1524
1525 <!--PATTERN ind-def_filehash_test_dep-->
1526
1527
1528 <!--RULE -->
1529 <axsl:template match="ind-def:filehash_test" priority="1000" mode="M135">
1530
1531 <!--REPORT -->
1532 <axsl:if test="true()">DEPRECATED TEST: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M135"/></axsl:template><axsl:template match="text()" priority="-1" mode="M135"/><axsl:template match="@*|node()" priority="-2" mode="M135"><axsl:apply-templates select="@*|*" mode="M135"/></axsl:template>
1533
1534 <!--PATTERN ind-def_hashtst-->
1535
1536
1537 <!--RULE -->
1538 <axsl:template match="ind-def:filehash_test/ind-def:object" priority="1001" mode="M136">
1539
1540 <!--ASSERT -->
1541 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/ind-def:filehash_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a filehash_test must reference a filesha1_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M136"/></axsl:template>
1542
1543 <!--RULE -->
1544 <axsl:template match="ind-def:filehash_test/ind-def:state" priority="1000" mode="M136">
1545
1546 <!--ASSERT -->
1547 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/ind-def:filehash_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a filehash_test must reference a filesha1_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M136"/></axsl:template><axsl:template match="text()" priority="-1" mode="M136"/><axsl:template match="@*|node()" priority="-2" mode="M136"><axsl:apply-templates select="@*|*" mode="M136"/></axsl:template>
1548
1549 <!--PATTERN ind-def_filehash_object_dep-->
1550
1551
1552 <!--RULE -->
1553 <axsl:template match="ind-def:filehash_object" priority="1000" mode="M137">
1554
1555 <!--REPORT -->
1556 <axsl:if test="true()">DEPRECATED OBJECT: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M137"/></axsl:template><axsl:template match="text()" priority="-1" mode="M137"/><axsl:template match="@*|node()" priority="-2" mode="M137"><axsl:apply-templates select="@*|*" mode="M137"/></axsl:template>
1557
1558 <!--PATTERN ind-def_hashobjfilepath-->
1559
1560
1561 <!--RULE -->
1562 <axsl:template match="ind-def:filehash_object/ind-def:filepath" priority="1000" mode="M138">
1563
1564 <!--ASSERT -->
1565 <axsl:choose><axsl:when test="not(preceding-sibling::ind-def:behaviors[@max_depth or @recurse_direction])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the max_depth and recurse_direction behaviors are not allowed with a filepath entity<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M138"/></axsl:template><axsl:template match="text()" priority="-1" mode="M138"/><axsl:template match="@*|node()" priority="-2" mode="M138"><axsl:apply-templates select="@*|*" mode="M138"/></axsl:template>
1566
1567 <!--PATTERN ind-def_hashobjfilepath2-->
1568
1569
1570 <!--RULE -->
1571 <axsl:template match="ind-def:filehash_object/ind-def:filepath[not(@operation='equals' or not(@operation))]" priority="1000" mode="M139">
1572
1573 <!--ASSERT -->
1574 <axsl:choose><axsl:when test="not(preceding-sibling::ind-def:behaviors[@recurse_file_system='defined'])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_file_system behavior MUST not be set to 'defined' when a pattern match is used with a filepath entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M139"/></axsl:template><axsl:template match="text()" priority="-1" mode="M139"/><axsl:template match="@*|node()" priority="-2" mode="M139"><axsl:apply-templates select="@*|*" mode="M139"/></axsl:template>
1575
1576 <!--PATTERN ind-def_hashobjpath-->
1577
1578
1579 <!--RULE -->
1580 <axsl:template match="ind-def:filehash_object/ind-def:path[not(@operation='equals' or not(@operation))]" priority="1000" mode="M140">
1581
1582 <!--ASSERT -->
1583 <axsl:choose><axsl:when test="not(preceding-sibling::ind-def:behaviors[@recurse_file_system='defined'])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_file_system behavior MUST not be set to 'defined' when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
1584
1585 <!--ASSERT -->
1586 <axsl:choose><axsl:when test="not(preceding-sibling::ind-def:behaviors[@max_depth])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the max_depth behavior MUST not be used when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
1587
1588 <!--ASSERT -->
1589 <axsl:choose><axsl:when test="not(preceding-sibling::ind-def:behaviors[@recurse_direction])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_direction behavior MUST not be used when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
1590
1591 <!--ASSERT -->
1592 <axsl:choose><axsl:when test="not(preceding-sibling::ind-def:behaviors[@recurse])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse behavior MUST not be used when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M140"/></axsl:template><axsl:template match="text()" priority="-1" mode="M140"/><axsl:template match="@*|node()" priority="-2" mode="M140"><axsl:apply-templates select="@*|*" mode="M140"/></axsl:template>
1593
1594 <!--PATTERN ind-def_hashobjfilename-->
1595
1596
1597 <!--RULE -->
1598 <axsl:template match="ind-def:filehash_object/ind-def:filename" priority="1000" mode="M141">
1599
1600 <!--ASSERT -->
1601 <axsl:choose><axsl:when test="(@var_ref and .='') or not(.='') or (.='' and @operation = 'pattern match')"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - filename entity cannot be empty unless the xsi:nil attribute is set to true or a var_ref is used<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M141"/></axsl:template><axsl:template match="text()" priority="-1" mode="M141"/><axsl:template match="@*|node()" priority="-2" mode="M141"><axsl:apply-templates select="@*|*" mode="M141"/></axsl:template>
1602
1603 <!--PATTERN ind-def_filehash_state_dep-->
1604
1605
1606 <!--RULE -->
1607 <axsl:template match="ind-def:filehash_state" priority="1000" mode="M142">
1608
1609 <!--REPORT -->
1610 <axsl:if test="true()">DEPRECATED STATE: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M142"/></axsl:template><axsl:template match="text()" priority="-1" mode="M142"/><axsl:template match="@*|node()" priority="-2" mode="M142"><axsl:apply-templates select="@*|*" mode="M142"/></axsl:template>
1611
1612 <!--PATTERN ind-def_filehash58_test-->
1613
1614
1615 <!--RULE -->
1616 <axsl:template match="ind-def:filehash58_test/ind-def:object" priority="1001" mode="M143">
1617
1618 <!--ASSERT -->
1619 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/ind-def:filehash58_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a filehash58_test must reference a filehash58_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M143"/></axsl:template>
1620
1621 <!--RULE -->
1622 <axsl:template match="ind-def:filehash58_test/ind-def:state" priority="1000" mode="M143">
1623
1624 <!--ASSERT -->
1625 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/ind-def:filehash58_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a filehash58_test must reference a filehash58_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M143"/></axsl:template><axsl:template match="text()" priority="-1" mode="M143"/><axsl:template match="@*|node()" priority="-2" mode="M143"><axsl:apply-templates select="@*|*" mode="M143"/></axsl:template>
1626
1627 <!--PATTERN ind-def_filehash58_object_verify_filter_state-->
1628
1629
1630 <!--RULE -->
1631 <axsl:template match="ind-def:filehash58_object//oval-def:filter" priority="1000" mode="M144"><axsl:variable name="parent_object" select="ancestor::ind-def:filehash58_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
1632
1633 <!--ASSERT -->
1634 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#independent') and ($state_name='filehash58_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M144"/></axsl:template><axsl:template match="text()" priority="-1" mode="M144"/><axsl:template match="@*|node()" priority="-2" mode="M144"><axsl:apply-templates select="@*|*" mode="M144"/></axsl:template>
1635
1636 <!--PATTERN ind-def_hash58objfilepath-->
1637
1638
1639 <!--RULE -->
1640 <axsl:template match="ind-def:filehash58_object/ind-def:filepath" priority="1000" mode="M145">
1641
1642 <!--ASSERT -->
1643 <axsl:choose><axsl:when test="not(preceding-sibling::ind-def:behaviors[@max_depth or @recurse_direction])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the max_depth and recurse_direction behaviors are not allowed with a filepath entity<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M145"/></axsl:template><axsl:template match="text()" priority="-1" mode="M145"/><axsl:template match="@*|node()" priority="-2" mode="M145"><axsl:apply-templates select="@*|*" mode="M145"/></axsl:template>
1644
1645 <!--PATTERN ind-def_hash58objfilepath2-->
1646
1647
1648 <!--RULE -->
1649 <axsl:template match="ind-def:filehash58_object/ind-def:filepath[not(@operation='equals' or not(@operation))]" priority="1000" mode="M146">
1650
1651 <!--ASSERT -->
1652 <axsl:choose><axsl:when test="not(preceding-sibling::ind-def:behaviors[@recurse_file_system='defined'])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_file_system behavior MUST not be set to 'defined' when a pattern match is used with a filepath entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M146"/></axsl:template><axsl:template match="text()" priority="-1" mode="M146"/><axsl:template match="@*|node()" priority="-2" mode="M146"><axsl:apply-templates select="@*|*" mode="M146"/></axsl:template>
1653
1654 <!--PATTERN ind-def_hash58objpath-->
1655
1656
1657 <!--RULE -->
1658 <axsl:template match="ind-def:filehash58_object/ind-def:path[not(@operation='equals' or not(@operation))]" priority="1000" mode="M147">
1659
1660 <!--ASSERT -->
1661 <axsl:choose><axsl:when test="not(preceding-sibling::ind-def:behaviors[@recurse_file_system='defined'])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_file_system behavior MUST not be set to 'defined' when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
1662
1663 <!--ASSERT -->
1664 <axsl:choose><axsl:when test="not(preceding-sibling::ind-def:behaviors[@max_depth])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the max_depth behavior MUST not be used when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
1665
1666 <!--ASSERT -->
1667 <axsl:choose><axsl:when test="not(preceding-sibling::ind-def:behaviors[@recurse_direction])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_direction behavior MUST not be used when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
1668
1669 <!--ASSERT -->
1670 <axsl:choose><axsl:when test="not(preceding-sibling::ind-def:behaviors[@recurse])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse behavior MUST not be used when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M147"/></axsl:template><axsl:template match="text()" priority="-1" mode="M147"/><axsl:template match="@*|node()" priority="-2" mode="M147"><axsl:apply-templates select="@*|*" mode="M147"/></axsl:template>
1671
1672 <!--PATTERN ind-def_hash58objfilename-->
1673
1674
1675 <!--RULE -->
1676 <axsl:template match="ind-def:filehash58_object/ind-def:filename" priority="1000" mode="M148">
1677
1678 <!--ASSERT -->
1679 <axsl:choose><axsl:when test="(@var_ref and .='') or not(.='') or (.='' and @operation = 'pattern match')"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - filename entity cannot be empty unless the xsi:nil attribute is set to true or a var_ref is used<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M148"/></axsl:template><axsl:template match="text()" priority="-1" mode="M148"/><axsl:template match="@*|node()" priority="-2" mode="M148"><axsl:apply-templates select="@*|*" mode="M148"/></axsl:template>
1680
1681 <!--PATTERN ind-def_environmentvariable_test_dep-->
1682
1683
1684 <!--RULE -->
1685 <axsl:template match="ind-def:environmentvariable_test" priority="1000" mode="M149">
1686
1687 <!--REPORT -->
1688 <axsl:if test="true()">DEPRECATED TEST: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M149"/></axsl:template><axsl:template match="text()" priority="-1" mode="M149"/><axsl:template match="@*|node()" priority="-2" mode="M149"><axsl:apply-templates select="@*|*" mode="M149"/></axsl:template>
1689
1690 <!--PATTERN ind-def_envtst-->
1691
1692
1693 <!--RULE -->
1694 <axsl:template match="ind-def:environmentvariable_test/ind-def:object" priority="1001" mode="M150">
1695
1696 <!--ASSERT -->
1697 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/ind-def:environmentvariable_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an environmentvariable_test must reference a environmentvariable_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M150"/></axsl:template>
1698
1699 <!--RULE -->
1700 <axsl:template match="ind-def:environmentvariable_test/ind-def:state" priority="1000" mode="M150">
1701
1702 <!--ASSERT -->
1703 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/ind-def:environmentvariable_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an environmentvariable_test must reference a environmentvariable_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M150"/></axsl:template><axsl:template match="text()" priority="-1" mode="M150"/><axsl:template match="@*|node()" priority="-2" mode="M150"><axsl:apply-templates select="@*|*" mode="M150"/></axsl:template>
1704
1705 <!--PATTERN ind-def_environmentvariable_object_dep-->
1706
1707
1708 <!--RULE -->
1709 <axsl:template match="ind-def:environmentvariable_object" priority="1000" mode="M151">
1710
1711 <!--REPORT -->
1712 <axsl:if test="true()">DEPRECATED OBJECT: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M151"/></axsl:template><axsl:template match="text()" priority="-1" mode="M151"/><axsl:template match="@*|node()" priority="-2" mode="M151"><axsl:apply-templates select="@*|*" mode="M151"/></axsl:template>
1713
1714 <!--PATTERN ind-def_environmentvariable_state_dep-->
1715
1716
1717 <!--RULE -->
1718 <axsl:template match="ind-def:environmentvariable_state" priority="1000" mode="M152">
1719
1720 <!--REPORT -->
1721 <axsl:if test="true()">DEPRECATED STATE: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M152"/></axsl:template><axsl:template match="text()" priority="-1" mode="M152"/><axsl:template match="@*|node()" priority="-2" mode="M152"><axsl:apply-templates select="@*|*" mode="M152"/></axsl:template>
1722
1723 <!--PATTERN ind-def_env58tst-->
1724
1725
1726 <!--RULE -->
1727 <axsl:template match="ind-def:environmentvariable58_test/ind-def:object" priority="1001" mode="M153">
1728
1729 <!--ASSERT -->
1730 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/ind-def:environmentvariable58_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an environmentvariable58_test must reference a environmentvariable58_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M153"/></axsl:template>
1731
1732 <!--RULE -->
1733 <axsl:template match="ind-def:environmentvariable58_test/ind-def:state" priority="1000" mode="M153">
1734
1735 <!--ASSERT -->
1736 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/ind-def:environmentvariable58_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an environmentvariable58_test must reference a environmentvariable58_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M153"/></axsl:template><axsl:template match="text()" priority="-1" mode="M153"/><axsl:template match="@*|node()" priority="-2" mode="M153"><axsl:apply-templates select="@*|*" mode="M153"/></axsl:template>
1737
1738 <!--PATTERN ind-def_environmentvariable58_object_verify_filter_state-->
1739
1740
1741 <!--RULE -->
1742 <axsl:template match="ind-def:environmentvariable58_object//oval-def:filter" priority="1000" mode="M154"><axsl:variable name="parent_object" select="ancestor::ind-def:environmentvariable58_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
1743
1744 <!--ASSERT -->
1745 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#independent') and ($state_name='environmentvariable58_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M154"/></axsl:template><axsl:template match="text()" priority="-1" mode="M154"/><axsl:template match="@*|node()" priority="-2" mode="M154"><axsl:apply-templates select="@*|*" mode="M154"/></axsl:template>
1746
1747 <!--PATTERN ind-def_ldaptst-->
1748
1749
1750 <!--RULE -->
1751 <axsl:template match="ind-def:ldap_test/ind-def:object" priority="1001" mode="M155">
1752
1753 <!--ASSERT -->
1754 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/ind-def:ldap_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an ldap_test must reference an ldap_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M155"/></axsl:template>
1755
1756 <!--RULE -->
1757 <axsl:template match="ind-def:ldap_test/ind-def:state" priority="1000" mode="M155">
1758
1759 <!--ASSERT -->
1760 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/ind-def:ldap_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an ldap_test must reference an ldap_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M155"/></axsl:template><axsl:template match="text()" priority="-1" mode="M155"/><axsl:template match="@*|node()" priority="-2" mode="M155"><axsl:apply-templates select="@*|*" mode="M155"/></axsl:template>
1761
1762 <!--PATTERN ind-def_ldap57_test_dep-->
1763
1764
1765 <!--RULE -->
1766 <axsl:template match="ind-def:ldap57_test" priority="1000" mode="M156">
1767
1768 <!--REPORT -->
1769 <axsl:if test="true()">DEPRECATED TEST: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M156"/></axsl:template><axsl:template match="text()" priority="-1" mode="M156"/><axsl:template match="@*|node()" priority="-2" mode="M156"><axsl:apply-templates select="@*|*" mode="M156"/></axsl:template>
1770
1771 <!--PATTERN ind-def_ldap57_test-->
1772
1773
1774 <!--RULE -->
1775 <axsl:template match="ind-def:ldap57_test/ind-def:object" priority="1001" mode="M157">
1776
1777 <!--ASSERT -->
1778 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/ind-def:ldap57_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an ldap57_test must reference an ldap57_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M157"/></axsl:template>
1779
1780 <!--RULE -->
1781 <axsl:template match="ind-def:ldap57_test/ind-def:state" priority="1000" mode="M157">
1782
1783 <!--ASSERT -->
1784 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/ind-def:ldap57_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an ldap57_test must reference an ldap57_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M157"/></axsl:template><axsl:template match="text()" priority="-1" mode="M157"/><axsl:template match="@*|node()" priority="-2" mode="M157"><axsl:apply-templates select="@*|*" mode="M157"/></axsl:template>
1785
1786 <!--PATTERN ind-def_ldap57_object_dep-->
1787
1788
1789 <!--RULE -->
1790 <axsl:template match="ind-def:ldap57_object" priority="1000" mode="M158">
1791
1792 <!--REPORT -->
1793 <axsl:if test="true()">DEPRECATED TEST: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M158"/></axsl:template><axsl:template match="text()" priority="-1" mode="M158"/><axsl:template match="@*|node()" priority="-2" mode="M158"><axsl:apply-templates select="@*|*" mode="M158"/></axsl:template>
1794
1795 <!--PATTERN ind-def_ldap57_object_verify_filter_state-->
1796
1797
1798 <!--RULE -->
1799 <axsl:template match="ind-def:ldap57_object//oval-def:filter" priority="1000" mode="M159"><axsl:variable name="parent_object" select="ancestor::ind-def:ldap57_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
1800
1801 <!--ASSERT -->
1802 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#independent') and ($state_name='ldap57_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M159"/></axsl:template><axsl:template match="text()" priority="-1" mode="M159"/><axsl:template match="@*|node()" priority="-2" mode="M159"><axsl:apply-templates select="@*|*" mode="M159"/></axsl:template>
1803
1804 <!--PATTERN ind-def_ldap57_state_dep-->
1805
1806
1807 <!--RULE -->
1808 <axsl:template match="ind-def:ldap57_state" priority="1000" mode="M160">
1809
1810 <!--REPORT -->
1811 <axsl:if test="true()">DEPRECATED TEST: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M160"/></axsl:template><axsl:template match="text()" priority="-1" mode="M160"/><axsl:template match="@*|node()" priority="-2" mode="M160"><axsl:apply-templates select="@*|*" mode="M160"/></axsl:template>
1812
1813 <!--PATTERN ind-def_ldap57stevalue-->
1814
1815
1816 <!--RULE -->
1817 <axsl:template match="ind-def:ldap57_state/ind-def:value" priority="1000" mode="M161">
1818
1819 <!--ASSERT -->
1820 <axsl:choose><axsl:when test="@datatype='record'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - datatype attribute for the value entity of a ldap57_state must be 'record'<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M161"/></axsl:template><axsl:template match="text()" priority="-1" mode="M161"/><axsl:template match="@*|node()" priority="-2" mode="M161"><axsl:apply-templates select="@*|*" mode="M161"/></axsl:template>
1821
1822 <!--PATTERN ind-def_sql_test_dep-->
1823
1824
1825 <!--RULE -->
1826 <axsl:template match="ind-def:sql_test" priority="1000" mode="M162">
1827
1828 <!--REPORT -->
1829 <axsl:if test="true()">DEPRECATED TEST: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M162"/></axsl:template><axsl:template match="text()" priority="-1" mode="M162"/><axsl:template match="@*|node()" priority="-2" mode="M162"><axsl:apply-templates select="@*|*" mode="M162"/></axsl:template>
1830
1831 <!--PATTERN ind-def_sqltst-->
1832
1833
1834 <!--RULE -->
1835 <axsl:template match="ind-def:sql_test/ind-def:object" priority="1001" mode="M163">
1836
1837 <!--ASSERT -->
1838 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/ind-def:sql_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a sql_test must reference a sql_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M163"/></axsl:template>
1839
1840 <!--RULE -->
1841 <axsl:template match="ind-def:sql_test/ind-def:state" priority="1000" mode="M163">
1842
1843 <!--ASSERT -->
1844 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/ind-def:sql_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a sql_test must reference a sql_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M163"/></axsl:template><axsl:template match="text()" priority="-1" mode="M163"/><axsl:template match="@*|node()" priority="-2" mode="M163"><axsl:apply-templates select="@*|*" mode="M163"/></axsl:template>
1845
1846 <!--PATTERN ind-def_sql_object_dep-->
1847
1848
1849 <!--RULE -->
1850 <axsl:template match="ind-def:sql_object" priority="1000" mode="M164">
1851
1852 <!--REPORT -->
1853 <axsl:if test="true()">DEPRECATED OBJECT: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M164"/></axsl:template><axsl:template match="text()" priority="-1" mode="M164"/><axsl:template match="@*|node()" priority="-2" mode="M164"><axsl:apply-templates select="@*|*" mode="M164"/></axsl:template>
1854
1855 <!--PATTERN ind-def_sqlobjdengine-->
1856
1857
1858 <!--RULE -->
1859 <axsl:template match="ind-def:sql_object/ind-def:engine" priority="1000" mode="M165">
1860
1861 <!--ASSERT -->
1862 <axsl:choose><axsl:when test="not(@operation) or @operation='equals'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - operation attribute for the engine entity of an sql_object should be 'equals', note that this overrules the general operation attribute validation (i.e. follow this one)<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M165"/></axsl:template><axsl:template match="text()" priority="-1" mode="M165"/><axsl:template match="@*|node()" priority="-2" mode="M165"><axsl:apply-templates select="@*|*" mode="M165"/></axsl:template>
1863
1864 <!--PATTERN ind-def_sqlobjversion-->
1865
1866
1867 <!--RULE -->
1868 <axsl:template match="ind-def:sql_object/ind-def:version" priority="1000" mode="M166">
1869
1870 <!--ASSERT -->
1871 <axsl:choose><axsl:when test="not(@operation) or @operation='equals'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - operation attribute for the version entity of an sql_object should be 'equals', note that this overrules the general operation attribute validation (i.e. follow this one)<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M166"/></axsl:template><axsl:template match="text()" priority="-1" mode="M166"/><axsl:template match="@*|node()" priority="-2" mode="M166"><axsl:apply-templates select="@*|*" mode="M166"/></axsl:template>
1872
1873 <!--PATTERN ind-def_sqlobjconnection_string-->
1874
1875
1876 <!--RULE -->
1877 <axsl:template match="ind-def:sql_object/ind-def:connection_string" priority="1000" mode="M167">
1878
1879 <!--ASSERT -->
1880 <axsl:choose><axsl:when test="not(@operation) or @operation='equals'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - operation attribute for the connection_string entity of an sql_object should be 'equals', note that this overrules the general operation attribute validation (i.e. follow this one)<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M167"/></axsl:template><axsl:template match="text()" priority="-1" mode="M167"/><axsl:template match="@*|node()" priority="-2" mode="M167"><axsl:apply-templates select="@*|*" mode="M167"/></axsl:template>
1881
1882 <!--PATTERN ind-def_sqlobjsql-->
1883
1884
1885 <!--RULE -->
1886 <axsl:template match="ind-def:sql_object/ind-def:sql" priority="1000" mode="M168">
1887
1888 <!--ASSERT -->
1889 <axsl:choose><axsl:when test="not(@operation) or @operation='equals'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - operation attribute for the sql entity of an sql_object should be 'equals', note that this overrules the general operation attribute validation (i.e. follow this one)<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M168"/></axsl:template><axsl:template match="text()" priority="-1" mode="M168"/><axsl:template match="@*|node()" priority="-2" mode="M168"><axsl:apply-templates select="@*|*" mode="M168"/></axsl:template>
1890
1891 <!--PATTERN ind-def_sql_state_dep-->
1892
1893
1894 <!--RULE -->
1895 <axsl:template match="ind-def:sql_state" priority="1000" mode="M169">
1896
1897 <!--REPORT -->
1898 <axsl:if test="true()">DEPRECATED STATE: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M169"/></axsl:template><axsl:template match="text()" priority="-1" mode="M169"/><axsl:template match="@*|node()" priority="-2" mode="M169"><axsl:apply-templates select="@*|*" mode="M169"/></axsl:template>
1899
1900 <!--PATTERN ind-def_sql57_test-->
1901
1902
1903 <!--RULE -->
1904 <axsl:template match="ind-def:sql57_test/ind-def:object" priority="1001" mode="M170">
1905
1906 <!--ASSERT -->
1907 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/ind-def:sql57_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a sql57_test must reference a sql57_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M170"/></axsl:template>
1908
1909 <!--RULE -->
1910 <axsl:template match="ind-def:sql57_test/ind-def:state" priority="1000" mode="M170">
1911
1912 <!--ASSERT -->
1913 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/ind-def:sql57_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a sql57_test must reference a sql57_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M170"/></axsl:template><axsl:template match="text()" priority="-1" mode="M170"/><axsl:template match="@*|node()" priority="-2" mode="M170"><axsl:apply-templates select="@*|*" mode="M170"/></axsl:template>
1914
1915 <!--PATTERN ind-def_sql57_object_verify_filter_state-->
1916
1917
1918 <!--RULE -->
1919 <axsl:template match="ind-def:sql57_object//oval-def:filter" priority="1000" mode="M171"><axsl:variable name="parent_object" select="ancestor::ind-def:sql57_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
1920
1921 <!--ASSERT -->
1922 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#independent') and ($state_name='sql57_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M171"/></axsl:template><axsl:template match="text()" priority="-1" mode="M171"/><axsl:template match="@*|node()" priority="-2" mode="M171"><axsl:apply-templates select="@*|*" mode="M171"/></axsl:template>
1923
1924 <!--PATTERN ind-def_sql57_object_dengine-->
1925
1926
1927 <!--RULE -->
1928 <axsl:template match="ind-def:sql57_object/ind-def:engine" priority="1000" mode="M172">
1929
1930 <!--ASSERT -->
1931 <axsl:choose><axsl:when test="not(@operation) or @operation='equals'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - operation attribute for the engine entity of an sql57_object should be 'equals', note that this overrules the general operation attribute validation (i.e. follow this one)<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M172"/></axsl:template><axsl:template match="text()" priority="-1" mode="M172"/><axsl:template match="@*|node()" priority="-2" mode="M172"><axsl:apply-templates select="@*|*" mode="M172"/></axsl:template>
1932
1933 <!--PATTERN ind-def_sql57_object_version-->
1934
1935
1936 <!--RULE -->
1937 <axsl:template match="ind-def:sql57_object/ind-def:version" priority="1000" mode="M173">
1938
1939 <!--ASSERT -->
1940 <axsl:choose><axsl:when test="not(@operation) or @operation='equals'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - operation attribute for the version entity of an sql57_object should be 'equals', note that this overrules the general operation attribute validation (i.e. follow this one)<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M173"/></axsl:template><axsl:template match="text()" priority="-1" mode="M173"/><axsl:template match="@*|node()" priority="-2" mode="M173"><axsl:apply-templates select="@*|*" mode="M173"/></axsl:template>
1941
1942 <!--PATTERN ind-def_sql57_object_connection_string-->
1943
1944
1945 <!--RULE -->
1946 <axsl:template match="ind-def:sql57_object/ind-def:connection_string" priority="1000" mode="M174">
1947
1948 <!--ASSERT -->
1949 <axsl:choose><axsl:when test="not(@operation) or @operation='equals'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - operation attribute for the connection_string entity of an sql57_object should be 'equals', note that this overrules the general operation attribute validation (i.e. follow this one)<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M174"/></axsl:template><axsl:template match="text()" priority="-1" mode="M174"/><axsl:template match="@*|node()" priority="-2" mode="M174"><axsl:apply-templates select="@*|*" mode="M174"/></axsl:template>
1950
1951 <!--PATTERN ind-def_sql57_object_sql-->
1952
1953
1954 <!--RULE -->
1955 <axsl:template match="ind-def:sql57_object/ind-def:sql" priority="1000" mode="M175">
1956
1957 <!--ASSERT -->
1958 <axsl:choose><axsl:when test="not(@operation) or @operation='equals'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - operation attribute for the sql entity of an sql57_object should be 'equals', note that this overrules the general operation attribute validation (i.e. follow this one)<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M175"/></axsl:template><axsl:template match="text()" priority="-1" mode="M175"/><axsl:template match="@*|node()" priority="-2" mode="M175"><axsl:apply-templates select="@*|*" mode="M175"/></axsl:template>
1959
1960 <!--PATTERN ind-def_sql57steresult-->
1961
1962
1963 <!--RULE -->
1964 <axsl:template match="ind-def:sql57_state/ind-def:result" priority="1000" mode="M176">
1965
1966 <!--ASSERT -->
1967 <axsl:choose><axsl:when test="@datatype='record'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - datatype attribute for the result entity of a sql57_state must be 'record'<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M176"/></axsl:template><axsl:template match="text()" priority="-1" mode="M176"/><axsl:template match="@*|node()" priority="-2" mode="M176"><axsl:apply-templates select="@*|*" mode="M176"/></axsl:template>
1968
1969 <!--PATTERN ind-def_txt54tst-->
1970
1971
1972 <!--RULE -->
1973 <axsl:template match="ind-def:textfilecontent54_test/ind-def:object" priority="1001" mode="M177">
1974
1975 <!--ASSERT -->
1976 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/ind-def:textfilecontent54_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a textfilecontent54_test must reference a textfilecontent54_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M177"/></axsl:template>
1977
1978 <!--RULE -->
1979 <axsl:template match="ind-def:textfilecontent54_test/ind-def:state" priority="1000" mode="M177">
1980
1981 <!--ASSERT -->
1982 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/ind-def:textfilecontent54_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a textfilecontent54_test must reference a textfilecontent54_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M177"/></axsl:template><axsl:template match="text()" priority="-1" mode="M177"/><axsl:template match="@*|node()" priority="-2" mode="M177"><axsl:apply-templates select="@*|*" mode="M177"/></axsl:template>
1983
1984 <!--PATTERN ind-def_textfilecontent54_object_verify_filter_state-->
1985
1986
1987 <!--RULE -->
1988 <axsl:template match="ind-def:textfilecontent54_object//oval-def:filter" priority="1000" mode="M178"><axsl:variable name="parent_object" select="ancestor::ind-def:textfilecontent54_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
1989
1990 <!--ASSERT -->
1991 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#independent') and ($state_name='textfilecontent54_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M178"/></axsl:template><axsl:template match="text()" priority="-1" mode="M178"/><axsl:template match="@*|node()" priority="-2" mode="M178"><axsl:apply-templates select="@*|*" mode="M178"/></axsl:template>
1992
1993 <!--PATTERN ind-def_txt54objfilepath-->
1994
1995
1996 <!--RULE -->
1997 <axsl:template match="ind-def:textfilecontent54_object/ind-def:filepath" priority="1000" mode="M179">
1998
1999 <!--ASSERT -->
2000 <axsl:choose><axsl:when test="not(preceding-sibling::ind-def:behaviors[@max_depth or @recurse_direction])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the max_depth and recurse_direction behaviors are not allowed with a filepath entity<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M179"/></axsl:template><axsl:template match="text()" priority="-1" mode="M179"/><axsl:template match="@*|node()" priority="-2" mode="M179"><axsl:apply-templates select="@*|*" mode="M179"/></axsl:template>
2001
2002 <!--PATTERN ind-def_txt54objfilepath2-->
2003
2004
2005 <!--RULE -->
2006 <axsl:template match="ind-def:textfilecontent54_object/ind-def:filepath[not(@operation='equals' or not(@operation))]" priority="1000" mode="M180">
2007
2008 <!--ASSERT -->
2009 <axsl:choose><axsl:when test="not(preceding-sibling::ind-def:behaviors[@recurse_file_system='defined'])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_file_system behavior MUST not be set to 'defined' when a pattern match is used with a filepath entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M180"/></axsl:template><axsl:template match="text()" priority="-1" mode="M180"/><axsl:template match="@*|node()" priority="-2" mode="M180"><axsl:apply-templates select="@*|*" mode="M180"/></axsl:template>
2010
2011 <!--PATTERN ind-def_txt54objpath-->
2012
2013
2014 <!--RULE -->
2015 <axsl:template match="ind-def:textfilecontent54_object/ind-def:path[not(@operation='equals' or not(@operation))]" priority="1000" mode="M181">
2016
2017 <!--ASSERT -->
2018 <axsl:choose><axsl:when test="not(preceding-sibling::ind-def:behaviors[@recurse_file_system='defined'])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_file_system behavior MUST not be set to 'defined' when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
2019
2020 <!--ASSERT -->
2021 <axsl:choose><axsl:when test="not(preceding-sibling::ind-def:behaviors[@max_depth])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the max_depth behavior MUST not be used when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
2022
2023 <!--ASSERT -->
2024 <axsl:choose><axsl:when test="not(preceding-sibling::ind-def:behaviors[@recurse_direction])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_direction behavior MUST not be used when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
2025
2026 <!--ASSERT -->
2027 <axsl:choose><axsl:when test="not(preceding-sibling::ind-def:behaviors[@recurse])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse behavior MUST not be used when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M181"/></axsl:template><axsl:template match="text()" priority="-1" mode="M181"/><axsl:template match="@*|node()" priority="-2" mode="M181"><axsl:apply-templates select="@*|*" mode="M181"/></axsl:template>
2028
2029 <!--PATTERN ind-def_txt54objfilename-->
2030
2031
2032 <!--RULE -->
2033 <axsl:template match="ind-def:textfilecontent54_object/ind-def:filename" priority="1000" mode="M182">
2034
2035 <!--ASSERT -->
2036 <axsl:choose><axsl:when test="(@var_ref and .='') or not(.='') or (.='' and @operation = 'pattern match')"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - filename entity cannot be empty unless the xsi:nil attribute is set to true or a var_ref is used<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M182"/></axsl:template><axsl:template match="text()" priority="-1" mode="M182"/><axsl:template match="@*|node()" priority="-2" mode="M182"><axsl:apply-templates select="@*|*" mode="M182"/></axsl:template>
2037
2038 <!--PATTERN ind-def_txt54objpattern-->
2039
2040
2041 <!--RULE -->
2042 <axsl:template match="ind-def:textfilecontent54_object/ind-def:pattern" priority="1000" mode="M183">
2043
2044 <!--ASSERT -->
2045 <axsl:choose><axsl:when test="@operation='pattern match'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - operation attribute for the pattern entity of a textfilecontent54_object should be 'pattern match'<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M183"/></axsl:template><axsl:template match="text()" priority="-1" mode="M183"/><axsl:template match="@*|node()" priority="-2" mode="M183"><axsl:apply-templates select="@*|*" mode="M183"/></axsl:template>
2046
2047 <!--PATTERN win-def_tfc54_i-->
2048
2049
2050 <!--RULE -->
2051 <axsl:template match="win-def:textfilecontent54_state/win-def:instance" priority="1000" mode="M184">
2052
2053 <!--ASSERT -->
2054 <axsl:choose><axsl:when test="string-length(.) = 0 or number(.) &lt; 1"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the value of instance must be greater than one<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M184"/></axsl:template><axsl:template match="text()" priority="-1" mode="M184"/><axsl:template match="@*|node()" priority="-2" mode="M184"><axsl:apply-templates select="@*|*" mode="M184"/></axsl:template>
2055
2056 <!--PATTERN ind-def_txttst_dep-->
2057
2058
2059 <!--RULE -->
2060 <axsl:template match="ind-def:textfilecontent_test" priority="1000" mode="M185">
2061
2062 <!--REPORT -->
2063 <axsl:if test="true()">DEPRECATED TEST: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M185"/></axsl:template><axsl:template match="text()" priority="-1" mode="M185"/><axsl:template match="@*|node()" priority="-2" mode="M185"><axsl:apply-templates select="@*|*" mode="M185"/></axsl:template>
2064
2065 <!--PATTERN ind-def_txttst-->
2066
2067
2068 <!--RULE -->
2069 <axsl:template match="ind-def:textfilecontent_test/ind-def:object" priority="1001" mode="M186">
2070
2071 <!--ASSERT -->
2072 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/ind-def:textfilecontent_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a textfilecontent_test must reference a textfilecontent_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M186"/></axsl:template>
2073
2074 <!--RULE -->
2075 <axsl:template match="ind-def:textfilecontent_test/ind-def:state" priority="1000" mode="M186">
2076
2077 <!--ASSERT -->
2078 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/ind-def:textfilecontent_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a textfilecontent_test must reference a textfilecontent_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M186"/></axsl:template><axsl:template match="text()" priority="-1" mode="M186"/><axsl:template match="@*|node()" priority="-2" mode="M186"><axsl:apply-templates select="@*|*" mode="M186"/></axsl:template>
2079
2080 <!--PATTERN ind-def_txtobj_dep-->
2081
2082
2083 <!--RULE -->
2084 <axsl:template match="ind-def:textfilecontent_object" priority="1000" mode="M187">
2085
2086 <!--REPORT -->
2087 <axsl:if test="true()">DEPRECATED OBJECT: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M187"/></axsl:template><axsl:template match="text()" priority="-1" mode="M187"/><axsl:template match="@*|node()" priority="-2" mode="M187"><axsl:apply-templates select="@*|*" mode="M187"/></axsl:template>
2088
2089 <!--PATTERN ind-def_txtobjfilename-->
2090
2091
2092 <!--RULE -->
2093 <axsl:template match="ind-def:textfilecontent_object/ind-def:filename" priority="1000" mode="M188">
2094
2095 <!--ASSERT -->
2096 <axsl:choose><axsl:when test="(@var_ref and .='') or not(.='') or (.='' and @operation = 'pattern match')"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - filename entity cannot be empty unless the xsi:nil attribute is set to true or a var_ref is used<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M188"/></axsl:template><axsl:template match="text()" priority="-1" mode="M188"/><axsl:template match="@*|node()" priority="-2" mode="M188"><axsl:apply-templates select="@*|*" mode="M188"/></axsl:template>
2097
2098 <!--PATTERN ind-def_txtobjline-->
2099
2100
2101 <!--RULE -->
2102 <axsl:template match="ind-def:textfilecontent_object/ind-def:line" priority="1000" mode="M189">
2103
2104 <!--ASSERT -->
2105 <axsl:choose><axsl:when test="@operation='pattern match'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - operation attribute for the line entity of a textfilecontent_object should be 'pattern match'<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M189"/></axsl:template><axsl:template match="text()" priority="-1" mode="M189"/><axsl:template match="@*|node()" priority="-2" mode="M189"><axsl:apply-templates select="@*|*" mode="M189"/></axsl:template>
2106
2107 <!--PATTERN ind-def_txtste_dep-->
2108
2109
2110 <!--RULE -->
2111 <axsl:template match="ind-def:textfilecontent_state" priority="1000" mode="M190">
2112
2113 <!--REPORT -->
2114 <axsl:if test="true()">DEPRECATED STATE: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M190"/></axsl:template><axsl:template match="text()" priority="-1" mode="M190"/><axsl:template match="@*|node()" priority="-2" mode="M190"><axsl:apply-templates select="@*|*" mode="M190"/></axsl:template>
2115
2116 <!--PATTERN ind-def_vattst-->
2117
2118
2119 <!--RULE -->
2120 <axsl:template match="ind-def:variable_test/ind-def:object" priority="1001" mode="M191">
2121
2122 <!--ASSERT -->
2123 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/ind-def:variable_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a variable_test must reference a variable_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M191"/></axsl:template>
2124
2125 <!--RULE -->
2126 <axsl:template match="ind-def:variable_test/ind-def:state" priority="1000" mode="M191">
2127
2128 <!--ASSERT -->
2129 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/ind-def:variable_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a variable_test must reference a variable_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M191"/></axsl:template><axsl:template match="text()" priority="-1" mode="M191"/><axsl:template match="@*|node()" priority="-2" mode="M191"><axsl:apply-templates select="@*|*" mode="M191"/></axsl:template>
2130
2131 <!--PATTERN ind-def_variable_object_verify_filter_state-->
2132
2133
2134 <!--RULE -->
2135 <axsl:template match="ind-def:variable_object//oval-def:filter" priority="1000" mode="M192"><axsl:variable name="parent_object" select="ancestor::ind-def:variable_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
2136
2137 <!--ASSERT -->
2138 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#independent') and ($state_name='variable_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M192"/></axsl:template><axsl:template match="text()" priority="-1" mode="M192"/><axsl:template match="@*|node()" priority="-2" mode="M192"><axsl:apply-templates select="@*|*" mode="M192"/></axsl:template>
2139
2140 <!--PATTERN ind-def_varobjvar_ref-->
2141
2142
2143 <!--RULE -->
2144 <axsl:template match="ind-def:variable_object/ind-def:var_ref" priority="1000" mode="M193">
2145
2146 <!--ASSERT -->
2147 <axsl:choose><axsl:when test="not(@var_ref)"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - var_ref attribute for the var_ref entity of a variable_object is prohibited.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M193"/></axsl:template><axsl:template match="text()" priority="-1" mode="M193"/><axsl:template match="@*|node()" priority="-2" mode="M193"><axsl:apply-templates select="@*|*" mode="M193"/></axsl:template>
2148
2149 <!--PATTERN ind-def_varobjvar_ref_exists-->
2150
2151
2152 <!--RULE -->
2153 <axsl:template match="ind-def:variable_object/ind-def:var_ref" priority="1000" mode="M194"><axsl:variable name="varId" select="."/>
2154
2155 <!--ASSERT -->
2156 <axsl:choose><axsl:when test="ancestor::oval-def:oval_definitions/oval-def:variables/*[@id = $varId]"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - referenced variable <axsl:text/><axsl:value-of select="."/><axsl:text/> not found. The var_ref entity must hold a variable id that exists in the document.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M194"/></axsl:template><axsl:template match="text()" priority="-1" mode="M194"/><axsl:template match="@*|node()" priority="-2" mode="M194"><axsl:apply-templates select="@*|*" mode="M194"/></axsl:template>
2157
2158 <!--PATTERN ind-def_varstevar_ref-->
2159
2160
2161 <!--RULE -->
2162 <axsl:template match="ind-def:variable_state/ind-def:var_ref" priority="1000" mode="M195">
2163
2164 <!--ASSERT -->
2165 <axsl:choose><axsl:when test="not(@var_ref)"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - var_ref attribute for the var_ref entity of a variable_state is prohibited.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M195"/></axsl:template><axsl:template match="text()" priority="-1" mode="M195"/><axsl:template match="@*|node()" priority="-2" mode="M195"><axsl:apply-templates select="@*|*" mode="M195"/></axsl:template>
2166
2167 <!--PATTERN ind-def_varstevar_ref_exists-->
2168
2169
2170 <!--RULE -->
2171 <axsl:template match="ind-def:variable_state/ind-def:var_ref" priority="1000" mode="M196"><axsl:variable name="varId" select="."/>
2172
2173 <!--ASSERT -->
2174 <axsl:choose><axsl:when test="ancestor::oval-def:oval_definitions/oval-def:variables/*[@id = $varId]"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - referenced variable <axsl:text/><axsl:value-of select="."/><axsl:text/> not found. The var_ref entity must hold a variable id that exists in the document.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M196"/></axsl:template><axsl:template match="text()" priority="-1" mode="M196"/><axsl:template match="@*|node()" priority="-2" mode="M196"><axsl:apply-templates select="@*|*" mode="M196"/></axsl:template>
2175
2176 <!--PATTERN ind-def_xmltst-->
2177
2178
2179 <!--RULE -->
2180 <axsl:template match="ind-def:xmlfilecontent_test/ind-def:object" priority="1001" mode="M197">
2181
2182 <!--ASSERT -->
2183 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/ind-def:xmlfilecontent_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a xmlfilecontent_test must reference a xmlfilecontent_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M197"/></axsl:template>
2184
2185 <!--RULE -->
2186 <axsl:template match="ind-def:xmlfilecontent_test/ind-def:state" priority="1000" mode="M197">
2187
2188 <!--ASSERT -->
2189 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/ind-def:xmlfilecontent_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a xmlfilecontent_test must reference a xmlfilecontent_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M197"/></axsl:template><axsl:template match="text()" priority="-1" mode="M197"/><axsl:template match="@*|node()" priority="-2" mode="M197"><axsl:apply-templates select="@*|*" mode="M197"/></axsl:template>
2190
2191 <!--PATTERN ind-def_xmlfilecontent_object_verify_filter_state-->
2192
2193
2194 <!--RULE -->
2195 <axsl:template match="ind-def:xmlfilecontent_object//oval-def:filter" priority="1000" mode="M198"><axsl:variable name="parent_object" select="ancestor::ind-def:xmlfilecontent_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
2196
2197 <!--ASSERT -->
2198 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#independent') and ($state_name='xmlfilecontent_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M198"/></axsl:template><axsl:template match="text()" priority="-1" mode="M198"/><axsl:template match="@*|node()" priority="-2" mode="M198"><axsl:apply-templates select="@*|*" mode="M198"/></axsl:template>
2199
2200 <!--PATTERN ind-def_xmlobjfilepath-->
2201
2202
2203 <!--RULE -->
2204 <axsl:template match="ind-def:xmlfilecontent_object/ind-def:filepath" priority="1000" mode="M199">
2205
2206 <!--ASSERT -->
2207 <axsl:choose><axsl:when test="not(preceding-sibling::ind-def:behaviors[@max_depth or @recurse_direction])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the max_depth and recurse_direction behaviors are not allowed with a filepath entity<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M199"/></axsl:template><axsl:template match="text()" priority="-1" mode="M199"/><axsl:template match="@*|node()" priority="-2" mode="M199"><axsl:apply-templates select="@*|*" mode="M199"/></axsl:template>
2208
2209 <!--PATTERN ind-def_xmlobjfilepath2-->
2210
2211
2212 <!--RULE -->
2213 <axsl:template match="ind-def:xmlfilecontent_object/ind-def:filepath[not(@operation='equals' or not(@operation))]" priority="1000" mode="M200">
2214
2215 <!--ASSERT -->
2216 <axsl:choose><axsl:when test="not(preceding-sibling::ind-def:behaviors[@recurse_file_system='defined'])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_file_system behavior MUST not be set to 'defined' when a pattern match is used with a filepath entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M200"/></axsl:template><axsl:template match="text()" priority="-1" mode="M200"/><axsl:template match="@*|node()" priority="-2" mode="M200"><axsl:apply-templates select="@*|*" mode="M200"/></axsl:template>
2217
2218 <!--PATTERN ind-def_xmlobjpath-->
2219
2220
2221 <!--RULE -->
2222 <axsl:template match="ind-def:xmlfilecontent_object/ind-def:path[not(@operation='equals' or not(@operation))]" priority="1000" mode="M201">
2223
2224 <!--ASSERT -->
2225 <axsl:choose><axsl:when test="not(preceding-sibling::ind-def:behaviors[@recurse_file_system='defined'])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_file_system behavior MUST not be set to 'defined' when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
2226
2227 <!--ASSERT -->
2228 <axsl:choose><axsl:when test="not(preceding-sibling::ind-def:behaviors[@max_depth])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the max_depth behavior MUST not be used when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
2229
2230 <!--ASSERT -->
2231 <axsl:choose><axsl:when test="not(preceding-sibling::ind-def:behaviors[@recurse_direction])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_direction behavior MUST not be used when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
2232
2233 <!--ASSERT -->
2234 <axsl:choose><axsl:when test="not(preceding-sibling::ind-def:behaviors[@recurse])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse behavior MUST not be used when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M201"/></axsl:template><axsl:template match="text()" priority="-1" mode="M201"/><axsl:template match="@*|node()" priority="-2" mode="M201"><axsl:apply-templates select="@*|*" mode="M201"/></axsl:template>
2235
2236 <!--PATTERN ind-def_xmlobjfilename-->
2237
2238
2239 <!--RULE -->
2240 <axsl:template match="ind-def:xmlfilecontent_object/ind-def:filename" priority="1000" mode="M202">
2241
2242 <!--ASSERT -->
2243 <axsl:choose><axsl:when test="(@var_ref and .='') or not(.='') or (.='' and @operation = 'pattern match')"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - filename entity cannot be empty unless the xsi:nil attribute is set to true or a var_ref is used<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M202"/></axsl:template><axsl:template match="text()" priority="-1" mode="M202"/><axsl:template match="@*|node()" priority="-2" mode="M202"><axsl:apply-templates select="@*|*" mode="M202"/></axsl:template>
2244
2245 <!--PATTERN ind-def_xmlobjxpath-->
2246
2247
2248 <!--RULE -->
2249 <axsl:template match="ind-def:xmlfilecontent_object/ind-def:xpath" priority="1000" mode="M203">
2250
2251 <!--ASSERT -->
2252 <axsl:choose><axsl:when test="not(@operation) or @operation='equals'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - operation attribute for the xpath entity of a xmlfilecontent_object should be 'equals', note that this overrules the general operation attribute validation (i.e. follow this one)<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M203"/></axsl:template><axsl:template match="text()" priority="-1" mode="M203"/><axsl:template match="@*|node()" priority="-2" mode="M203"><axsl:apply-templates select="@*|*" mode="M203"/></axsl:template>
2253
2254 <!--PATTERN ind-def_ldaptype_timestamp_value_dep-->
2255
2256
2257 <!--RULE -->
2258 <axsl:template match="oval-def:oval_definitions/oval-def:states/ind-def:ldap_state/ind-def:ldaptype|oval-def:oval_definitions/oval-def:states/ind-def:ldap57_state/ind-def:ldaptype" priority="1000" mode="M204">
2259
2260 <!--REPORT -->
2261 <axsl:if test=".='LDAPTYPE_TIMESTAMP'">
2262 DEPRECATED ELEMENT VALUE IN: ldap_state ELEMENT VALUE: <axsl:text/><axsl:value-of select="."/><axsl:text/>
2263 <axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M204"/></axsl:template><axsl:template match="text()" priority="-1" mode="M204"/><axsl:template match="@*|node()" priority="-2" mode="M204"><axsl:apply-templates select="@*|*" mode="M204"/></axsl:template>
2264
2265 <!--PATTERN ind-def_ldaptype_email_value_dep-->
2266
2267
2268 <!--RULE -->
2269 <axsl:template match="oval-def:oval_definitions/oval-def:states/ind-def:ldap_state/ind-def:ldaptype|oval-def:oval_definitions/oval-def:states/ind-def:ldap57_state/ind-def:ldaptype" priority="1000" mode="M205">
2270
2271 <!--REPORT -->
2272 <axsl:if test=".='LDAPTYPE_EMAIL'">
2273 DEPRECATED ELEMENT VALUE IN: ldap_state ELEMENT VALUE: <axsl:text/><axsl:value-of select="."/><axsl:text/>
2274 <axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M205"/></axsl:template><axsl:template match="text()" priority="-1" mode="M205"/><axsl:template match="@*|node()" priority="-2" mode="M205"><axsl:apply-templates select="@*|*" mode="M205"/></axsl:template>
2275
2276 <!--PATTERN ios_acltst-->
2277
2278
2279 <!--RULE -->
2280 <axsl:template match="ios-def:acl_test/ios-def:object" priority="1001" mode="M206">
2281
2282 <!--ASSERT -->
2283 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/ios-def:acl_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a acl_test must reference a acl_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M206"/></axsl:template>
2284
2285 <!--RULE -->
2286 <axsl:template match="ios-def:acl_test/ios-def:state" priority="1000" mode="M206">
2287
2288 <!--ASSERT -->
2289 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/ios-def:acl_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a acl_test must reference a acl_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M206"/></axsl:template><axsl:template match="text()" priority="-1" mode="M206"/><axsl:template match="@*|node()" priority="-2" mode="M206"><axsl:apply-templates select="@*|*" mode="M206"/></axsl:template>
2290
2291 <!--PATTERN ios_acl_object_verify_filter_state-->
2292
2293
2294 <!--RULE -->
2295 <axsl:template match="ios-def:acl_object//oval-def:filter" priority="1000" mode="M207"><axsl:variable name="parent_object" select="ancestor::ios-def:acl_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
2296
2297 <!--ASSERT -->
2298 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#ios') and ($state_name='acl_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M207"/></axsl:template><axsl:template match="text()" priority="-1" mode="M207"/><axsl:template match="@*|node()" priority="-2" mode="M207"><axsl:apply-templates select="@*|*" mode="M207"/></axsl:template>
2299
2300 <!--PATTERN ios_bgpneighbortst-->
2301
2302
2303 <!--RULE -->
2304 <axsl:template match="ios-def:bgpneighbor_test/ios-def:object" priority="1001" mode="M208">
2305
2306 <!--ASSERT -->
2307 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/ios-def:bgpneighbor_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a bgpneighbor_test must reference a bgpneighbor_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M208"/></axsl:template>
2308
2309 <!--RULE -->
2310 <axsl:template match="ios-def:bgpneighbor_test/ios-def:state" priority="1000" mode="M208">
2311
2312 <!--ASSERT -->
2313 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/ios-def:bgpneighbor_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a bgpneighbor_test must reference a bgpneighbor_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M208"/></axsl:template><axsl:template match="text()" priority="-1" mode="M208"/><axsl:template match="@*|node()" priority="-2" mode="M208"><axsl:apply-templates select="@*|*" mode="M208"/></axsl:template>
2314
2315 <!--PATTERN ios_bgpneighbor_object_verify_filter_state-->
2316
2317
2318 <!--RULE -->
2319 <axsl:template match="ios-def:bgpneighbor_object//oval-def:filter" priority="1000" mode="M209"><axsl:variable name="parent_object" select="ancestor::ios-def:bgpneighbor_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
2320
2321 <!--ASSERT -->
2322 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#ios') and ($state_name='bgpneighbor_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M209"/></axsl:template><axsl:template match="text()" priority="-1" mode="M209"/><axsl:template match="@*|node()" priority="-2" mode="M209"><axsl:apply-templates select="@*|*" mode="M209"/></axsl:template>
2323
2324 <!--PATTERN ios-def_globaltst-->
2325
2326
2327 <!--RULE -->
2328 <axsl:template match="ios-def:global_test/ios-def:object" priority="1001" mode="M210">
2329
2330 <!--ASSERT -->
2331 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/ios-def:global_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a global_test must reference a global_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M210"/></axsl:template>
2332
2333 <!--RULE -->
2334 <axsl:template match="ios-def:global_test/ios-def:state" priority="1000" mode="M210">
2335
2336 <!--ASSERT -->
2337 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/ios-def:global_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a global_test must reference a global_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M210"/></axsl:template><axsl:template match="text()" priority="-1" mode="M210"/><axsl:template match="@*|node()" priority="-2" mode="M210"><axsl:apply-templates select="@*|*" mode="M210"/></axsl:template>
2338
2339 <!--PATTERN ios-def_global_object_verify_filter_state-->
2340
2341
2342 <!--RULE -->
2343 <axsl:template match="ios-def:global_object//oval-def:filter" priority="1000" mode="M211"><axsl:variable name="parent_object" select="ancestor::ios-def:global_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
2344
2345 <!--ASSERT -->
2346 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#ios') and ($state_name='global_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M211"/></axsl:template><axsl:template match="text()" priority="-1" mode="M211"/><axsl:template match="@*|node()" priority="-2" mode="M211"><axsl:apply-templates select="@*|*" mode="M211"/></axsl:template>
2347
2348 <!--PATTERN ios-def_interfacetst-->
2349
2350
2351 <!--RULE -->
2352 <axsl:template match="ios-def:interface_test/ios-def:object" priority="1001" mode="M212">
2353
2354 <!--ASSERT -->
2355 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/ios-def:interface_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an interface_test must reference an interface_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M212"/></axsl:template>
2356
2357 <!--RULE -->
2358 <axsl:template match="ios-def:interface_test/ios-def:state" priority="1000" mode="M212">
2359
2360 <!--ASSERT -->
2361 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/ios-def:interface_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an interface_test must reference an interface_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M212"/></axsl:template><axsl:template match="text()" priority="-1" mode="M212"/><axsl:template match="@*|node()" priority="-2" mode="M212"><axsl:apply-templates select="@*|*" mode="M212"/></axsl:template>
2362
2363 <!--PATTERN ios-def_interface_object_verify_filter_state-->
2364
2365
2366 <!--RULE -->
2367 <axsl:template match="ios-def:interface_object//oval-def:filter" priority="1000" mode="M213"><axsl:variable name="parent_object" select="ancestor::ios-def:interface_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
2368
2369 <!--ASSERT -->
2370 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#ios') and ($state_name='interface_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M213"/></axsl:template><axsl:template match="text()" priority="-1" mode="M213"/><axsl:template match="@*|node()" priority="-2" mode="M213"><axsl:apply-templates select="@*|*" mode="M213"/></axsl:template>
2371
2372 <!--PATTERN ios-def_interfacestenoipdbc-->
2373
2374
2375 <!--RULE -->
2376 <axsl:template match="ios-def:interface_state/ios-def:no_ip_directed_broadcast_command" priority="1000" mode="M214">
2377
2378 <!--REPORT -->
2379 <axsl:if test="true()">DEPRECATED ELEMENT: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M214"/></axsl:template><axsl:template match="text()" priority="-1" mode="M214"/><axsl:template match="@*|node()" priority="-2" mode="M214"><axsl:apply-templates select="@*|*" mode="M214"/></axsl:template>
2380
2381 <!--PATTERN ios-def_interfaceste_urpf_command_dep-->
2382
2383
2384 <!--RULE -->
2385 <axsl:template match="ios-def:interface_state/ios-def:urpf_command" priority="1000" mode="M215">
2386
2387 <!--REPORT -->
2388 <axsl:if test="true()">Warning: DEPRECATED ENTITY: <axsl:text/><axsl:value-of select="name()"/><axsl:text/>. This entity has been deprecated because it was replaced by the ipv4_urpf_command and ipv6_urpf_command entities.<axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M215"/></axsl:template><axsl:template match="text()" priority="-1" mode="M215"/><axsl:template match="@*|node()" priority="-2" mode="M215"><axsl:apply-templates select="@*|*" mode="M215"/></axsl:template>
2389
2390 <!--PATTERN ios-def_linetst-->
2391
2392
2393 <!--RULE -->
2394 <axsl:template match="ios-def:line_test/ios-def:object" priority="1001" mode="M216">
2395
2396 <!--ASSERT -->
2397 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/ios-def:line_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a line_test must reference a line_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M216"/></axsl:template>
2398
2399 <!--RULE -->
2400 <axsl:template match="ios-def:line_test/ios-def:state" priority="1000" mode="M216">
2401
2402 <!--ASSERT -->
2403 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/ios-def:line_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a line_test must reference a line_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M216"/></axsl:template><axsl:template match="text()" priority="-1" mode="M216"/><axsl:template match="@*|node()" priority="-2" mode="M216"><axsl:apply-templates select="@*|*" mode="M216"/></axsl:template>
2404
2405 <!--PATTERN ios-def_line_object_verify_filter_state-->
2406
2407
2408 <!--RULE -->
2409 <axsl:template match="ios-def:line_object//oval-def:filter" priority="1000" mode="M217"><axsl:variable name="parent_object" select="ancestor::ios-def:line_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
2410
2411 <!--ASSERT -->
2412 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#ios') and ($state_name='line_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M217"/></axsl:template><axsl:template match="text()" priority="-1" mode="M217"/><axsl:template match="@*|node()" priority="-2" mode="M217"><axsl:apply-templates select="@*|*" mode="M217"/></axsl:template>
2413
2414 <!--PATTERN ios_routertst-->
2415
2416
2417 <!--RULE -->
2418 <axsl:template match="ios-def:router_test/ios-def:object" priority="1001" mode="M218">
2419
2420 <!--ASSERT -->
2421 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/ios-def:router_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a router_test must reference a router_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M218"/></axsl:template>
2422
2423 <!--RULE -->
2424 <axsl:template match="ios-def:router_test/ios-def:state" priority="1000" mode="M218">
2425
2426 <!--ASSERT -->
2427 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/ios-def:router_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a router_test must reference a router_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M218"/></axsl:template><axsl:template match="text()" priority="-1" mode="M218"/><axsl:template match="@*|node()" priority="-2" mode="M218"><axsl:apply-templates select="@*|*" mode="M218"/></axsl:template>
2428
2429 <!--PATTERN ios_router_object_verify_filter_state-->
2430
2431
2432 <!--RULE -->
2433 <axsl:template match="ios-def:router_object//oval-def:filter" priority="1000" mode="M219"><axsl:variable name="parent_object" select="ancestor::ios-def:router_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
2434
2435 <!--ASSERT -->
2436 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#ios') and ($state_name='router_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M219"/></axsl:template><axsl:template match="text()" priority="-1" mode="M219"/><axsl:template match="@*|node()" priority="-2" mode="M219"><axsl:apply-templates select="@*|*" mode="M219"/></axsl:template>
2437
2438 <!--PATTERN ios_routingprotocolauthintftst-->
2439
2440
2441 <!--RULE -->
2442 <axsl:template match="ios-def:routingprotocolauthintf_test/ios-def:object" priority="1001" mode="M220">
2443
2444 <!--ASSERT -->
2445 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/ios-def:routingprotocolauthintf_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a routingprotocolauthintf_test must reference a routingprotocolauthintf_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M220"/></axsl:template>
2446
2447 <!--RULE -->
2448 <axsl:template match="ios-def:routingprotocolauthintf_test/ios-def:state" priority="1000" mode="M220">
2449
2450 <!--ASSERT -->
2451 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/ios-def:routingprotocolauthintf_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a routingprotocolauthintf_test must reference a routingprotocolauthintf_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M220"/></axsl:template><axsl:template match="text()" priority="-1" mode="M220"/><axsl:template match="@*|node()" priority="-2" mode="M220"><axsl:apply-templates select="@*|*" mode="M220"/></axsl:template>
2452
2453 <!--PATTERN ios_routingprotocolauthintf_object_verify_filter_state-->
2454
2455
2456 <!--RULE -->
2457 <axsl:template match="ios-def:routingprotocolauthintf_object//oval-def:filter" priority="1000" mode="M221"><axsl:variable name="parent_object" select="ancestor::ios-def:routingprotocolauthintf_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
2458
2459 <!--ASSERT -->
2460 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#ios') and ($state_name='routingprotocolauthintf_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M221"/></axsl:template><axsl:template match="text()" priority="-1" mode="M221"/><axsl:template match="@*|node()" priority="-2" mode="M221"><axsl:apply-templates select="@*|*" mode="M221"/></axsl:template>
2461
2462 <!--PATTERN ios_sectiontst-->
2463
2464
2465 <!--RULE -->
2466 <axsl:template match="ios-def:section_test/ios-def:object" priority="1001" mode="M222">
2467
2468 <!--ASSERT -->
2469 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/ios-def:section_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a section_test must reference a section_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M222"/></axsl:template>
2470
2471 <!--RULE -->
2472 <axsl:template match="ios-def:section_test/ios-def:state" priority="1000" mode="M222">
2473
2474 <!--ASSERT -->
2475 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/ios-def:section_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a section_test must reference a section_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M222"/></axsl:template><axsl:template match="text()" priority="-1" mode="M222"/><axsl:template match="@*|node()" priority="-2" mode="M222"><axsl:apply-templates select="@*|*" mode="M222"/></axsl:template>
2476
2477 <!--PATTERN ios_section_object_verify_filter_state-->
2478
2479
2480 <!--RULE -->
2481 <axsl:template match="ios-def:section_object//oval-def:filter" priority="1000" mode="M223"><axsl:variable name="parent_object" select="ancestor::ios-def:section_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
2482
2483 <!--ASSERT -->
2484 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#ios') and ($state_name='section_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M223"/></axsl:template><axsl:template match="text()" priority="-1" mode="M223"/><axsl:template match="@*|node()" priority="-2" mode="M223"><axsl:apply-templates select="@*|*" mode="M223"/></axsl:template>
2485
2486 <!--PATTERN ios-def_snmptst-->
2487
2488
2489 <!--RULE -->
2490 <axsl:template match="ios-def:snmp_test/ios-def:object" priority="1001" mode="M224">
2491
2492 <!--ASSERT -->
2493 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/ios-def:snmp_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a snmp_test must reference a snmp_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M224"/></axsl:template>
2494
2495 <!--RULE -->
2496 <axsl:template match="ios-def:snmp_test/ios-def:state" priority="1000" mode="M224">
2497
2498 <!--ASSERT -->
2499 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/ios-def:snmp_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a snmp_test must reference a snmp_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M224"/></axsl:template><axsl:template match="text()" priority="-1" mode="M224"/><axsl:template match="@*|node()" priority="-2" mode="M224"><axsl:apply-templates select="@*|*" mode="M224"/></axsl:template>
2500
2501 <!--PATTERN ios_communitytst-->
2502
2503
2504 <!--RULE -->
2505 <axsl:template match="ios-def:snmpcommunity_test/ios-def:object" priority="1001" mode="M225">
2506
2507 <!--ASSERT -->
2508 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/ios-def:snmpcommunity_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an snmpcommunity_test must reference an snmpcommunity_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M225"/></axsl:template>
2509
2510 <!--RULE -->
2511 <axsl:template match="ios-def:snmpcommunity_test/ios-def:state" priority="1000" mode="M225">
2512
2513 <!--ASSERT -->
2514 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/ios-def:snmpcommunity_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an snmpcommunity_test must reference an snmpcommunity_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M225"/></axsl:template><axsl:template match="text()" priority="-1" mode="M225"/><axsl:template match="@*|node()" priority="-2" mode="M225"><axsl:apply-templates select="@*|*" mode="M225"/></axsl:template>
2515
2516 <!--PATTERN ios_snmpcommunity_object_verify_filter_state-->
2517
2518
2519 <!--RULE -->
2520 <axsl:template match="ios-def:snmpcommunity_object//oval-def:filter" priority="1000" mode="M226"><axsl:variable name="parent_object" select="ancestor::ios-def:snmpcommunity_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
2521
2522 <!--ASSERT -->
2523 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#ios') and ($state_name='snmpcommunity_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M226"/></axsl:template><axsl:template match="text()" priority="-1" mode="M226"/><axsl:template match="@*|node()" priority="-2" mode="M226"><axsl:apply-templates select="@*|*" mode="M226"/></axsl:template>
2524
2525 <!--PATTERN ios_grouptst-->
2526
2527
2528 <!--RULE -->
2529 <axsl:template match="ios-def:snmpgroup_test/ios-def:object" priority="1001" mode="M227">
2530
2531 <!--ASSERT -->
2532 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/ios-def:snmpgroup_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an snmpgroup_test must reference an snmpgroup_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M227"/></axsl:template>
2533
2534 <!--RULE -->
2535 <axsl:template match="ios-def:snmpgroup_test/ios-def:state" priority="1000" mode="M227">
2536
2537 <!--ASSERT -->
2538 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/ios-def:snmpgroup_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an snmpgroup_test must reference an snmpgroup_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M227"/></axsl:template><axsl:template match="text()" priority="-1" mode="M227"/><axsl:template match="@*|node()" priority="-2" mode="M227"><axsl:apply-templates select="@*|*" mode="M227"/></axsl:template>
2539
2540 <!--PATTERN ios_snmpgroup_object_verify_filter_state-->
2541
2542
2543 <!--RULE -->
2544 <axsl:template match="ios-def:snmpgroup_object//oval-def:filter" priority="1000" mode="M228"><axsl:variable name="parent_object" select="ancestor::ios-def:snmpgroup_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
2545
2546 <!--ASSERT -->
2547 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#ios') and ($state_name='snmpgroup_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M228"/></axsl:template><axsl:template match="text()" priority="-1" mode="M228"/><axsl:template match="@*|node()" priority="-2" mode="M228"><axsl:apply-templates select="@*|*" mode="M228"/></axsl:template>
2548
2549 <!--PATTERN ios_hosttst-->
2550
2551
2552 <!--RULE -->
2553 <axsl:template match="ios-def:snmphost_test/ios-def:object" priority="1001" mode="M229">
2554
2555 <!--ASSERT -->
2556 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/ios-def:snmphost_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an snmphost_test must reference an snmphost_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M229"/></axsl:template>
2557
2558 <!--RULE -->
2559 <axsl:template match="ios-def:snmphost_test/ios-def:state" priority="1000" mode="M229">
2560
2561 <!--ASSERT -->
2562 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/ios-def:snmphost_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an snmphost_test must reference an snmphost_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M229"/></axsl:template><axsl:template match="text()" priority="-1" mode="M229"/><axsl:template match="@*|node()" priority="-2" mode="M229"><axsl:apply-templates select="@*|*" mode="M229"/></axsl:template>
2563
2564 <!--PATTERN ios_snmphost_object_verify_filter_state-->
2565
2566
2567 <!--RULE -->
2568 <axsl:template match="ios-def:snmphost_object//oval-def:filter" priority="1000" mode="M230"><axsl:variable name="parent_object" select="ancestor::ios-def:snmphost_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
2569
2570 <!--ASSERT -->
2571 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#ios') and ($state_name='snmphost_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M230"/></axsl:template><axsl:template match="text()" priority="-1" mode="M230"/><axsl:template match="@*|node()" priority="-2" mode="M230"><axsl:apply-templates select="@*|*" mode="M230"/></axsl:template>
2572
2573 <!--PATTERN ios_usertst-->
2574
2575
2576 <!--RULE -->
2577 <axsl:template match="ios-def:snmpuser_test/ios-def:object" priority="1001" mode="M231">
2578
2579 <!--ASSERT -->
2580 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/ios-def:snmpuser_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an snmpuser_test must reference an snmpuser_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M231"/></axsl:template>
2581
2582 <!--RULE -->
2583 <axsl:template match="ios-def:snmpuser_test/ios-def:state" priority="1000" mode="M231">
2584
2585 <!--ASSERT -->
2586 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/ios-def:snmpuser_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an snmpuser_test must reference an snmpuser_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M231"/></axsl:template><axsl:template match="text()" priority="-1" mode="M231"/><axsl:template match="@*|node()" priority="-2" mode="M231"><axsl:apply-templates select="@*|*" mode="M231"/></axsl:template>
2587
2588 <!--PATTERN ios_snmpuser_object_verify_filter_state-->
2589
2590
2591 <!--RULE -->
2592 <axsl:template match="ios-def:snmpuser_object//oval-def:filter" priority="1000" mode="M232"><axsl:variable name="parent_object" select="ancestor::ios-def:snmpuser_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
2593
2594 <!--ASSERT -->
2595 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#ios') and ($state_name='snmpuser_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M232"/></axsl:template><axsl:template match="text()" priority="-1" mode="M232"/><axsl:template match="@*|node()" priority="-2" mode="M232"><axsl:apply-templates select="@*|*" mode="M232"/></axsl:template>
2596
2597 <!--PATTERN ios_viewtst-->
2598
2599
2600 <!--RULE -->
2601 <axsl:template match="ios-def:snmpview_test/ios-def:object" priority="1001" mode="M233">
2602
2603 <!--ASSERT -->
2604 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/ios-def:snmpview_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an snmpview_test must reference an snmpview_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M233"/></axsl:template>
2605
2606 <!--RULE -->
2607 <axsl:template match="ios-def:snmpview_test/ios-def:state" priority="1000" mode="M233">
2608
2609 <!--ASSERT -->
2610 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/ios-def:snmpview_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an snmpview_test must reference an snmpview_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M233"/></axsl:template><axsl:template match="text()" priority="-1" mode="M233"/><axsl:template match="@*|node()" priority="-2" mode="M233"><axsl:apply-templates select="@*|*" mode="M233"/></axsl:template>
2611
2612 <!--PATTERN ios_snmpview_object_verify_filter_state-->
2613
2614
2615 <!--RULE -->
2616 <axsl:template match="ios-def:snmpview_object//oval-def:filter" priority="1000" mode="M234"><axsl:variable name="parent_object" select="ancestor::ios-def:snmpview_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
2617
2618 <!--ASSERT -->
2619 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#ios') and ($state_name='snmpview_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M234"/></axsl:template><axsl:template match="text()" priority="-1" mode="M234"/><axsl:template match="@*|node()" priority="-2" mode="M234"><axsl:apply-templates select="@*|*" mode="M234"/></axsl:template>
2620
2621 <!--PATTERN ios-def_tclshtst-->
2622
2623
2624 <!--RULE -->
2625 <axsl:template match="ios-def:tclsh_test/ios-def:object" priority="1001" mode="M235">
2626
2627 <!--ASSERT -->
2628 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/ios-def:tclsh_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a tclsh_test must reference a tclsh_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M235"/></axsl:template>
2629
2630 <!--RULE -->
2631 <axsl:template match="ios-def:tclsh_test/ios-def:state" priority="1000" mode="M235">
2632
2633 <!--ASSERT -->
2634 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/ios-def:tclsh_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a tclsh_test must reference a tclsh_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M235"/></axsl:template><axsl:template match="text()" priority="-1" mode="M235"/><axsl:template match="@*|node()" priority="-2" mode="M235"><axsl:apply-templates select="@*|*" mode="M235"/></axsl:template>
2635
2636 <!--PATTERN ios-def_ver55tst-->
2637
2638
2639 <!--RULE -->
2640 <axsl:template match="ios-def:version55_test/ios-def:object" priority="1001" mode="M236">
2641
2642 <!--ASSERT -->
2643 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/ios-def:version55_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a version55_test must reference a version_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M236"/></axsl:template>
2644
2645 <!--RULE -->
2646 <axsl:template match="ios-def:version55_test/ios-def:state" priority="1000" mode="M236">
2647
2648 <!--ASSERT -->
2649 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/ios-def:version55_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a version55_test must reference a version_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M236"/></axsl:template><axsl:template match="text()" priority="-1" mode="M236"/><axsl:template match="@*|node()" priority="-2" mode="M236"><axsl:apply-templates select="@*|*" mode="M236"/></axsl:template>
2650
2651 <!--PATTERN ios-def_vertst_dep-->
2652
2653
2654 <!--RULE -->
2655 <axsl:template match="ios-def:version_test" priority="1000" mode="M237">
2656
2657 <!--REPORT -->
2658 <axsl:if test="true()">DEPRECATED TEST: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M237"/></axsl:template><axsl:template match="text()" priority="-1" mode="M237"/><axsl:template match="@*|node()" priority="-2" mode="M237"><axsl:apply-templates select="@*|*" mode="M237"/></axsl:template>
2659
2660 <!--PATTERN ios-def_vertst-->
2661
2662
2663 <!--RULE -->
2664 <axsl:template match="ios-def:version_test/ios-def:object" priority="1001" mode="M238">
2665
2666 <!--ASSERT -->
2667 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/ios-def:version_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a version_test must reference a version_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M238"/></axsl:template>
2668
2669 <!--RULE -->
2670 <axsl:template match="ios-def:version_test/ios-def:state" priority="1000" mode="M238">
2671
2672 <!--ASSERT -->
2673 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/ios-def:version_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a version_test must reference a version_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M238"/></axsl:template><axsl:template match="text()" priority="-1" mode="M238"/><axsl:template match="@*|node()" priority="-2" mode="M238"><axsl:apply-templates select="@*|*" mode="M238"/></axsl:template>
2674
2675 <!--PATTERN ios-def_verobj_dep-->
2676
2677
2678 <!--RULE -->
2679 <axsl:template match="ios-def:version_object" priority="1000" mode="M239">
2680
2681 <!--REPORT -->
2682 <axsl:if test="true()">DEPRECATED OBJECT: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M239"/></axsl:template><axsl:template match="text()" priority="-1" mode="M239"/><axsl:template match="@*|node()" priority="-2" mode="M239"><axsl:apply-templates select="@*|*" mode="M239"/></axsl:template>
2683
2684 <!--PATTERN ios-def_verste_dep-->
2685
2686
2687 <!--RULE -->
2688 <axsl:template match="ios-def:version_state" priority="1000" mode="M240">
2689
2690 <!--REPORT -->
2691 <axsl:if test="true()">DEPRECATED STATE: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M240"/></axsl:template><axsl:template match="text()" priority="-1" mode="M240"/><axsl:template match="@*|node()" priority="-2" mode="M240"><axsl:apply-templates select="@*|*" mode="M240"/></axsl:template>
2692
2693 <!--PATTERN ios-def_salut_none_value_dep-->
2694
2695
2696 <!--RULE -->
2697 <axsl:template match="oval-def:oval_definitions/oval-def:states/ios-def:acl_state/ios-def:use" priority="1000" mode="M241">
2698
2699 <!--REPORT -->
2700 <axsl:if test=".='NONE'">
2701 DEPRECATED ELEMENT VALUE IN: acl_state ELEMENT VALUE: <axsl:text/><axsl:value-of select="."/><axsl:text/>
2702 <axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M241"/></axsl:template><axsl:template match="text()" priority="-1" mode="M241"/><axsl:template match="@*|node()" priority="-2" mode="M241"><axsl:apply-templates select="@*|*" mode="M241"/></axsl:template>
2703
2704 <!--PATTERN ios-def_sratst_null_value_dep-->
2705
2706
2707 <!--RULE -->
2708 <axsl:template match="oval-def:oval_definitions/oval-def:states/ios-def:routingprotocolauthintf_state/ios-def:auth_type" priority="1000" mode="M242">
2709
2710 <!--REPORT -->
2711 <axsl:if test=".='NULL'">
2712 DEPRECATED ELEMENT VALUE IN: routingprotocolauthintf_state ELEMENT VALUE: <axsl:text/><axsl:value-of select="."/><axsl:text/>
2713 <axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M242"/></axsl:template><axsl:template match="text()" priority="-1" mode="M242"/><axsl:template match="@*|node()" priority="-2" mode="M242"><axsl:apply-templates select="@*|*" mode="M242"/></axsl:template>
2714
2715 <!--PATTERN iosxe-def_globaltst-->
2716
2717
2718 <!--RULE -->
2719 <axsl:template match="iosxe-def:global_test/iosxe-def:object" priority="1001" mode="M243">
2720
2721 <!--ASSERT -->
2722 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/iosxe-def:global_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a global_test must reference a global_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M243"/></axsl:template>
2723
2724 <!--RULE -->
2725 <axsl:template match="iosxe-def:global_test/iosxe-def:state" priority="1000" mode="M243">
2726
2727 <!--ASSERT -->
2728 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/iosxe-def:global_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a global_test must reference a global_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M243"/></axsl:template><axsl:template match="text()" priority="-1" mode="M243"/><axsl:template match="@*|node()" priority="-2" mode="M243"><axsl:apply-templates select="@*|*" mode="M243"/></axsl:template>
2729
2730 <!--PATTERN iosxe-def_global_object_verify_filter_state-->
2731
2732
2733 <!--RULE -->
2734 <axsl:template match="iosxe-def:global_object//oval-def:filter" priority="1000" mode="M244"><axsl:variable name="parent_object" select="ancestor::iosxe-def:global_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
2735
2736 <!--ASSERT -->
2737 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#iosxe') and ($state_name='global_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M244"/></axsl:template><axsl:template match="text()" priority="-1" mode="M244"/><axsl:template match="@*|node()" priority="-2" mode="M244"><axsl:apply-templates select="@*|*" mode="M244"/></axsl:template>
2738
2739 <!--PATTERN iosxe-def_linetst-->
2740
2741
2742 <!--RULE -->
2743 <axsl:template match="iosxe-def:line_test/iosxe-def:object" priority="1001" mode="M245">
2744
2745 <!--ASSERT -->
2746 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/iosxe-def:line_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a line_test must reference a line_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M245"/></axsl:template>
2747
2748 <!--RULE -->
2749 <axsl:template match="iosxe-def:line_test/iosxe-def:state" priority="1000" mode="M245">
2750
2751 <!--ASSERT -->
2752 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/iosxe-def:line_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a line_test must reference a line_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M245"/></axsl:template><axsl:template match="text()" priority="-1" mode="M245"/><axsl:template match="@*|node()" priority="-2" mode="M245"><axsl:apply-templates select="@*|*" mode="M245"/></axsl:template>
2753
2754 <!--PATTERN iosxe-def_line_object_verify_filter_state-->
2755
2756
2757 <!--RULE -->
2758 <axsl:template match="iosxe-def:line_object//oval-def:filter" priority="1000" mode="M246"><axsl:variable name="parent_object" select="ancestor::iosxe-def:line_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
2759
2760 <!--ASSERT -->
2761 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#iosxe') and ($state_name='line_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M246"/></axsl:template><axsl:template match="text()" priority="-1" mode="M246"/><axsl:template match="@*|node()" priority="-2" mode="M246"><axsl:apply-templates select="@*|*" mode="M246"/></axsl:template>
2762
2763 <!--PATTERN iosxe-def_versiontst-->
2764
2765
2766 <!--RULE -->
2767 <axsl:template match="iosxe-def:version_test/iosxe-def:object" priority="1001" mode="M247">
2768
2769 <!--ASSERT -->
2770 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/iosxe-def:version_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a version_test must reference a version_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M247"/></axsl:template>
2771
2772 <!--RULE -->
2773 <axsl:template match="iosxe-def:version_test/iosxe-def:state" priority="1000" mode="M247">
2774
2775 <!--ASSERT -->
2776 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/iosxe-def:version_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a version_test must reference a version_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M247"/></axsl:template><axsl:template match="text()" priority="-1" mode="M247"/><axsl:template match="@*|node()" priority="-2" mode="M247"><axsl:apply-templates select="@*|*" mode="M247"/></axsl:template>
2777
2778 <!--PATTERN iosxe-def_versionste_platform_dep-->
2779
2780
2781 <!--RULE -->
2782 <axsl:template match="iosxe-def:version_state/iosxe-def:platform" priority="1000" mode="M248">
2783
2784 <!--REPORT -->
2785 <axsl:if test="true()">Warning: DEPRECATED ENTITY: <axsl:text/><axsl:value-of select="name()"/><axsl:text/>. This entity has been deprecated because it cannot be reliably collected.<axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M248"/></axsl:template><axsl:template match="text()" priority="-1" mode="M248"/><axsl:template match="@*|node()" priority="-2" mode="M248"><axsl:apply-templates select="@*|*" mode="M248"/></axsl:template>
2786
2787 <!--PATTERN iosxe-def_versionste_rp_dep-->
2788
2789
2790 <!--RULE -->
2791 <axsl:template match="iosxe-def:version_state/iosxe-def:rp" priority="1000" mode="M249">
2792
2793 <!--REPORT -->
2794 <axsl:if test="true()">Warning: DEPRECATED ENTITY: <axsl:text/><axsl:value-of select="name()"/><axsl:text/>. This entity has been deprecated because it cannot be reliably collected.<axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M249"/></axsl:template><axsl:template match="text()" priority="-1" mode="M249"/><axsl:template match="@*|node()" priority="-2" mode="M249"><axsl:apply-templates select="@*|*" mode="M249"/></axsl:template>
2795
2796 <!--PATTERN iosxe-def_versionste_pkg_dep-->
2797
2798
2799 <!--RULE -->
2800 <axsl:template match="iosxe-def:version_state/iosxe-def:pkg" priority="1000" mode="M250">
2801
2802 <!--REPORT -->
2803 <axsl:if test="true()">Warning: DEPRECATED ENTITY: <axsl:text/><axsl:value-of select="name()"/><axsl:text/>. This entity has been deprecated because it cannot be reliably collected.<axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M250"/></axsl:template><axsl:template match="text()" priority="-1" mode="M250"/><axsl:template match="@*|node()" priority="-2" mode="M250"><axsl:apply-templates select="@*|*" mode="M250"/></axsl:template>
2804
2805 <!--PATTERN iosxe-def_versionste_ios_release_dep-->
2806
2807
2808 <!--RULE -->
2809 <axsl:template match="iosxe-def:version_state/iosxe-def:ios_release" priority="1000" mode="M251">
2810
2811 <!--REPORT -->
2812 <axsl:if test="true()">Warning: DEPRECATED ENTITY: <axsl:text/><axsl:value-of select="name()"/><axsl:text/>. This entity has been deprecated because it is irrelevant to the IOS-XE version.<axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M251"/></axsl:template><axsl:template match="text()" priority="-1" mode="M251"/><axsl:template match="@*|node()" priority="-2" mode="M251"><axsl:apply-templates select="@*|*" mode="M251"/></axsl:template>
2813
2814 <!--PATTERN iosxe-def_versionste_ios_train_dep-->
2815
2816
2817 <!--RULE -->
2818 <axsl:template match="iosxe-def:version_state/iosxe-def:ios_train" priority="1000" mode="M252">
2819
2820 <!--REPORT -->
2821 <axsl:if test="true()">Warning: DEPRECATED ENTITY: <axsl:text/><axsl:value-of select="name()"/><axsl:text/>. This entity has been deprecated because it is irrelevant to the IOS-XE version.<axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M252"/></axsl:template><axsl:template match="text()" priority="-1" mode="M252"/><axsl:template match="@*|node()" priority="-2" mode="M252"><axsl:apply-templates select="@*|*" mode="M252"/></axsl:template>
2822
2823 <!--PATTERN iosxe-def_interfacetst-->
2824
2825
2826 <!--RULE -->
2827 <axsl:template match="iosxe-def:interface_test/iosxe-def:object" priority="1001" mode="M253">
2828
2829 <!--ASSERT -->
2830 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/iosxe-def:interface_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an interface_test must reference an interface_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M253"/></axsl:template>
2831
2832 <!--RULE -->
2833 <axsl:template match="iosxe-def:interface_test/iosxe-def:state" priority="1000" mode="M253">
2834
2835 <!--ASSERT -->
2836 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/iosxe-def:interface_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an interface_test must reference an interface_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M253"/></axsl:template><axsl:template match="text()" priority="-1" mode="M253"/><axsl:template match="@*|node()" priority="-2" mode="M253"><axsl:apply-templates select="@*|*" mode="M253"/></axsl:template>
2837
2838 <!--PATTERN iosxe-def_interfaceste_urpf_command_dep-->
2839
2840
2841 <!--RULE -->
2842 <axsl:template match="iosxe-def:interface_state/iosxe-def:urpf_command" priority="1000" mode="M254">
2843
2844 <!--REPORT -->
2845 <axsl:if test="true()">Warning: DEPRECATED ENTITY: <axsl:text/><axsl:value-of select="name()"/><axsl:text/>. This entity has been deprecated because it was replaced by the ipv4_urpf_command and ipv6_urpf_command entities.<axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M254"/></axsl:template><axsl:template match="text()" priority="-1" mode="M254"/><axsl:template match="@*|node()" priority="-2" mode="M254"><axsl:apply-templates select="@*|*" mode="M254"/></axsl:template>
2846
2847 <!--PATTERN iosxe-def_sectiontst-->
2848
2849
2850 <!--RULE -->
2851 <axsl:template match="iosxe-def:section_test/iosxe-def:object" priority="1001" mode="M255">
2852
2853 <!--ASSERT -->
2854 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/iosxe-def:section_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a section_test must reference a section_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M255"/></axsl:template>
2855
2856 <!--RULE -->
2857 <axsl:template match="iosxe-def:section_test/iosxe-def:state" priority="1000" mode="M255">
2858
2859 <!--ASSERT -->
2860 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/iosxe-def:section_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a section_test must reference a section_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M255"/></axsl:template><axsl:template match="text()" priority="-1" mode="M255"/><axsl:template match="@*|node()" priority="-2" mode="M255"><axsl:apply-templates select="@*|*" mode="M255"/></axsl:template>
2861
2862 <!--PATTERN iosxe-def_section_object_verify_filter_state-->
2863
2864
2865 <!--RULE -->
2866 <axsl:template match="iosxe-def:section_object//oval-def:filter" priority="1000" mode="M256"><axsl:variable name="parent_object" select="ancestor::iosxe-def:section_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
2867
2868 <!--ASSERT -->
2869 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#iosxe') and ($state_name='section_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M256"/></axsl:template><axsl:template match="text()" priority="-1" mode="M256"/><axsl:template match="@*|node()" priority="-2" mode="M256"><axsl:apply-templates select="@*|*" mode="M256"/></axsl:template>
2870
2871 <!--PATTERN iosxe-def_routertst-->
2872
2873
2874 <!--RULE -->
2875 <axsl:template match="iosxe-def:router_test/iosxe-def:object" priority="1001" mode="M257">
2876
2877 <!--ASSERT -->
2878 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/iosxe-def:router_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a router_test must reference a router_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M257"/></axsl:template>
2879
2880 <!--RULE -->
2881 <axsl:template match="iosxe-def:router_test/iosxe-def:state" priority="1000" mode="M257">
2882
2883 <!--ASSERT -->
2884 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/iosxe-def:router_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a router_test must reference a router_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M257"/></axsl:template><axsl:template match="text()" priority="-1" mode="M257"/><axsl:template match="@*|node()" priority="-2" mode="M257"><axsl:apply-templates select="@*|*" mode="M257"/></axsl:template>
2885
2886 <!--PATTERN iosxe-def_router_object_verify_filter_state-->
2887
2888
2889 <!--RULE -->
2890 <axsl:template match="iosxe-def:router_object//oval-def:filter" priority="1000" mode="M258"><axsl:variable name="parent_object" select="ancestor::iosxe-def:router_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
2891
2892 <!--ASSERT -->
2893 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#iosxe') and ($state_name='router_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M258"/></axsl:template><axsl:template match="text()" priority="-1" mode="M258"/><axsl:template match="@*|node()" priority="-2" mode="M258"><axsl:apply-templates select="@*|*" mode="M258"/></axsl:template>
2894
2895 <!--PATTERN iosxe-def_bgpneighbortst-->
2896
2897
2898 <!--RULE -->
2899 <axsl:template match="iosxe-def:bgpneighbor_test/iosxe-def:object" priority="1001" mode="M259">
2900
2901 <!--ASSERT -->
2902 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/iosxe-def:bgpneighbor_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a bgpneighbor_test must reference a bgpneighbor_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M259"/></axsl:template>
2903
2904 <!--RULE -->
2905 <axsl:template match="iosxe-def:bgpneighbor_test/iosxe-def:state" priority="1000" mode="M259">
2906
2907 <!--ASSERT -->
2908 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/iosxe-def:bgpneighbor_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a bgpneighbor_test must reference a bgpneighbor_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M259"/></axsl:template><axsl:template match="text()" priority="-1" mode="M259"/><axsl:template match="@*|node()" priority="-2" mode="M259"><axsl:apply-templates select="@*|*" mode="M259"/></axsl:template>
2909
2910 <!--PATTERN iosxe-def_bgpneighbor_object_verify_filter_state-->
2911
2912
2913 <!--RULE -->
2914 <axsl:template match="iosxe-def:bgpneighbor_object//oval-def:filter" priority="1000" mode="M260"><axsl:variable name="parent_object" select="ancestor::iosxe-def:bgpneighbor_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
2915
2916 <!--ASSERT -->
2917 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#iosxe') and ($state_name='bgpneighbor_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M260"/></axsl:template><axsl:template match="text()" priority="-1" mode="M260"/><axsl:template match="@*|node()" priority="-2" mode="M260"><axsl:apply-templates select="@*|*" mode="M260"/></axsl:template>
2918
2919 <!--PATTERN iosxe-def_routingprotocolauthintftst-->
2920
2921
2922 <!--RULE -->
2923 <axsl:template match="iosxe-def:routingprotocolauthintf_test/iosxe-def:object" priority="1001" mode="M261">
2924
2925 <!--ASSERT -->
2926 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/iosxe-def:routingprotocolauthintf_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a routingprotocolauthintf_test must reference a routingprotocolauthintf_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M261"/></axsl:template>
2927
2928 <!--RULE -->
2929 <axsl:template match="iosxe-def:routingprotocolauthintf_test/iosxe-def:state" priority="1000" mode="M261">
2930
2931 <!--ASSERT -->
2932 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/iosxe-def:routingprotocolauthintf_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a routingprotocolauthintf_test must reference a routingprotocolauthintf_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M261"/></axsl:template><axsl:template match="text()" priority="-1" mode="M261"/><axsl:template match="@*|node()" priority="-2" mode="M261"><axsl:apply-templates select="@*|*" mode="M261"/></axsl:template>
2933
2934 <!--PATTERN iosxe-def_routingprotocolauthintf_object_verify_filter_state-->
2935
2936
2937 <!--RULE -->
2938 <axsl:template match="iosxe-def:routingprotocolauthintf_object//oval-def:filter" priority="1000" mode="M262"><axsl:variable name="parent_object" select="ancestor::iosxe-def:routingprotocolauthintf_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
2939
2940 <!--ASSERT -->
2941 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#iosxe') and ($state_name='routingprotocolauthintf_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M262"/></axsl:template><axsl:template match="text()" priority="-1" mode="M262"/><axsl:template match="@*|node()" priority="-2" mode="M262"><axsl:apply-templates select="@*|*" mode="M262"/></axsl:template>
2942
2943 <!--PATTERN iosxe-def_acltst-->
2944
2945
2946 <!--RULE -->
2947 <axsl:template match="iosxe-def:acl_test/iosxe-def:object" priority="1001" mode="M263">
2948
2949 <!--ASSERT -->
2950 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/iosxe-def:acl_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a acl_test must reference a acl_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M263"/></axsl:template>
2951
2952 <!--RULE -->
2953 <axsl:template match="iosxe-def:acl_test/iosxe-def:state" priority="1000" mode="M263">
2954
2955 <!--ASSERT -->
2956 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/iosxe-def:acl_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a acl_test must reference a acl_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M263"/></axsl:template><axsl:template match="text()" priority="-1" mode="M263"/><axsl:template match="@*|node()" priority="-2" mode="M263"><axsl:apply-templates select="@*|*" mode="M263"/></axsl:template>
2957
2958 <!--PATTERN iosxe-def_acl_object_verify_filter_state-->
2959
2960
2961 <!--RULE -->
2962 <axsl:template match="iosxe-def:acl_object//oval-def:filter" priority="1000" mode="M264"><axsl:variable name="parent_object" select="ancestor::iosxe-def:acl_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
2963
2964 <!--ASSERT -->
2965 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#iosxe') and ($state_name='acl_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M264"/></axsl:template><axsl:template match="text()" priority="-1" mode="M264"/><axsl:template match="@*|node()" priority="-2" mode="M264"><axsl:apply-templates select="@*|*" mode="M264"/></axsl:template>
2966
2967 <!--PATTERN iosxe-def_hosttst-->
2968
2969
2970 <!--RULE -->
2971 <axsl:template match="iosxe-def:snmphost_test/iosxe-def:object" priority="1001" mode="M265">
2972
2973 <!--ASSERT -->
2974 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/iosxe-def:snmphost_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an snmphost_test must reference an snmphost_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M265"/></axsl:template>
2975
2976 <!--RULE -->
2977 <axsl:template match="iosxe-def:snmphost_test/iosxe-def:state" priority="1000" mode="M265">
2978
2979 <!--ASSERT -->
2980 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/iosxe-def:snmphost_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an snmphost_test must reference an snmphost_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M265"/></axsl:template><axsl:template match="text()" priority="-1" mode="M265"/><axsl:template match="@*|node()" priority="-2" mode="M265"><axsl:apply-templates select="@*|*" mode="M265"/></axsl:template>
2981
2982 <!--PATTERN iosxe-def_snmphost_object_verify_filter_state-->
2983
2984
2985 <!--RULE -->
2986 <axsl:template match="iosxe-def:snmphost_object//oval-def:filter" priority="1000" mode="M266"><axsl:variable name="parent_object" select="ancestor::iosxe-def:snmphost_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
2987
2988 <!--ASSERT -->
2989 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#iosxe') and ($state_name='snmphost_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M266"/></axsl:template><axsl:template match="text()" priority="-1" mode="M266"/><axsl:template match="@*|node()" priority="-2" mode="M266"><axsl:apply-templates select="@*|*" mode="M266"/></axsl:template>
2990
2991 <!--PATTERN iosxe-def_communitytst-->
2992
2993
2994 <!--RULE -->
2995 <axsl:template match="iosxe-def:snmpcommunity_test/iosxe-def:object" priority="1001" mode="M267">
2996
2997 <!--ASSERT -->
2998 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/iosxe-def:snmpcommunity_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an snmpcommunity_test must reference an snmpcommunity_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M267"/></axsl:template>
2999
3000 <!--RULE -->
3001 <axsl:template match="iosxe-def:snmpcommunity_test/iosxe-def:state" priority="1000" mode="M267">
3002
3003 <!--ASSERT -->
3004 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/iosxe-def:snmpcommunity_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an snmpcommunity_test must reference an snmpcommunity_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M267"/></axsl:template><axsl:template match="text()" priority="-1" mode="M267"/><axsl:template match="@*|node()" priority="-2" mode="M267"><axsl:apply-templates select="@*|*" mode="M267"/></axsl:template>
3005
3006 <!--PATTERN iosxe-def_snmpcommunity_object_verify_filter_state-->
3007
3008
3009 <!--RULE -->
3010 <axsl:template match="iosxe-def:snmpcommunity_object//oval-def:filter" priority="1000" mode="M268"><axsl:variable name="parent_object" select="ancestor::iosxe-def:snmpcommunity_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
3011
3012 <!--ASSERT -->
3013 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#iosxe') and ($state_name='snmpcommunity_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M268"/></axsl:template><axsl:template match="text()" priority="-1" mode="M268"/><axsl:template match="@*|node()" priority="-2" mode="M268"><axsl:apply-templates select="@*|*" mode="M268"/></axsl:template>
3014
3015 <!--PATTERN iosxe-def_usertst-->
3016
3017
3018 <!--RULE -->
3019 <axsl:template match="iosxe-def:snmpuser_test/iosxe-def:object" priority="1001" mode="M269">
3020
3021 <!--ASSERT -->
3022 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/iosxe-def:snmpuser_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an snmpuser_test must reference an snmpuser_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M269"/></axsl:template>
3023
3024 <!--RULE -->
3025 <axsl:template match="iosxe-def:snmpuser_test/iosxe-def:state" priority="1000" mode="M269">
3026
3027 <!--ASSERT -->
3028 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/iosxe-def:snmpuser_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an snmpuser_test must reference an snmpuser_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M269"/></axsl:template><axsl:template match="text()" priority="-1" mode="M269"/><axsl:template match="@*|node()" priority="-2" mode="M269"><axsl:apply-templates select="@*|*" mode="M269"/></axsl:template>
3029
3030 <!--PATTERN iosxe-def_snmpuser_object_verify_filter_state-->
3031
3032
3033 <!--RULE -->
3034 <axsl:template match="iosxe-def:snmpuser_object//oval-def:filter" priority="1000" mode="M270"><axsl:variable name="parent_object" select="ancestor::iosxe-def:snmpuser_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
3035
3036 <!--ASSERT -->
3037 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#iosxe') and ($state_name='snmpuser_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M270"/></axsl:template><axsl:template match="text()" priority="-1" mode="M270"/><axsl:template match="@*|node()" priority="-2" mode="M270"><axsl:apply-templates select="@*|*" mode="M270"/></axsl:template>
3038
3039 <!--PATTERN iosxe-def_grouptst-->
3040
3041
3042 <!--RULE -->
3043 <axsl:template match="iosxe-def:snmpgroup_test/iosxe-def:object" priority="1001" mode="M271">
3044
3045 <!--ASSERT -->
3046 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/iosxe-def:snmpgroup_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an snmpgroup_test must reference an snmpgroup_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M271"/></axsl:template>
3047
3048 <!--RULE -->
3049 <axsl:template match="iosxe-def:snmpgroup_test/iosxe-def:state" priority="1000" mode="M271">
3050
3051 <!--ASSERT -->
3052 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/iosxe-def:snmpgroup_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an snmpgroup_test must reference an snmpgroup_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M271"/></axsl:template><axsl:template match="text()" priority="-1" mode="M271"/><axsl:template match="@*|node()" priority="-2" mode="M271"><axsl:apply-templates select="@*|*" mode="M271"/></axsl:template>
3053
3054 <!--PATTERN iosxe-def_snmpgroup_object_verify_filter_state-->
3055
3056
3057 <!--RULE -->
3058 <axsl:template match="iosxe-def:snmpgroup_object//oval-def:filter" priority="1000" mode="M272"><axsl:variable name="parent_object" select="ancestor::iosxe-def:snmpgroup_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
3059
3060 <!--ASSERT -->
3061 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#iosxe') and ($state_name='snmpgroup_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M272"/></axsl:template><axsl:template match="text()" priority="-1" mode="M272"/><axsl:template match="@*|node()" priority="-2" mode="M272"><axsl:apply-templates select="@*|*" mode="M272"/></axsl:template>
3062
3063 <!--PATTERN iosxe-def_viewtst-->
3064
3065
3066 <!--RULE -->
3067 <axsl:template match="iosxe-def:snmpview_test/iosxe-def:object" priority="1001" mode="M273">
3068
3069 <!--ASSERT -->
3070 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/iosxe-def:snmpview_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an snmpview_test must reference an snmpview_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M273"/></axsl:template>
3071
3072 <!--RULE -->
3073 <axsl:template match="iosxe-def:snmpview_test/iosxe-def:state" priority="1000" mode="M273">
3074
3075 <!--ASSERT -->
3076 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/iosxe-def:snmpview_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an snmpview_test must reference an snmpview_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M273"/></axsl:template><axsl:template match="text()" priority="-1" mode="M273"/><axsl:template match="@*|node()" priority="-2" mode="M273"><axsl:apply-templates select="@*|*" mode="M273"/></axsl:template>
3077
3078 <!--PATTERN iosxe-def_snmpview_object_verify_filter_state-->
3079
3080
3081 <!--RULE -->
3082 <axsl:template match="iosxe-def:snmpview_object//oval-def:filter" priority="1000" mode="M274"><axsl:variable name="parent_object" select="ancestor::iosxe-def:snmpview_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
3083
3084 <!--ASSERT -->
3085 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#iosxe') and ($state_name='snmpview_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M274"/></axsl:template><axsl:template match="text()" priority="-1" mode="M274"/><axsl:template match="@*|node()" priority="-2" mode="M274"><axsl:apply-templates select="@*|*" mode="M274"/></axsl:template>
3086
3087 <!--PATTERN iosxe-def_sratst_null_value_dep-->
3088
3089
3090 <!--RULE -->
3091 <axsl:template match="oval-def:oval_definitions/oval-def:states/iosxe-def:routingprotocolauthintf_state/iosxe-def:auth_type" priority="1000" mode="M275">
3092
3093 <!--REPORT -->
3094 <axsl:if test=".='NULL'">
3095 DEPRECATED ELEMENT VALUE IN: routingprotocolauthintf_state ELEMENT VALUE: <axsl:text/><axsl:value-of select="."/><axsl:text/>
3096 <axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M275"/></axsl:template><axsl:template match="text()" priority="-1" mode="M275"/><axsl:template match="@*|node()" priority="-2" mode="M275"><axsl:apply-templates select="@*|*" mode="M275"/></axsl:template>
3097
3098 <!--PATTERN iosxe-def_salut_none_value_dep-->
3099
3100
3101 <!--RULE -->
3102 <axsl:template match="oval-def:oval_definitions/oval-def:states/iosxe-def:acl_state/iosxe-def:use" priority="1000" mode="M276">
3103
3104 <!--REPORT -->
3105 <axsl:if test=".='NONE'">
3106 DEPRECATED ELEMENT VALUE IN: acl_state ELEMENT VALUE: <axsl:text/><axsl:value-of select="."/><axsl:text/>
3107 <axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M276"/></axsl:template><axsl:template match="text()" priority="-1" mode="M276"/><axsl:template match="@*|node()" priority="-2" mode="M276"><axsl:apply-templates select="@*|*" mode="M276"/></axsl:template>
3108
3109 <!--PATTERN junos-def_xmlconfigtst-->
3110
3111
3112 <!--RULE -->
3113 <axsl:template match="junos-def:xml_config_test/junos-def:object" priority="1001" mode="M277">
3114
3115 <!--ASSERT -->
3116 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/junos-def:xml_config_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a xml_config_test must reference a xml_config_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M277"/></axsl:template>
3117
3118 <!--RULE -->
3119 <axsl:template match="junos-def:xml_config_test/junos-def:state" priority="1000" mode="M277">
3120
3121 <!--ASSERT -->
3122 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/junos-def:xml_config_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a xml_config_test must reference a xml_config_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M277"/></axsl:template><axsl:template match="text()" priority="-1" mode="M277"/><axsl:template match="@*|node()" priority="-2" mode="M277"><axsl:apply-templates select="@*|*" mode="M277"/></axsl:template>
3123
3124 <!--PATTERN junos-def_xml_config_object_verify_filter_state-->
3125
3126
3127 <!--RULE -->
3128 <axsl:template match="junos-def:xml_config_object//oval-def:filter" priority="1000" mode="M278"><axsl:variable name="parent_object" select="ancestor::junos-def:xml_config_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
3129
3130 <!--ASSERT -->
3131 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#junos') and ($state_name='config_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M278"/></axsl:template><axsl:template match="text()" priority="-1" mode="M278"/><axsl:template match="@*|node()" priority="-2" mode="M278"><axsl:apply-templates select="@*|*" mode="M278"/></axsl:template>
3132
3133 <!--PATTERN junos-def_xmlconfigobjxpath-->
3134
3135
3136 <!--RULE -->
3137 <axsl:template match="junos-def:xml_config_object/junos-def:xpath" priority="1000" mode="M279">
3138
3139 <!--ASSERT -->
3140 <axsl:choose><axsl:when test="not(@operation) or @operation='equals'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - operation attribute for the xpath entity of a xml_config_object should be 'equals', note that this overrules the general operation attribute validation (i.e. follow this one)<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M279"/></axsl:template><axsl:template match="text()" priority="-1" mode="M279"/><axsl:template match="@*|node()" priority="-2" mode="M279"><axsl:apply-templates select="@*|*" mode="M279"/></axsl:template>
3141
3142 <!--PATTERN junos-def_show_object_verify_filter_state-->
3143
3144
3145 <!--RULE -->
3146 <axsl:template match="junos-def:show_object//oval-def:filter" priority="1000" mode="M280"><axsl:variable name="parent_object" select="ancestor::junos-def:show_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
3147
3148 <!--ASSERT -->
3149 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#junos') and ($state_name='show_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M280"/></axsl:template><axsl:template match="text()" priority="-1" mode="M280"/><axsl:template match="@*|node()" priority="-2" mode="M280"><axsl:apply-templates select="@*|*" mode="M280"/></axsl:template>
3150
3151 <!--PATTERN junos-def_version_object_verify_filter_state-->
3152
3153
3154 <!--RULE -->
3155 <axsl:template match="junos-def:version_object//oval-def:filter" priority="1000" mode="M281"><axsl:variable name="parent_object" select="ancestor::junos-def:version_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
3156
3157 <!--ASSERT -->
3158 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#junos') and ($state_name='version_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M281"/></axsl:template><axsl:template match="text()" priority="-1" mode="M281"/><axsl:template match="@*|node()" priority="-2" mode="M281"><axsl:apply-templates select="@*|*" mode="M281"/></axsl:template>
3159
3160 <!--PATTERN junos-def_xml_show_object_verify_filter_state-->
3161
3162
3163 <!--RULE -->
3164 <axsl:template match="junos-def:xml_show_object//oval-def:filter" priority="1000" mode="M282"><axsl:variable name="parent_object" select="ancestor::junos-def:xml_show_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
3165
3166 <!--ASSERT -->
3167 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#junos') and ($state_name='xml_show_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M282"/></axsl:template><axsl:template match="text()" priority="-1" mode="M282"/><axsl:template match="@*|node()" priority="-2" mode="M282"><axsl:apply-templates select="@*|*" mode="M282"/></axsl:template>
3168
3169 <!--PATTERN junos-def_xml_showobjxpath-->
3170
3171
3172 <!--RULE -->
3173 <axsl:template match="junos-def:xml_show_object/junos-def:xpath" priority="1000" mode="M283">
3174
3175 <!--ASSERT -->
3176 <axsl:choose><axsl:when test="not(@operation) or @operation='equals'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - operation attribute for the xpath entity of a xml_show_object should be 'equals', note that this overrules the general operation attribute validation (i.e. follow this one)<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M283"/></axsl:template><axsl:template match="text()" priority="-1" mode="M283"/><axsl:template match="@*|node()" priority="-2" mode="M283"><axsl:apply-templates select="@*|*" mode="M283"/></axsl:template>
3177
3178 <!--PATTERN suse-def_apparmorstatus_tst-->
3179
3180
3181 <!--RULE -->
3182 <axsl:template match="linux-def:apparmorstatus_test/linux-def:object" priority="1001" mode="M284">
3183
3184 <!--ASSERT -->
3185 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/linux-def:apparmorstatus_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a apparmorstatus_test must reference a apparmorstatus_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M284"/></axsl:template>
3186
3187 <!--RULE -->
3188 <axsl:template match="linux-def:apparmorstatus_test/linux-def:state" priority="1000" mode="M284">
3189
3190 <!--ASSERT -->
3191 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/linux-def:apparmorstatus_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a apparmorstatustest must reference a apparmorstatus_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M284"/></axsl:template><axsl:template match="text()" priority="-1" mode="M284"/><axsl:template match="@*|node()" priority="-2" mode="M284"><axsl:apply-templates select="@*|*" mode="M284"/></axsl:template>
3192
3193 <!--PATTERN linux-def_dpkginfo_test-->
3194
3195
3196 <!--RULE -->
3197 <axsl:template match="linux-def:dpkginfo_test/linux-def:object" priority="1001" mode="M285">
3198
3199 <!--ASSERT -->
3200 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/linux-def:dpkginfo_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an dpkginfo_test must reference an dpkginfo_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M285"/></axsl:template>
3201
3202 <!--RULE -->
3203 <axsl:template match="linux-def:dpkginfo_test/linux-def:state" priority="1000" mode="M285">
3204
3205 <!--ASSERT -->
3206 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/linux-def:dpkginfo_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an dpkginfo_test must reference an dpkginfo_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M285"/></axsl:template><axsl:template match="text()" priority="-1" mode="M285"/><axsl:template match="@*|node()" priority="-2" mode="M285"><axsl:apply-templates select="@*|*" mode="M285"/></axsl:template>
3207
3208 <!--PATTERN linux-def_dpkginfo_object_verify_filter_state-->
3209
3210
3211 <!--RULE -->
3212 <axsl:template match="linux-def:dpkginfo_object//oval-def:filter" priority="1000" mode="M286"><axsl:variable name="parent_object" select="ancestor::linux-def:dpkginfo_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
3213
3214 <!--ASSERT -->
3215 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#linux') and ($state_name='dpkginfo_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M286"/></axsl:template><axsl:template match="text()" priority="-1" mode="M286"/><axsl:template match="@*|node()" priority="-2" mode="M286"><axsl:apply-templates select="@*|*" mode="M286"/></axsl:template>
3216
3217 <!--PATTERN linux-def_dpkginfosteevr_id-->
3218
3219
3220 <!--RULE -->
3221 <axsl:template match="linux-def:dpkginfo_state/linux-def:evr" priority="1000" mode="M287">
3222
3223 <!--REPORT -->
3224 <axsl:if test="@datatype='evr_string'"><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> Warning: There are differences in the algorithms for how the version strings of Debian and RPM packages are compared. As a result, a new debian_evr_string datatype was added to the OVAL Language and should be used, for this entity, instead of the evr_string datatype.<axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M287"/></axsl:template><axsl:template match="text()" priority="-1" mode="M287"/><axsl:template match="@*|node()" priority="-2" mode="M287"><axsl:apply-templates select="@*|*" mode="M287"/></axsl:template>
3225
3226 <!--PATTERN linux-def_iflisteners_test-->
3227
3228
3229 <!--RULE -->
3230 <axsl:template match="linux-def:iflisteners_test/linux-def:object" priority="1001" mode="M288">
3231
3232 <!--ASSERT -->
3233 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/linux-def:iflisteners_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an iflisteners_test must reference an iflisteners_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M288"/></axsl:template>
3234
3235 <!--RULE -->
3236 <axsl:template match="linux-def:iflisteners_test/linux-def:state" priority="1000" mode="M288">
3237
3238 <!--ASSERT -->
3239 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/linux-def:iflisteners_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an iflisteners_test must reference an iflisteners_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M288"/></axsl:template><axsl:template match="text()" priority="-1" mode="M288"/><axsl:template match="@*|node()" priority="-2" mode="M288"><axsl:apply-templates select="@*|*" mode="M288"/></axsl:template>
3240
3241 <!--PATTERN linux-def_iflisteners_object_verify_filter_state-->
3242
3243
3244 <!--RULE -->
3245 <axsl:template match="linux-def:iflisteners_object//oval-def:filter" priority="1000" mode="M289"><axsl:variable name="parent_object" select="ancestor::linux-def:iflisteners_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
3246
3247 <!--ASSERT -->
3248 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#linux') and ($state_name='iflisteners_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M289"/></axsl:template><axsl:template match="text()" priority="-1" mode="M289"/><axsl:template match="@*|node()" priority="-2" mode="M289"><axsl:apply-templates select="@*|*" mode="M289"/></axsl:template>
3249
3250 <!--PATTERN linux-def_inetlisteningservers_test-->
3251
3252
3253 <!--RULE -->
3254 <axsl:template match="linux-def:inetlisteningservers_test/linux-def:object" priority="1001" mode="M290">
3255
3256 <!--ASSERT -->
3257 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/linux-def:inetlisteningservers_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an inetlisteningservers_test must reference an inetlisteningservers_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M290"/></axsl:template>
3258
3259 <!--RULE -->
3260 <axsl:template match="linux-def:inetlisteningservers_test/linux-def:state" priority="1000" mode="M290">
3261
3262 <!--ASSERT -->
3263 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/linux-def:inetlisteningservers_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an inetlisteningservers_test must reference an inetlisteningservers_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M290"/></axsl:template><axsl:template match="text()" priority="-1" mode="M290"/><axsl:template match="@*|node()" priority="-2" mode="M290"><axsl:apply-templates select="@*|*" mode="M290"/></axsl:template>
3264
3265 <!--PATTERN linux-def_inetlisteningservers_object_verify_filter_state-->
3266
3267
3268 <!--RULE -->
3269 <axsl:template match="linux-def:inetlisteningservers_object//oval-def:filter" priority="1000" mode="M291"><axsl:variable name="parent_object" select="ancestor::linux-def:inetlisteningservers_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
3270
3271 <!--ASSERT -->
3272 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#linux') and ($state_name='inetlisteningservers_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M291"/></axsl:template><axsl:template match="text()" priority="-1" mode="M291"/><axsl:template match="@*|node()" priority="-2" mode="M291"><axsl:apply-templates select="@*|*" mode="M291"/></axsl:template>
3273
3274 <!--PATTERN linux-def_partitiontst-->
3275
3276
3277 <!--RULE -->
3278 <axsl:template match="linux-def:partition_test/linux-def:object" priority="1001" mode="M292">
3279
3280 <!--ASSERT -->
3281 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/linux-def:partition_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a partition_test must reference a partition_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M292"/></axsl:template>
3282
3283 <!--RULE -->
3284 <axsl:template match="linux-def:partition_test/linux-def:state" priority="1000" mode="M292">
3285
3286 <!--ASSERT -->
3287 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/linux-def:partition_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a partition_test must reference a partition_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M292"/></axsl:template><axsl:template match="text()" priority="-1" mode="M292"/><axsl:template match="@*|node()" priority="-2" mode="M292"><axsl:apply-templates select="@*|*" mode="M292"/></axsl:template>
3288
3289 <!--PATTERN linux-def_partition_object_verify_filter_state-->
3290
3291
3292 <!--RULE -->
3293 <axsl:template match="linux-def:partition_object//oval-def:filter" priority="1000" mode="M293"><axsl:variable name="parent_object" select="ancestor::linux-def:partition_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
3294
3295 <!--ASSERT -->
3296 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#linux') and ($state_name='partition_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M293"/></axsl:template><axsl:template match="text()" priority="-1" mode="M293"/><axsl:template match="@*|node()" priority="-2" mode="M293"><axsl:apply-templates select="@*|*" mode="M293"/></axsl:template>
3297
3298 <!--PATTERN linux-def_rpminfo_test-->
3299
3300
3301 <!--RULE -->
3302 <axsl:template match="linux-def:rpminfo_test/linux-def:object" priority="1001" mode="M294">
3303
3304 <!--ASSERT -->
3305 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/linux-def:rpminfo_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an rpminfo_test must reference an rpminfo_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M294"/></axsl:template>
3306
3307 <!--RULE -->
3308 <axsl:template match="linux-def:rpminfo_test/linux-def:state" priority="1000" mode="M294">
3309
3310 <!--ASSERT -->
3311 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/linux-def:rpminfo_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an rpminfo_test must reference an rpminfo_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M294"/></axsl:template><axsl:template match="text()" priority="-1" mode="M294"/><axsl:template match="@*|node()" priority="-2" mode="M294"><axsl:apply-templates select="@*|*" mode="M294"/></axsl:template>
3312
3313 <!--PATTERN linux-def_rpminfo_object_verify_filter_state-->
3314
3315
3316 <!--RULE -->
3317 <axsl:template match="linux-def:rpminfo_object//oval-def:filter" priority="1000" mode="M295"><axsl:variable name="parent_object" select="ancestor::linux-def:rpminfo_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
3318
3319 <!--ASSERT -->
3320 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#linux') and ($state_name='rpminfo_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M295"/></axsl:template><axsl:template match="text()" priority="-1" mode="M295"/><axsl:template match="@*|node()" priority="-2" mode="M295"><axsl:apply-templates select="@*|*" mode="M295"/></axsl:template>
3321
3322 <!--PATTERN linux-def_rpmverifytst_dep-->
3323
3324
3325 <!--RULE -->
3326 <axsl:template match="linux-def:rpmverify_test" priority="1000" mode="M296">
3327
3328 <!--REPORT -->
3329 <axsl:if test="true()">DEPRECATED TEST: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M296"/></axsl:template><axsl:template match="text()" priority="-1" mode="M296"/><axsl:template match="@*|node()" priority="-2" mode="M296"><axsl:apply-templates select="@*|*" mode="M296"/></axsl:template>
3330
3331 <!--PATTERN linux-def_rpmverify_test-->
3332
3333
3334 <!--RULE -->
3335 <axsl:template match="linux-def:rpmverify_test/linux-def:object" priority="1001" mode="M297">
3336
3337 <!--ASSERT -->
3338 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/linux-def:rpmverify_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an rpmverify_test must reference an rpmverify_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M297"/></axsl:template>
3339
3340 <!--RULE -->
3341 <axsl:template match="linux-def:rpmverify_test/linux-def:state" priority="1000" mode="M297">
3342
3343 <!--ASSERT -->
3344 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/linux-def:rpmverify_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an rpmverify_test must reference an rpmverify_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M297"/></axsl:template><axsl:template match="text()" priority="-1" mode="M297"/><axsl:template match="@*|node()" priority="-2" mode="M297"><axsl:apply-templates select="@*|*" mode="M297"/></axsl:template>
3345
3346 <!--PATTERN linux-def_rpmverify_object_verify_filter_state-->
3347
3348
3349 <!--RULE -->
3350 <axsl:template match="linux-def:rpmverify_object//oval-def:filter" priority="1000" mode="M298"><axsl:variable name="parent_object" select="ancestor::linux-def:rpmverify_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
3351
3352 <!--ASSERT -->
3353 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#linux') and ($state_name='rpmverify_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M298"/></axsl:template><axsl:template match="text()" priority="-1" mode="M298"/><axsl:template match="@*|node()" priority="-2" mode="M298"><axsl:apply-templates select="@*|*" mode="M298"/></axsl:template>
3354
3355 <!--PATTERN linux-def_rpmverifyobj_dep-->
3356
3357
3358 <!--RULE -->
3359 <axsl:template match="linux-def:rpmverify_object" priority="1000" mode="M299">
3360
3361 <!--REPORT -->
3362 <axsl:if test="true()">DEPRECATED OBJECT: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M299"/></axsl:template><axsl:template match="text()" priority="-1" mode="M299"/><axsl:template match="@*|node()" priority="-2" mode="M299"><axsl:apply-templates select="@*|*" mode="M299"/></axsl:template>
3363
3364 <!--PATTERN linux-def_rpmverifyste_dep-->
3365
3366
3367 <!--RULE -->
3368 <axsl:template match="linux-def:rpmverify_state" priority="1000" mode="M300">
3369
3370 <!--REPORT -->
3371 <axsl:if test="true()">DEPRECATED STATE: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M300"/></axsl:template><axsl:template match="text()" priority="-1" mode="M300"/><axsl:template match="@*|node()" priority="-2" mode="M300"><axsl:apply-templates select="@*|*" mode="M300"/></axsl:template>
3372
3373 <!--PATTERN linux-def_rpmverifyfile_test-->
3374
3375
3376 <!--RULE -->
3377 <axsl:template match="linux-def:rpmverifyfile_test/linux-def:object" priority="1001" mode="M301">
3378
3379 <!--ASSERT -->
3380 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/linux-def:rpmverifyfile_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an rpmverifyfile_test must reference an rpmverifyfile_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M301"/></axsl:template>
3381
3382 <!--RULE -->
3383 <axsl:template match="linux-def:rpmverifyfile_test/linux-def:state" priority="1000" mode="M301">
3384
3385 <!--ASSERT -->
3386 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/linux-def:rpmverifyfile_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an rpmverifyfile_test must reference an rpmverifyfile_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M301"/></axsl:template><axsl:template match="text()" priority="-1" mode="M301"/><axsl:template match="@*|node()" priority="-2" mode="M301"><axsl:apply-templates select="@*|*" mode="M301"/></axsl:template>
3387
3388 <!--PATTERN linux-def_rpmverifyfile_object_verify_filter_state-->
3389
3390
3391 <!--RULE -->
3392 <axsl:template match="linux-def:rpmverifyfile_object//oval-def:filter" priority="1000" mode="M302"><axsl:variable name="parent_object" select="ancestor::linux-def:rpmverifyfile_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
3393
3394 <!--ASSERT -->
3395 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#linux') and ($state_name='rpmverifyfile_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M302"/></axsl:template><axsl:template match="text()" priority="-1" mode="M302"/><axsl:template match="@*|node()" priority="-2" mode="M302"><axsl:apply-templates select="@*|*" mode="M302"/></axsl:template>
3396
3397 <!--PATTERN linux-def_rpmverifypackage_test-->
3398
3399
3400 <!--RULE -->
3401 <axsl:template match="linux-def:rpmverifypackage_test/linux-def:object" priority="1001" mode="M303">
3402
3403 <!--ASSERT -->
3404 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/linux-def:rpmverifypackage_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an rpmverifypackage_test must reference an rpmverifypackage_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M303"/></axsl:template>
3405
3406 <!--RULE -->
3407 <axsl:template match="linux-def:rpmverifypackage_test/linux-def:state" priority="1000" mode="M303">
3408
3409 <!--ASSERT -->
3410 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/linux-def:rpmverifypackage_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an rpmverifypackage_test must reference an rpmverifypackage_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M303"/></axsl:template><axsl:template match="text()" priority="-1" mode="M303"/><axsl:template match="@*|node()" priority="-2" mode="M303"><axsl:apply-templates select="@*|*" mode="M303"/></axsl:template>
3411
3412 <!--PATTERN linux-def_rpmverifypackage_object_verify_filter_state-->
3413
3414
3415 <!--RULE -->
3416 <axsl:template match="linux-def:rpmverifypackage_object//oval-def:filter" priority="1000" mode="M304"><axsl:variable name="parent_object" select="ancestor::linux-def:rpmverifypackage_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
3417
3418 <!--ASSERT -->
3419 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#linux') and ($state_name='rpmverifypackage_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M304"/></axsl:template><axsl:template match="text()" priority="-1" mode="M304"/><axsl:template match="@*|node()" priority="-2" mode="M304"><axsl:apply-templates select="@*|*" mode="M304"/></axsl:template>
3420
3421 <!--PATTERN linux-def_rpmverifypackage_dicp_dep-->
3422
3423
3424 <!--RULE -->
3425 <axsl:template match="linux-def:rpmverifypackage_state/linux-def:digest_check_passed" priority="1000" mode="M305">
3426
3427 <!--REPORT -->
3428 <axsl:if test="true()">DEPRECATED ELEMENT: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="../@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M305"/></axsl:template><axsl:template match="text()" priority="-1" mode="M305"/><axsl:template match="@*|node()" priority="-2" mode="M305"><axsl:apply-templates select="@*|*" mode="M305"/></axsl:template>
3429
3430 <!--PATTERN linux-def_rpmverifypackage_scp_dep-->
3431
3432
3433 <!--RULE -->
3434 <axsl:template match="linux-def:rpmverifypackage_state/linux-def:signature_check_passed" priority="1000" mode="M306">
3435
3436 <!--REPORT -->
3437 <axsl:if test="true()">DEPRECATED ELEMENT: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="../@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M306"/></axsl:template><axsl:template match="text()" priority="-1" mode="M306"/><axsl:template match="@*|node()" priority="-2" mode="M306"><axsl:apply-templates select="@*|*" mode="M306"/></axsl:template>
3438
3439 <!--PATTERN linux-def_rpmverifypackage_nodi_beh_dep-->
3440
3441
3442 <!--RULE -->
3443 <axsl:template match="linux-def:rpmverifypackage_object/linux-def:behaviors/@nodigest" priority="1000" mode="M307">
3444
3445 <!--REPORT -->
3446 <axsl:if test="true()">DEPRECATED BEHAVIOR: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="../../@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M307"/></axsl:template><axsl:template match="text()" priority="-1" mode="M307"/><axsl:template match="@*|node()" priority="-2" mode="M307"><axsl:apply-templates select="@*|*" mode="M307"/></axsl:template>
3447
3448 <!--PATTERN linux-def_rpmverifypackage_nosi_beh_dep-->
3449
3450
3451 <!--RULE -->
3452 <axsl:template match="linux-def:rpmverifypackage_object/linux-def:behaviors/@nosignature" priority="1000" mode="M308">
3453
3454 <!--REPORT -->
3455 <axsl:if test="true()">DEPRECATED BEHAVIOR: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="../../@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M308"/></axsl:template><axsl:template match="text()" priority="-1" mode="M308"/><axsl:template match="@*|node()" priority="-2" mode="M308"><axsl:apply-templates select="@*|*" mode="M308"/></axsl:template>
3456
3457 <!--PATTERN linux-def_selinuxbooleantst-->
3458
3459
3460 <!--RULE -->
3461 <axsl:template match="linux-def:selinuxboolean_test/linux-def:object" priority="1001" mode="M309">
3462
3463 <!--ASSERT -->
3464 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/linux-def:selinuxboolean_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an selinuxboolean_test must reference an selinuxboolean_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M309"/></axsl:template>
3465
3466 <!--RULE -->
3467 <axsl:template match="linux-def:selinuxboolean_test/linux-def:state" priority="1000" mode="M309">
3468
3469 <!--ASSERT -->
3470 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/linux-def:selinuxboolean_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an selinuxboolean_test must reference an selinuxboolean_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M309"/></axsl:template><axsl:template match="text()" priority="-1" mode="M309"/><axsl:template match="@*|node()" priority="-2" mode="M309"><axsl:apply-templates select="@*|*" mode="M309"/></axsl:template>
3471
3472 <!--PATTERN linux-def_selinuxboolean_object_verify_filter_state-->
3473
3474
3475 <!--RULE -->
3476 <axsl:template match="linux-def:selinuxboolean_object//oval-def:filter" priority="1000" mode="M310"><axsl:variable name="parent_object" select="ancestor::linux-def:selinuxboolean_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
3477
3478 <!--ASSERT -->
3479 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#linux') and ($state_name='selinuxboolean_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M310"/></axsl:template><axsl:template match="text()" priority="-1" mode="M310"/><axsl:template match="@*|node()" priority="-2" mode="M310"><axsl:apply-templates select="@*|*" mode="M310"/></axsl:template>
3480
3481 <!--PATTERN linux-def_selinuxsecuritycontexttst-->
3482
3483
3484 <!--RULE -->
3485 <axsl:template match="linux-def:selinuxsecuritycontext_test/linux-def:object" priority="1001" mode="M311">
3486
3487 <!--ASSERT -->
3488 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/linux-def:selinuxsecuritycontext_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an selinuxsecuritycontext_test must reference an selinuxsecuritycontext_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M311"/></axsl:template>
3489
3490 <!--RULE -->
3491 <axsl:template match="linux-def:selinuxsecuritycontext_test/linux-def:state" priority="1000" mode="M311">
3492
3493 <!--ASSERT -->
3494 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/linux-def:selinuxsecuritycontext_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an selinuxsecuritycontext_test must reference an selinuxsecuritycontext_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M311"/></axsl:template><axsl:template match="text()" priority="-1" mode="M311"/><axsl:template match="@*|node()" priority="-2" mode="M311"><axsl:apply-templates select="@*|*" mode="M311"/></axsl:template>
3495
3496 <!--PATTERN linux-def_selinuxsecuritycontext_object_verify_filter_state-->
3497
3498
3499 <!--RULE -->
3500 <axsl:template match="linux-def:selinuxsecuritycontext_object//oval-def:filter" priority="1000" mode="M312"><axsl:variable name="parent_object" select="ancestor::linux-def:selinuxsecuritycontext_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
3501
3502 <!--ASSERT -->
3503 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#linux') and ($state_name='selinuxsecuritycontext_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M312"/></axsl:template><axsl:template match="text()" priority="-1" mode="M312"/><axsl:template match="@*|node()" priority="-2" mode="M312"><axsl:apply-templates select="@*|*" mode="M312"/></axsl:template>
3504
3505 <!--PATTERN linux-def_selinuxsecuritycontext_objectfilepath-->
3506
3507
3508 <!--RULE -->
3509 <axsl:template match="linux-def:selinuxsecuritycontext_object/linux-def:filepath" priority="1000" mode="M313">
3510
3511 <!--ASSERT -->
3512 <axsl:choose><axsl:when test="not(preceding-sibling::linux-def:behaviors[@max_depth or @recurse or @recurse_direction])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the max_depth, recurse, and recurse_direction behaviors are not allowed with a filepath entity<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M313"/></axsl:template><axsl:template match="text()" priority="-1" mode="M313"/><axsl:template match="@*|node()" priority="-2" mode="M313"><axsl:apply-templates select="@*|*" mode="M313"/></axsl:template>
3513
3514 <!--PATTERN linux-def_selinuxsecuritycontext_objectfilepath2-->
3515
3516
3517 <!--RULE -->
3518 <axsl:template match="linux-def:selinuxsecuritycontext_object/linux-def:filepath[not(@operation='equals' or not(@operation))]" priority="1000" mode="M314">
3519
3520 <!--ASSERT -->
3521 <axsl:choose><axsl:when test="not(preceding-sibling::linux-def:behaviors[@recurse_file_system='defined'])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_file_system behavior MUST not be set to 'defined' when a pattern match is used with a filepath entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M314"/></axsl:template><axsl:template match="text()" priority="-1" mode="M314"/><axsl:template match="@*|node()" priority="-2" mode="M314"><axsl:apply-templates select="@*|*" mode="M314"/></axsl:template>
3522
3523 <!--PATTERN linux-def_selinuxsecuritycontext_objectpath-->
3524
3525
3526 <!--RULE -->
3527 <axsl:template match="linux-def:selinuxsecuritycontext_object/linux-def:path[not(@operation='equals' or not(@operation))]" priority="1000" mode="M315">
3528
3529 <!--ASSERT -->
3530 <axsl:choose><axsl:when test="not(preceding-sibling::linux-def:behaviors[@recurse_file_system='defined'])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_file_system behavior MUST not be set to 'defined' when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
3531
3532 <!--ASSERT -->
3533 <axsl:choose><axsl:when test="not(preceding-sibling::linux-def:behaviors[@max_depth])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the max_depth behavior MUST not be used when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
3534
3535 <!--ASSERT -->
3536 <axsl:choose><axsl:when test="not(preceding-sibling::linux-def:behaviors[@recurse_direction])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_direction behavior MUST not be used when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
3537
3538 <!--ASSERT -->
3539 <axsl:choose><axsl:when test="not(preceding-sibling::linux-def:behaviors[@recurse])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse behavior MUST not be used when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M315"/></axsl:template><axsl:template match="text()" priority="-1" mode="M315"/><axsl:template match="@*|node()" priority="-2" mode="M315"><axsl:apply-templates select="@*|*" mode="M315"/></axsl:template>
3540
3541 <!--PATTERN linux-def_selinuxsecuritycontext_objectfilename-->
3542
3543
3544 <!--RULE -->
3545 <axsl:template match="linux-def:selinuxsecuritycontext_object/linux-def:filename" priority="1000" mode="M316">
3546
3547 <!--ASSERT -->
3548 <axsl:choose><axsl:when test="(@var_ref and .='') or ((@xsi:nil='1' or @xsi:nil='true') and .='') or not(.='') or (.='' and @operation = 'pattern match')"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - filename entity cannot be empty unless the xsi:nil attribute is set to true or a var_ref is used<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M316"/></axsl:template><axsl:template match="text()" priority="-1" mode="M316"/><axsl:template match="@*|node()" priority="-2" mode="M316"><axsl:apply-templates select="@*|*" mode="M316"/></axsl:template>
3549
3550 <!--PATTERN linux-def_slackwarepkginfo_test-->
3551
3552
3553 <!--RULE -->
3554 <axsl:template match="linux-def:slackwarepkginfo_test/linux-def:object" priority="1001" mode="M317">
3555
3556 <!--ASSERT -->
3557 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/linux-def:slackwarepkginfo_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an slackwarepkginfo_test must reference an slackwarepkginfo_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M317"/></axsl:template>
3558
3559 <!--RULE -->
3560 <axsl:template match="linux-def:slackwarepkginfo_test/linux-def:state" priority="1000" mode="M317">
3561
3562 <!--ASSERT -->
3563 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/linux-def:slackwarepkginfo_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an slackwarepkginfo_test must reference an slackwarepkginfo_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M317"/></axsl:template><axsl:template match="text()" priority="-1" mode="M317"/><axsl:template match="@*|node()" priority="-2" mode="M317"><axsl:apply-templates select="@*|*" mode="M317"/></axsl:template>
3564
3565 <!--PATTERN linux-def_slackwarepkginfo_object_verify_filter_state-->
3566
3567
3568 <!--RULE -->
3569 <axsl:template match="linux-def:slackwarepkginfo_object//oval-def:filter" priority="1000" mode="M318"><axsl:variable name="parent_object" select="ancestor::linux-def:slackwarepkginfo_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
3570
3571 <!--ASSERT -->
3572 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#linux') and ($state_name='slackwarepkginfo_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M318"/></axsl:template><axsl:template match="text()" priority="-1" mode="M318"/><axsl:template match="@*|node()" priority="-2" mode="M318"><axsl:apply-templates select="@*|*" mode="M318"/></axsl:template>
3573
3574 <!--PATTERN linux-def_systemdunitdependencytst-->
3575
3576
3577 <!--RULE -->
3578 <axsl:template match="linux-def:systemdunitdependency_test/linux-def:object" priority="1001" mode="M319">
3579
3580 <!--ASSERT -->
3581 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/linux-def:systemdunitdependency_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a systemdunitdependency_test must reference a systemdunitdependency_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M319"/></axsl:template>
3582
3583 <!--RULE -->
3584 <axsl:template match="linux-def:systemdunitdependency_test/linux-def:state" priority="1000" mode="M319">
3585
3586 <!--ASSERT -->
3587 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/linux-def:systemdunitdependency_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a systemdunitdependency_test must reference a systemdunitdependency_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M319"/></axsl:template><axsl:template match="text()" priority="-1" mode="M319"/><axsl:template match="@*|node()" priority="-2" mode="M319"><axsl:apply-templates select="@*|*" mode="M319"/></axsl:template>
3588
3589 <!--PATTERN linux-def_object_verify_filter_state-->
3590
3591
3592 <!--RULE -->
3593 <axsl:template match="linux-def:systemdunitdependency_object//oval-def:filter" priority="1000" mode="M320"><axsl:variable name="parent_object" select="ancestor::linux-def:systemdunitdependency_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
3594
3595 <!--ASSERT -->
3596 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#linux') and ($state_name='systemdunitdependency_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M320"/></axsl:template><axsl:template match="text()" priority="-1" mode="M320"/><axsl:template match="@*|node()" priority="-2" mode="M320"><axsl:apply-templates select="@*|*" mode="M320"/></axsl:template>
3597
3598 <!--PATTERN linux-def_systemdunitpropertytst-->
3599
3600
3601 <!--RULE -->
3602 <axsl:template match="linux-def:systemdunitproperty_test/linux-def:object" priority="1001" mode="M321">
3603
3604 <!--ASSERT -->
3605 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/linux-def:systemdunitproperty_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a systemdunitproperty_test must reference a systemdunitproperty_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M321"/></axsl:template>
3606
3607 <!--RULE -->
3608 <axsl:template match="linux-def:systemdunitproperty_test/linux-def:state" priority="1000" mode="M321">
3609
3610 <!--ASSERT -->
3611 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/linux-def:systemdunitproperty_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a systemdunitproperty_test must reference a systemdunitproperty_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M321"/></axsl:template><axsl:template match="text()" priority="-1" mode="M321"/><axsl:template match="@*|node()" priority="-2" mode="M321"><axsl:apply-templates select="@*|*" mode="M321"/></axsl:template>
3612
3613 <!--PATTERN linux-def_systemdunitproperty_object_verify_filter_state-->
3614
3615
3616 <!--RULE -->
3617 <axsl:template match="linux-def:systemdunitproperty_object//oval-def:filter" priority="1000" mode="M322"><axsl:variable name="parent_object" select="ancestor::linux-def:systemdunitproperty_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
3618
3619 <!--ASSERT -->
3620 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#linux') and ($state_name='systemdunitproperty_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M322"/></axsl:template><axsl:template match="text()" priority="-1" mode="M322"/><axsl:template match="@*|node()" priority="-2" mode="M322"><axsl:apply-templates select="@*|*" mode="M322"/></axsl:template>
3621
3622 <!--PATTERN macos-def_accountinfo_test-->
3623
3624
3625 <!--RULE -->
3626 <axsl:template match="macos-def:accountinfo_test/macos-def:object" priority="1001" mode="M323">
3627
3628 <!--ASSERT -->
3629 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/macos-def:accountinfo_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an accountinfo_test must reference an accountinfo_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M323"/></axsl:template>
3630
3631 <!--RULE -->
3632 <axsl:template match="macos-def:accountinfo_test/macos-def:state" priority="1000" mode="M323">
3633
3634 <!--ASSERT -->
3635 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/macos-def:accountinfo_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an accountinfo_test must reference an accountinfo_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M323"/></axsl:template><axsl:template match="text()" priority="-1" mode="M323"/><axsl:template match="@*|node()" priority="-2" mode="M323"><axsl:apply-templates select="@*|*" mode="M323"/></axsl:template>
3636
3637 <!--PATTERN macos-def_accountinfo_object_verify_filter_state-->
3638
3639
3640 <!--RULE -->
3641 <axsl:template match="macos-def:accountinfo_object//oval-def:filter" priority="1000" mode="M324"><axsl:variable name="parent_object" select="ancestor::macos-def:accountinfo_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
3642
3643 <!--ASSERT -->
3644 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#macos') and ($state_name='accountinfo_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M324"/></axsl:template><axsl:template match="text()" priority="-1" mode="M324"/><axsl:template match="@*|node()" priority="-2" mode="M324"><axsl:apply-templates select="@*|*" mode="M324"/></axsl:template>
3645
3646 <!--PATTERN macos-def_authorizationdbtst-->
3647
3648
3649 <!--RULE -->
3650 <axsl:template match="macos-def:authorizationdb_test/macos-def:object" priority="1001" mode="M325">
3651
3652 <!--ASSERT -->
3653 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/macos-def:authorizationdb_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a authorizationdb_test must reference an authorizationdb_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M325"/></axsl:template>
3654
3655 <!--RULE -->
3656 <axsl:template match="macos-def:authorizationdb_test/macos-def:state" priority="1000" mode="M325">
3657
3658 <!--ASSERT -->
3659 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/macos-def:authorizationdb_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a authorizationdb_test must reference an authorizationdb_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M325"/></axsl:template><axsl:template match="text()" priority="-1" mode="M325"/><axsl:template match="@*|node()" priority="-2" mode="M325"><axsl:apply-templates select="@*|*" mode="M325"/></axsl:template>
3660
3661 <!--PATTERN macos-def_authorizationdb_object_verify_filter_state-->
3662
3663
3664 <!--RULE -->
3665 <axsl:template match="macos-def:authorizationdb_object//oval-def:filter" priority="1000" mode="M326"><axsl:variable name="parent_object" select="ancestor::macos-def:authorizationdb_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
3666
3667 <!--ASSERT -->
3668 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#macos') and ($state_name='authorizationdb_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M326"/></axsl:template><axsl:template match="text()" priority="-1" mode="M326"/><axsl:template match="@*|node()" priority="-2" mode="M326"><axsl:apply-templates select="@*|*" mode="M326"/></axsl:template>
3669
3670 <!--PATTERN macos-def_authdbobjxpath-->
3671
3672
3673 <!--RULE -->
3674 <axsl:template match="macos-def:authorizationdb_object/macos-def:xpath" priority="1000" mode="M327">
3675
3676 <!--ASSERT -->
3677 <axsl:choose><axsl:when test="not(@operation) or @operation='equals'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - operation attribute for the xpath entity of an authorizationdb_object should be 'equals', note that this overrules the general operation attribute validation (i.e. follow this one)<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M327"/></axsl:template><axsl:template match="text()" priority="-1" mode="M327"/><axsl:template match="@*|node()" priority="-2" mode="M327"><axsl:apply-templates select="@*|*" mode="M327"/></axsl:template>
3678
3679 <!--PATTERN macos-def_corestoragetst-->
3680
3681
3682 <!--RULE -->
3683 <axsl:template match="macos-def:corestorage_test/macos-def:object" priority="1001" mode="M328">
3684
3685 <!--ASSERT -->
3686 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/macos-def:corestorage_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a corestorage_test must reference an corestorage_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M328"/></axsl:template>
3687
3688 <!--RULE -->
3689 <axsl:template match="macos-def:corestorage_test/macos-def:state" priority="1000" mode="M328">
3690
3691 <!--ASSERT -->
3692 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/macos-def:corestorage_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a corestorage_test must reference an corestorage_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M328"/></axsl:template><axsl:template match="text()" priority="-1" mode="M328"/><axsl:template match="@*|node()" priority="-2" mode="M328"><axsl:apply-templates select="@*|*" mode="M328"/></axsl:template>
3693
3694 <!--PATTERN macos-def_corestorage_object_verify_filter_state-->
3695
3696
3697 <!--RULE -->
3698 <axsl:template match="macos-def:corestorage_object//oval-def:filter" priority="1000" mode="M329"><axsl:variable name="parent_object" select="ancestor::macos-def:corestorage_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
3699
3700 <!--ASSERT -->
3701 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#macos') and ($state_name='corestorage_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M329"/></axsl:template><axsl:template match="text()" priority="-1" mode="M329"/><axsl:template match="@*|node()" priority="-2" mode="M329"><axsl:apply-templates select="@*|*" mode="M329"/></axsl:template>
3702
3703 <!--PATTERN macos-def_corestorageobjxpath-->
3704
3705
3706 <!--RULE -->
3707 <axsl:template match="macos-def:corestorage_object/macos-def:xpath" priority="1000" mode="M330">
3708
3709 <!--ASSERT -->
3710 <axsl:choose><axsl:when test="not(@operation) or @operation='equals'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - operation attribute for the xpath entity of an corestorage_object should be 'equals', note that this overrules the general operation attribute validation (i.e. follow this one)<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M330"/></axsl:template><axsl:template match="text()" priority="-1" mode="M330"/><axsl:template match="@*|node()" priority="-2" mode="M330"><axsl:apply-templates select="@*|*" mode="M330"/></axsl:template>
3711
3712 <!--PATTERN macos-def_diskutiltst-->
3713
3714
3715 <!--RULE -->
3716 <axsl:template match="macos-def:diskutil_test/macos-def:object" priority="1001" mode="M331">
3717
3718 <!--ASSERT -->
3719 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/macos-def:diskutil_object/@id"/><axsl:otherwise>
3720 <axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a diskutil_test must reference a diskutil_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M331"/></axsl:template>
3721
3722 <!--RULE -->
3723 <axsl:template match="macos-def:diskutil_test/macos-def:state" priority="1000" mode="M331">
3724
3725 <!--ASSERT -->
3726 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/macos-def:diskutil_state/@id"/><axsl:otherwise>
3727 <axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a diskutil_test must reference a diskutil_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M331"/></axsl:template><axsl:template match="text()" priority="-1" mode="M331"/><axsl:template match="@*|node()" priority="-2" mode="M331"><axsl:apply-templates select="@*|*" mode="M331"/></axsl:template>
3728
3729 <!--PATTERN macos-def_diskutil_object_verify_filter_state-->
3730
3731
3732 <!--RULE -->
3733 <axsl:template match="macos-def:diskutil_object//oval-def:filter" priority="1000" mode="M332"><axsl:variable name="parent_object" select="ancestor::macos-def:diskutil_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
3734
3735 <!--ASSERT -->
3736 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#macos') and ($state_name='diskutil_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M332"/></axsl:template><axsl:template match="text()" priority="-1" mode="M332"/><axsl:template match="@*|node()" priority="-2" mode="M332"><axsl:apply-templates select="@*|*" mode="M332"/></axsl:template>
3737
3738 <!--PATTERN macos-def_gatekeepertst-->
3739
3740
3741 <!--RULE -->
3742 <axsl:template match="macos-def:gatekeeper_test/macos-def:object" priority="1001" mode="M333">
3743
3744 <!--ASSERT -->
3745 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/macos-def:gatekeeper_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a gatekeeper_test must reference an gatekeeper_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M333"/></axsl:template>
3746
3747 <!--RULE -->
3748 <axsl:template match="macos-def:gatekeeper_test/macos-def:state" priority="1000" mode="M333">
3749
3750 <!--ASSERT -->
3751 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/macos-def:gatekeeper_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a gatekeeper_test must reference an gatekeeper_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M333"/></axsl:template><axsl:template match="text()" priority="-1" mode="M333"/><axsl:template match="@*|node()" priority="-2" mode="M333"><axsl:apply-templates select="@*|*" mode="M333"/></axsl:template>
3752
3753 <!--PATTERN macos-def_inetlisteningserverstst_dep-->
3754
3755
3756 <!--RULE -->
3757 <axsl:template match="macos-def:inetlisteningservers_test" priority="1000" mode="M334">
3758
3759 <!--REPORT -->
3760 <axsl:if test="true()">DEPRECATED TEST: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M334"/></axsl:template><axsl:template match="text()" priority="-1" mode="M334"/><axsl:template match="@*|node()" priority="-2" mode="M334"><axsl:apply-templates select="@*|*" mode="M334"/></axsl:template>
3761
3762 <!--PATTERN macos-def_inetlisteningservers_test-->
3763
3764
3765 <!--RULE -->
3766 <axsl:template match="macos-def:inetlisteningservers_test/macos-def:object" priority="1001" mode="M335">
3767
3768 <!--ASSERT -->
3769 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/macos-def:inetlisteningservers_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an inetlisteningservers_test must reference an inetlisteningservers_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M335"/></axsl:template>
3770
3771 <!--RULE -->
3772 <axsl:template match="macos-def:inetlisteningservers_test/macos-def:state" priority="1000" mode="M335">
3773
3774 <!--ASSERT -->
3775 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/macos-def:inetlisteningservers_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an inetlisteningservers_test must reference an inetlisteningservers_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M335"/></axsl:template><axsl:template match="text()" priority="-1" mode="M335"/><axsl:template match="@*|node()" priority="-2" mode="M335"><axsl:apply-templates select="@*|*" mode="M335"/></axsl:template>
3776
3777 <!--PATTERN macos-def_inetlisteningserversobj_dep-->
3778
3779
3780 <!--RULE -->
3781 <axsl:template match="macos-def:inetlisteningservers_object" priority="1000" mode="M336">
3782
3783 <!--REPORT -->
3784 <axsl:if test="true()">DEPRECATED OBJECT: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M336"/></axsl:template><axsl:template match="text()" priority="-1" mode="M336"/><axsl:template match="@*|node()" priority="-2" mode="M336"><axsl:apply-templates select="@*|*" mode="M336"/></axsl:template>
3785
3786 <!--PATTERN macos-def_inetlisteningservers_object_verify_filter_state-->
3787
3788
3789 <!--RULE -->
3790 <axsl:template match="macos-def:inetlisteningservers_object//oval-def:filter" priority="1000" mode="M337"><axsl:variable name="parent_object" select="ancestor::macos-def:inetlisteningservers_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
3791
3792 <!--ASSERT -->
3793 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#macos') and ($state_name='inetlisteningservers_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M337"/></axsl:template><axsl:template match="text()" priority="-1" mode="M337"/><axsl:template match="@*|node()" priority="-2" mode="M337"><axsl:apply-templates select="@*|*" mode="M337"/></axsl:template>
3794
3795 <!--PATTERN macos-def_inetlisteningserversste_dep-->
3796
3797
3798 <!--RULE -->
3799 <axsl:template match="macos-def:inetlisteningservers_state" priority="1000" mode="M338">
3800
3801 <!--REPORT -->
3802 <axsl:if test="true()">DEPRECATED STATE: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M338"/></axsl:template><axsl:template match="text()" priority="-1" mode="M338"/><axsl:template match="@*|node()" priority="-2" mode="M338"><axsl:apply-templates select="@*|*" mode="M338"/></axsl:template>
3803
3804 <!--PATTERN macos-def_inetlisteningserver510_test-->
3805
3806
3807 <!--RULE -->
3808 <axsl:template match="macos-def:inetlisteningserver510_test/macos-def:object" priority="1001" mode="M339">
3809
3810 <!--ASSERT -->
3811 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/macos-def:inetlisteningserver510_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an inetlisteningserver510_test must reference an inetlisteningserver510_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M339"/></axsl:template>
3812
3813 <!--RULE -->
3814 <axsl:template match="macos-def:inetlisteningserver510_test/macos-def:state" priority="1000" mode="M339">
3815
3816 <!--ASSERT -->
3817 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/macos-def:inetlisteningserver510_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an inetlisteningserver510_test must reference an inetlisteningserver510_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M339"/></axsl:template><axsl:template match="text()" priority="-1" mode="M339"/><axsl:template match="@*|node()" priority="-2" mode="M339"><axsl:apply-templates select="@*|*" mode="M339"/></axsl:template>
3818
3819 <!--PATTERN macos-def_inetlisteningserver510_object_verify_filter_state-->
3820
3821
3822 <!--RULE -->
3823 <axsl:template match="macos-def:inetlisteningserver510_object//oval-def:filter" priority="1000" mode="M340"><axsl:variable name="parent_object" select="ancestor::macos-def:inetlisteningserver510_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
3824
3825 <!--ASSERT -->
3826 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#macos') and ($state_name='inetlisteningserver510_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M340"/></axsl:template><axsl:template match="text()" priority="-1" mode="M340"/><axsl:template match="@*|node()" priority="-2" mode="M340"><axsl:apply-templates select="@*|*" mode="M340"/></axsl:template>
3827
3828 <!--PATTERN macos-def_keychaintst-->
3829
3830
3831 <!--RULE -->
3832 <axsl:template match="macos-def:keychain_test/macos-def:object" priority="1001" mode="M341">
3833
3834 <!--ASSERT -->
3835 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/macos-def:keychain_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a keychain_test must reference an keychain_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M341"/></axsl:template>
3836
3837 <!--RULE -->
3838 <axsl:template match="macos-def:keychain_test/macos-def:state" priority="1000" mode="M341">
3839
3840 <!--ASSERT -->
3841 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/macos-def:keychain_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a keychain_test must reference an keychain_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M341"/></axsl:template><axsl:template match="text()" priority="-1" mode="M341"/><axsl:template match="@*|node()" priority="-2" mode="M341"><axsl:apply-templates select="@*|*" mode="M341"/></axsl:template>
3842
3843 <!--PATTERN macos-def_keychain_object_verify_filter_state-->
3844
3845
3846 <!--RULE -->
3847 <axsl:template match="macos-def:keychain_object//oval-def:filter" priority="1000" mode="M342"><axsl:variable name="parent_object" select="ancestor::macos-def:keychain_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
3848
3849 <!--ASSERT -->
3850 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#macos') and ($state_name='keychain_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M342"/></axsl:template><axsl:template match="text()" priority="-1" mode="M342"/><axsl:template match="@*|node()" priority="-2" mode="M342"><axsl:apply-templates select="@*|*" mode="M342"/></axsl:template>
3851
3852 <!--PATTERN macos-def_launchdtst-->
3853
3854
3855 <!--RULE -->
3856 <axsl:template match="macos-def:launchd_test/macos-def:object" priority="1001" mode="M343">
3857
3858 <!--ASSERT -->
3859 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/macos-def:launchd_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a launchd_test must reference an launchd_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M343"/></axsl:template>
3860
3861 <!--RULE -->
3862 <axsl:template match="macos-def:launchd_test/macos-def:state" priority="1000" mode="M343">
3863
3864 <!--ASSERT -->
3865 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/macos-def:launchd_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a launchd_test must reference an launchd_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M343"/></axsl:template><axsl:template match="text()" priority="-1" mode="M343"/><axsl:template match="@*|node()" priority="-2" mode="M343"><axsl:apply-templates select="@*|*" mode="M343"/></axsl:template>
3866
3867 <!--PATTERN macos-def_launchd_object_verify_filter_state-->
3868
3869
3870 <!--RULE -->
3871 <axsl:template match="macos-def:macos_object//oval-def:filter" priority="1000" mode="M344"><axsl:variable name="parent_object" select="ancestor::macos-def:launchd_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
3872
3873 <!--ASSERT -->
3874 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#macos') and ($state_name='launchd_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M344"/></axsl:template><axsl:template match="text()" priority="-1" mode="M344"/><axsl:template match="@*|node()" priority="-2" mode="M344"><axsl:apply-templates select="@*|*" mode="M344"/></axsl:template>
3875
3876 <!--PATTERN macos-def_nvram_test-->
3877
3878
3879 <!--RULE -->
3880 <axsl:template match="macos-def:nvram_test/macos-def:object" priority="1001" mode="M345">
3881
3882 <!--ASSERT -->
3883 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/macos-def:nvram_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an nvram_test must reference an nvram_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M345"/></axsl:template>
3884
3885 <!--RULE -->
3886 <axsl:template match="macos-def:nvram_test/macos-def:state" priority="1000" mode="M345">
3887
3888 <!--ASSERT -->
3889 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/macos-def:nvram_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an nvram_test must reference an nvram_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M345"/></axsl:template><axsl:template match="text()" priority="-1" mode="M345"/><axsl:template match="@*|node()" priority="-2" mode="M345"><axsl:apply-templates select="@*|*" mode="M345"/></axsl:template>
3890
3891 <!--PATTERN macos-def_nvram_object_verify_filter_state-->
3892
3893
3894 <!--RULE -->
3895 <axsl:template match="macos-def:nvram_object//oval-def:filter" priority="1000" mode="M346"><axsl:variable name="parent_object" select="ancestor::macos-def:nvram_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
3896
3897 <!--ASSERT -->
3898 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#macos') and ($state_name='nvram_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M346"/></axsl:template><axsl:template match="text()" priority="-1" mode="M346"/><axsl:template match="@*|node()" priority="-2" mode="M346"><axsl:apply-templates select="@*|*" mode="M346"/></axsl:template>
3899
3900 <!--PATTERN macos-def_plist_test_dep-->
3901
3902
3903 <!--RULE -->
3904 <axsl:template match="macos-def:plist_test" priority="1000" mode="M347">
3905
3906 <!--REPORT -->
3907 <axsl:if test="true()">DEPRECATED TEST: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M347"/></axsl:template><axsl:template match="text()" priority="-1" mode="M347"/><axsl:template match="@*|node()" priority="-2" mode="M347"><axsl:apply-templates select="@*|*" mode="M347"/></axsl:template>
3908
3909 <!--PATTERN macos-def_plist_test-->
3910
3911
3912 <!--RULE -->
3913 <axsl:template match="macos-def:plist_test/macos-def:object" priority="1001" mode="M348">
3914
3915 <!--ASSERT -->
3916 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/macos-def:plist_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a plist_test must reference a plist_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M348"/></axsl:template>
3917
3918 <!--RULE -->
3919 <axsl:template match="macos-def:plist_test/macos-def:state" priority="1000" mode="M348">
3920
3921 <!--ASSERT -->
3922 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/macos-def:plist_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a plist_test must reference a plist_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M348"/></axsl:template><axsl:template match="text()" priority="-1" mode="M348"/><axsl:template match="@*|node()" priority="-2" mode="M348"><axsl:apply-templates select="@*|*" mode="M348"/></axsl:template>
3923
3924 <!--PATTERN macos-def_plist_object_dep-->
3925
3926
3927 <!--RULE -->
3928 <axsl:template match="macos-def:plist_object" priority="1000" mode="M349">
3929
3930 <!--REPORT -->
3931 <axsl:if test="true()"> DEPRECATED OBJECT: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/>
3932 <axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M349"/></axsl:template><axsl:template match="text()" priority="-1" mode="M349"/><axsl:template match="@*|node()" priority="-2" mode="M349"><axsl:apply-templates select="@*|*" mode="M349"/></axsl:template>
3933
3934 <!--PATTERN macos-def_plist_object_verify_filter_state-->
3935
3936
3937 <!--RULE -->
3938 <axsl:template match="macos-def:plist_object//oval-def:filter" priority="1000" mode="M350"><axsl:variable name="parent_object" select="ancestor::macos-def:plist_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
3939
3940 <!--ASSERT -->
3941 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#macos') and ($state_name='plist_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M350"/></axsl:template><axsl:template match="text()" priority="-1" mode="M350"/><axsl:template match="@*|node()" priority="-2" mode="M350"><axsl:apply-templates select="@*|*" mode="M350"/></axsl:template>
3942
3943 <!--PATTERN macos-def_plistobjfilepath-->
3944
3945
3946 <!--RULE -->
3947 <axsl:template match="macos-def:plist_object/macos-def:filepath" priority="1000" mode="M351">
3948
3949 <!--ASSERT -->
3950 <axsl:choose><axsl:when test="not(@operation) or @operation='equals'"/><axsl:otherwise>
3951 <axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - operation attribute for the filepath entity of a plist_object should be 'equals' <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M351"/></axsl:template><axsl:template match="text()" priority="-1" mode="M351"/><axsl:template match="@*|node()" priority="-2" mode="M351"><axsl:apply-templates select="@*|*" mode="M351"/></axsl:template>
3952
3953 <!--PATTERN macos-def_plist_state_dep-->
3954
3955
3956 <!--RULE -->
3957 <axsl:template match="macos-def:plist_state" priority="1000" mode="M352">
3958
3959 <!--REPORT -->
3960 <axsl:if test="true()">DEPRECATED STATE: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M352"/></axsl:template><axsl:template match="text()" priority="-1" mode="M352"/><axsl:template match="@*|node()" priority="-2" mode="M352"><axsl:apply-templates select="@*|*" mode="M352"/></axsl:template>
3961
3962 <!--PATTERN macos-def_plist510_test_dep-->
3963
3964
3965 <!--RULE -->
3966 <axsl:template match="macos-def:plist510_test" priority="1000" mode="M353">
3967
3968 <!--REPORT -->
3969 <axsl:if test="true()">DEPRECATED TEST: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M353"/></axsl:template><axsl:template match="text()" priority="-1" mode="M353"/><axsl:template match="@*|node()" priority="-2" mode="M353"><axsl:apply-templates select="@*|*" mode="M353"/></axsl:template>
3970
3971 <!--PATTERN macos-def_plist510_test-->
3972
3973
3974 <!--RULE -->
3975 <axsl:template match="macos-def:plist510_test/macos-def:object" priority="1001" mode="M354">
3976
3977 <!--ASSERT -->
3978 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/macos-def:plist510_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a plist510_test must reference a plist510_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M354"/></axsl:template>
3979
3980 <!--RULE -->
3981 <axsl:template match="macos-def:plist510_test/macos-def:state" priority="1000" mode="M354">
3982
3983 <!--ASSERT -->
3984 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/macos-def:plist510_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a plist510_test must reference a plist510_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M354"/></axsl:template><axsl:template match="text()" priority="-1" mode="M354"/><axsl:template match="@*|node()" priority="-2" mode="M354"><axsl:apply-templates select="@*|*" mode="M354"/></axsl:template>
3985
3986 <!--PATTERN macos-def_plist510_object_dep-->
3987
3988
3989 <!--RULE -->
3990 <axsl:template match="macos-def:plist510_object" priority="1000" mode="M355">
3991
3992 <!--REPORT -->
3993 <axsl:if test="true()"> DEPRECATED OBJECT: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/>
3994 <axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M355"/></axsl:template><axsl:template match="text()" priority="-1" mode="M355"/><axsl:template match="@*|node()" priority="-2" mode="M355"><axsl:apply-templates select="@*|*" mode="M355"/></axsl:template>
3995
3996 <!--PATTERN macos-def_plist510_object_verify_filter_state-->
3997
3998
3999 <!--RULE -->
4000 <axsl:template match="macos-def:plist510_object//oval-def:filter" priority="1000" mode="M356"><axsl:variable name="parent_object" select="ancestor::macos-def:plist510_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
4001
4002 <!--ASSERT -->
4003 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#macos') and ($state_name='plist510_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M356"/></axsl:template><axsl:template match="text()" priority="-1" mode="M356"/><axsl:template match="@*|node()" priority="-2" mode="M356"><axsl:apply-templates select="@*|*" mode="M356"/></axsl:template>
4004
4005 <!--PATTERN macos-def_plist510objappid-->
4006
4007
4008 <!--RULE -->
4009 <axsl:template match="macos-def:plist510_object/macos-def:app_id" priority="1000" mode="M357">
4010
4011 <!--ASSERT -->
4012 <axsl:choose><axsl:when test="not(../macos-def:key/@xsi:nil='true' or ../macos-def:key/@xsi:nil='1')"/><axsl:otherwise>
4013 <axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - key entity must not be nil when the app_id entity is used because preferences require a key. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M357"/></axsl:template><axsl:template match="text()" priority="-1" mode="M357"/><axsl:template match="@*|node()" priority="-2" mode="M357"><axsl:apply-templates select="@*|*" mode="M357"/></axsl:template>
4014
4015 <!--PATTERN macos-def_plist510objfilepath-->
4016
4017
4018 <!--RULE -->
4019 <axsl:template match="macos-def:plist510_object/macos-def:filepath" priority="1000" mode="M358">
4020
4021 <!--ASSERT -->
4022 <axsl:choose><axsl:when test="not(@operation) or @operation='equals'"/><axsl:otherwise>
4023 <axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - operation attribute for the filepath entity of a plist510_object should be 'equals' <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M358"/></axsl:template><axsl:template match="text()" priority="-1" mode="M358"/><axsl:template match="@*|node()" priority="-2" mode="M358"><axsl:apply-templates select="@*|*" mode="M358"/></axsl:template>
4024
4025 <!--PATTERN macos-def_plist510_state_dep-->
4026
4027
4028 <!--RULE -->
4029 <axsl:template match="macos-def:plist510_state" priority="1000" mode="M359">
4030
4031 <!--REPORT -->
4032 <axsl:if test="true()">DEPRECATED STATE: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M359"/></axsl:template><axsl:template match="text()" priority="-1" mode="M359"/><axsl:template match="@*|node()" priority="-2" mode="M359"><axsl:apply-templates select="@*|*" mode="M359"/></axsl:template>
4033
4034 <!--PATTERN macos-def_plist511_test-->
4035
4036
4037 <!--RULE -->
4038 <axsl:template match="macos-def:plist511_test/macos-def:object" priority="1001" mode="M360">
4039
4040 <!--ASSERT -->
4041 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/macos-def:plist511_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a plist511_test must reference a plist511_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M360"/></axsl:template>
4042
4043 <!--RULE -->
4044 <axsl:template match="macos-def:plist511_test/macos-def:state" priority="1000" mode="M360">
4045
4046 <!--ASSERT -->
4047 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/macos-def:plist511_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a plist511_test must reference a plist511_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M360"/></axsl:template><axsl:template match="text()" priority="-1" mode="M360"/><axsl:template match="@*|node()" priority="-2" mode="M360"><axsl:apply-templates select="@*|*" mode="M360"/></axsl:template>
4048
4049 <!--PATTERN macos-def_plist511_object_verify_filter_state-->
4050
4051
4052 <!--RULE -->
4053 <axsl:template match="macos-def:plist511_object//oval-def:filter" priority="1000" mode="M361"><axsl:variable name="parent_object" select="ancestor::macos-def:plist511_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
4054
4055 <!--ASSERT -->
4056 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#macos') and ($state_name='plist511_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M361"/></axsl:template><axsl:template match="text()" priority="-1" mode="M361"/><axsl:template match="@*|node()" priority="-2" mode="M361"><axsl:apply-templates select="@*|*" mode="M361"/></axsl:template>
4057
4058 <!--PATTERN macos-def_plist511objfilepath-->
4059
4060
4061 <!--RULE -->
4062 <axsl:template match="macos-def:plist511_object/macos-def:filepath" priority="1000" mode="M362">
4063
4064 <!--ASSERT -->
4065 <axsl:choose><axsl:when test="not(@operation) or @operation='equals'"/><axsl:otherwise>
4066 <axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - operation attribute for the filepath entity of a plist511_object should be 'equals'
4067 <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M362"/></axsl:template><axsl:template match="text()" priority="-1" mode="M362"/><axsl:template match="@*|node()" priority="-2" mode="M362"><axsl:apply-templates select="@*|*" mode="M362"/></axsl:template>
4068
4069 <!--PATTERN macos-def_plist511objxpath-->
4070
4071
4072 <!--RULE -->
4073 <axsl:template match="macos-def:plist_object/macos-def:xpath" priority="1000" mode="M363">
4074
4075 <!--ASSERT -->
4076 <axsl:choose><axsl:when test="not(@operation) or @operation='equals'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - operation attribute for the xpath entity of a plist_object should be 'equals', note that this overrules the general operation attribute validation (i.e. follow this one)<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M363"/></axsl:template><axsl:template match="text()" priority="-1" mode="M363"/><axsl:template match="@*|node()" priority="-2" mode="M363"><axsl:apply-templates select="@*|*" mode="M363"/></axsl:template>
4077
4078 <!--PATTERN macos-def_pwpolicy_test_dep-->
4079
4080
4081 <!--RULE -->
4082 <axsl:template match="macos-def:pwpolicy_test" priority="1000" mode="M364">
4083
4084 <!--REPORT -->
4085 <axsl:if test="true()">DEPRECATED TEST: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M364"/></axsl:template><axsl:template match="text()" priority="-1" mode="M364"/><axsl:template match="@*|node()" priority="-2" mode="M364"><axsl:apply-templates select="@*|*" mode="M364"/></axsl:template>
4086
4087 <!--PATTERN macos-def_pwpolicy_test-->
4088
4089
4090 <!--RULE -->
4091 <axsl:template match="macos-def:pwpolicy_test/macos-def:object" priority="1001" mode="M365">
4092
4093 <!--ASSERT -->
4094 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/macos-def:pwpolicy_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an pwpolicy_test must reference an pwpolicy_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M365"/></axsl:template>
4095
4096 <!--RULE -->
4097 <axsl:template match="macos-def:pwpolicy_test/macos-def:state" priority="1000" mode="M365">
4098
4099 <!--ASSERT -->
4100 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/macos-def:pwpolicy_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an pwpolicy_test must reference an pwpolicy_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M365"/></axsl:template><axsl:template match="text()" priority="-1" mode="M365"/><axsl:template match="@*|node()" priority="-2" mode="M365"><axsl:apply-templates select="@*|*" mode="M365"/></axsl:template>
4101
4102 <!--PATTERN macos-def_pwpolicy_object_dep-->
4103
4104
4105 <!--RULE -->
4106 <axsl:template match="macos-def:pwpolicy_object" priority="1000" mode="M366">
4107
4108 <!--REPORT -->
4109 <axsl:if test="true()">DEPRECATED OBJECT: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M366"/></axsl:template><axsl:template match="text()" priority="-1" mode="M366"/><axsl:template match="@*|node()" priority="-2" mode="M366"><axsl:apply-templates select="@*|*" mode="M366"/></axsl:template>
4110
4111 <!--PATTERN macos-def_pwpolicy_object_verify_filter_state-->
4112
4113
4114 <!--RULE -->
4115 <axsl:template match="macos-def:pwpolicy_object//oval-def:filter" priority="1000" mode="M367"><axsl:variable name="parent_object" select="ancestor::macos-def:pwpolicy_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
4116
4117 <!--ASSERT -->
4118 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#macos') and ($state_name='pwpolicy_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M367"/></axsl:template><axsl:template match="text()" priority="-1" mode="M367"/><axsl:template match="@*|node()" priority="-2" mode="M367"><axsl:apply-templates select="@*|*" mode="M367"/></axsl:template>
4119
4120 <!--PATTERN macos-def_pwpobjusername-->
4121
4122
4123 <!--RULE -->
4124 <axsl:template match="macos-def:pwpolicy_object/macos-def:username" priority="1000" mode="M368">
4125
4126 <!--ASSERT -->
4127 <axsl:choose><axsl:when test="not(@operation) or @operation='equals'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - operation attribute for the username entity of a pwpolicy_object should be 'equals', note that this overrules the general operation attribute validation (i.e. follow this one)<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M368"/></axsl:template><axsl:template match="text()" priority="-1" mode="M368"/><axsl:template match="@*|node()" priority="-2" mode="M368"><axsl:apply-templates select="@*|*" mode="M368"/></axsl:template>
4128
4129 <!--PATTERN macos-def_pwpobjuserpass-->
4130
4131
4132 <!--RULE -->
4133 <axsl:template match="macos-def:pwpolicy_object/macos-def:userpass" priority="1000" mode="M369">
4134
4135 <!--ASSERT -->
4136 <axsl:choose><axsl:when test="not(@operation) or @operation='equals'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - operation attribute for the userpass entity of a pwpolicy_object should be 'equals', note that this overrules the general operation attribute validation (i.e. follow this one)<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M369"/></axsl:template><axsl:template match="text()" priority="-1" mode="M369"/><axsl:template match="@*|node()" priority="-2" mode="M369"><axsl:apply-templates select="@*|*" mode="M369"/></axsl:template>
4137
4138 <!--PATTERN macos-def_pwpobjdirnode-->
4139
4140
4141 <!--RULE -->
4142 <axsl:template match="macos-def:pwpolicy_object/macos-def:directory_node" priority="1000" mode="M370">
4143
4144 <!--ASSERT -->
4145 <axsl:choose><axsl:when test="not(@operation) or @operation='equals'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - operation attribute for the directory_node entity of a pwpolicy_object should be 'equals', note that this overrules the general operation attribute validation (i.e. follow this one)<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M370"/></axsl:template><axsl:template match="text()" priority="-1" mode="M370"/><axsl:template match="@*|node()" priority="-2" mode="M370"><axsl:apply-templates select="@*|*" mode="M370"/></axsl:template>
4146
4147 <!--PATTERN macos-def_pwpolicy_state_dep-->
4148
4149
4150 <!--RULE -->
4151 <axsl:template match="macos-def:pwpolicy_state" priority="1000" mode="M371">
4152
4153 <!--REPORT -->
4154 <axsl:if test="true()">DEPRECATED STATE: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M371"/></axsl:template><axsl:template match="text()" priority="-1" mode="M371"/><axsl:template match="@*|node()" priority="-2" mode="M371"><axsl:apply-templates select="@*|*" mode="M371"/></axsl:template>
4155
4156 <!--PATTERN macos-def_pwpolicy59_test-->
4157
4158
4159 <!--RULE -->
4160 <axsl:template match="macos-def:pwpolicy59_test/macos-def:object" priority="1001" mode="M372">
4161
4162 <!--ASSERT -->
4163 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/macos-def:pwpolicy59_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an pwpolicy59_test must reference an pwpolicy59_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M372"/></axsl:template>
4164
4165 <!--RULE -->
4166 <axsl:template match="macos-def:pwpolicy59_test/macos-def:state" priority="1000" mode="M372">
4167
4168 <!--ASSERT -->
4169 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/macos-def:pwpolicy59_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an pwpolicy59_test must reference an pwpolicy59_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M372"/></axsl:template><axsl:template match="text()" priority="-1" mode="M372"/><axsl:template match="@*|node()" priority="-2" mode="M372"><axsl:apply-templates select="@*|*" mode="M372"/></axsl:template>
4170
4171 <!--PATTERN macos-def_pwpolicy59_object_verify_filter_state-->
4172
4173
4174 <!--RULE -->
4175 <axsl:template match="macos-def:pwpolicy59_object//oval-def:filter" priority="1000" mode="M373"><axsl:variable name="parent_object" select="ancestor::macos-def:pwpolicy59_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
4176
4177 <!--ASSERT -->
4178 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#macos') and ($state_name='pwpolicy59_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M373"/></axsl:template><axsl:template match="text()" priority="-1" mode="M373"/><axsl:template match="@*|node()" priority="-2" mode="M373"><axsl:apply-templates select="@*|*" mode="M373"/></axsl:template>
4179
4180 <!--PATTERN macos-def_pwp59objusername-->
4181
4182
4183 <!--RULE -->
4184 <axsl:template match="macos-def:pwpolicy59_object/macos-def:username" priority="1000" mode="M374">
4185
4186 <!--ASSERT -->
4187 <axsl:choose><axsl:when test="not((@xsi:nil='1' or @xsi:nil='true')) or ../macos-def:userpass/@xsi:nil='true' or ../macos-def:userpass/@xsi:nil='1'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - userpass entity must be nil when username entity is nil<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M374"/></axsl:template><axsl:template match="text()" priority="-1" mode="M374"/><axsl:template match="@*|node()" priority="-2" mode="M374"><axsl:apply-templates select="@*|*" mode="M374"/></axsl:template>
4188
4189 <!--PATTERN macos-def_pwp59objuserpass-->
4190
4191
4192 <!--RULE -->
4193 <axsl:template match="macos-def:pwpolicy59_object/macos-def:userpass" priority="1000" mode="M375">
4194
4195 <!--ASSERT -->
4196 <axsl:choose><axsl:when test="not(@operation) or @operation='equals'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - operation attribute for the userpass entity of a pwpolicy59_object should be 'equals', note that this overrules the general operation attribute validation (i.e. follow this one)<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
4197
4198 <!--ASSERT -->
4199 <axsl:choose><axsl:when test="not((@xsi:nil='1' or @xsi:nil='true')) or ../macos-def:username/@xsi:nil='true' or ../macos-def:username/@xsi:nil='1'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - username entity must be nil when userpass entity is nil<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M375"/></axsl:template><axsl:template match="text()" priority="-1" mode="M375"/><axsl:template match="@*|node()" priority="-2" mode="M375"><axsl:apply-templates select="@*|*" mode="M375"/></axsl:template>
4200
4201 <!--PATTERN macos-def_pwp59dirnode-->
4202
4203
4204 <!--RULE -->
4205 <axsl:template match="macos-def:pwpolicy59_object/macos-def:directory_node" priority="1000" mode="M376">
4206
4207 <!--ASSERT -->
4208 <axsl:choose><axsl:when test="not(@operation) or @operation='equals'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - operation attribute for the directory_node entity of a pwpolicy59_object should be 'equals', note that this overrules the general operation attribute validation (i.e. follow this one)<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M376"/></axsl:template><axsl:template match="text()" priority="-1" mode="M376"/><axsl:template match="@*|node()" priority="-2" mode="M376"><axsl:apply-templates select="@*|*" mode="M376"/></axsl:template>
4209
4210 <!--PATTERN macos-def_rlimittst-->
4211
4212
4213 <!--RULE -->
4214 <axsl:template match="macos-def:rlimit_test/macos-def:object" priority="1001" mode="M377">
4215
4216 <!--ASSERT -->
4217 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/macos-def:rlimit_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a rlimit_test must reference an rlimit_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M377"/></axsl:template>
4218
4219 <!--RULE -->
4220 <axsl:template match="macos-def:rlimit_test/macos-def:state" priority="1000" mode="M377">
4221
4222 <!--ASSERT -->
4223 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/macos-def:rlimit_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a rlimit_test must reference an rlimit_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M377"/></axsl:template><axsl:template match="text()" priority="-1" mode="M377"/><axsl:template match="@*|node()" priority="-2" mode="M377"><axsl:apply-templates select="@*|*" mode="M377"/></axsl:template>
4224
4225 <!--PATTERN macos-def_softwareupdatetst-->
4226
4227
4228 <!--RULE -->
4229 <axsl:template match="macos-def:softwareupdate_test/macos-def:object" priority="1001" mode="M378">
4230
4231 <!--ASSERT -->
4232 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/macos-def:softwareupdate_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a softwareupdate_test must reference an softwareupdate_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M378"/></axsl:template>
4233
4234 <!--RULE -->
4235 <axsl:template match="macos-def:softwareupdate_test/macos-def:state" priority="1000" mode="M378">
4236
4237 <!--ASSERT -->
4238 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/macos-def:softwareupdate_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a softwareupdate_test must reference an softwareupdate_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M378"/></axsl:template><axsl:template match="text()" priority="-1" mode="M378"/><axsl:template match="@*|node()" priority="-2" mode="M378"><axsl:apply-templates select="@*|*" mode="M378"/></axsl:template>
4239
4240 <!--PATTERN macos-def_systemprofilertst-->
4241
4242
4243 <!--RULE -->
4244 <axsl:template match="macos-def:systemprofiler_test/macos-def:object" priority="1001" mode="M379">
4245
4246 <!--ASSERT -->
4247 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/macos-def:systemprofiler_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a systemprofiler_test must reference an systemprofiler_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M379"/></axsl:template>
4248
4249 <!--RULE -->
4250 <axsl:template match="macos-def:systemprofiler_test/macos-def:state" priority="1000" mode="M379">
4251
4252 <!--ASSERT -->
4253 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/macos-def:systemprofiler_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a systemprofiler_test must reference an systemprofiler_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M379"/></axsl:template><axsl:template match="text()" priority="-1" mode="M379"/><axsl:template match="@*|node()" priority="-2" mode="M379"><axsl:apply-templates select="@*|*" mode="M379"/></axsl:template>
4254
4255 <!--PATTERN macos-def_systemprofiler_object_verify_filter_state-->
4256
4257
4258 <!--RULE -->
4259 <axsl:template match="macos-def:systemprofiler_object//oval-def:filter" priority="1000" mode="M380"><axsl:variable name="parent_object" select="ancestor::macos-def:systemprofiler_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
4260
4261 <!--ASSERT -->
4262 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#macos') and ($state_name='systemprofiler_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M380"/></axsl:template><axsl:template match="text()" priority="-1" mode="M380"/><axsl:template match="@*|node()" priority="-2" mode="M380"><axsl:apply-templates select="@*|*" mode="M380"/></axsl:template>
4263
4264 <!--PATTERN macos-def_systemprofilerobjxpath-->
4265
4266
4267 <!--RULE -->
4268 <axsl:template match="macos-def:systemprofiler_object/macos-def:xpath" priority="1000" mode="M381">
4269
4270 <!--ASSERT -->
4271 <axsl:choose><axsl:when test="not(@operation) or @operation='equals'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - operation attribute for the xpath entity of an systemprofiler_object should be 'equals', note that this overrules the general operation attribute validation (i.e. follow this one)<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M381"/></axsl:template><axsl:template match="text()" priority="-1" mode="M381"/><axsl:template match="@*|node()" priority="-2" mode="M381"><axsl:apply-templates select="@*|*" mode="M381"/></axsl:template>
4272
4273 <!--PATTERN macos-def_systemsetuptst-->
4274
4275
4276 <!--RULE -->
4277 <axsl:template match="macos-def:systemsetup_test/macos-def:object" priority="1001" mode="M382">
4278
4279 <!--ASSERT -->
4280 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/macos-def:systemsetup_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a systemsetup_test must reference an systemsetup_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M382"/></axsl:template>
4281
4282 <!--RULE -->
4283 <axsl:template match="macos-def:systemsetup_test/macos-def:state" priority="1000" mode="M382">
4284
4285 <!--ASSERT -->
4286 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/macos-def:systemsetup_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a systemsetup_test must reference an systemsetup_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M382"/></axsl:template><axsl:template match="text()" priority="-1" mode="M382"/><axsl:template match="@*|node()" priority="-2" mode="M382"><axsl:apply-templates select="@*|*" mode="M382"/></axsl:template>
4287
4288 <!--PATTERN netconf-def_configtst-->
4289
4290
4291 <!--RULE -->
4292 <axsl:template match="netconf-def:config_test/netconf-def:object" priority="1001" mode="M383">
4293
4294 <!--ASSERT -->
4295 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/netconf-def:config_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a config_test must reference a config_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M383"/></axsl:template>
4296
4297 <!--RULE -->
4298 <axsl:template match="netconf-def:config_test/netconf-def:state" priority="1000" mode="M383">
4299
4300 <!--ASSERT -->
4301 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/netconf-def:config_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a config_test must reference a config_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M383"/></axsl:template><axsl:template match="text()" priority="-1" mode="M383"/><axsl:template match="@*|node()" priority="-2" mode="M383"><axsl:apply-templates select="@*|*" mode="M383"/></axsl:template>
4302
4303 <!--PATTERN netconf-def_netconf_object_verify_filter_state-->
4304
4305
4306 <!--RULE -->
4307 <axsl:template match="netconf-def:netconf_object//oval-def:filter" priority="1000" mode="M384"><axsl:variable name="parent_object" select="ancestor::netconf-def:config_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
4308
4309 <!--ASSERT -->
4310 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#netconf') and ($state_name='config_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M384"/></axsl:template><axsl:template match="text()" priority="-1" mode="M384"/><axsl:template match="@*|node()" priority="-2" mode="M384"><axsl:apply-templates select="@*|*" mode="M384"/></axsl:template>
4311
4312 <!--PATTERN netconf-def_xmlobjxpath-->
4313
4314
4315 <!--RULE -->
4316 <axsl:template match="netconf-def:config_object/netconf-def:xpath" priority="1000" mode="M385">
4317
4318 <!--ASSERT -->
4319 <axsl:choose><axsl:when test="not(@operation) or @operation='equals'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - operation attribute for the xpath entity of a config_object should be 'equals', note that this overrules the general operation attribute validation (i.e. follow this one)<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M385"/></axsl:template><axsl:template match="text()" priority="-1" mode="M385"/><axsl:template match="@*|node()" priority="-2" mode="M385"><axsl:apply-templates select="@*|*" mode="M385"/></axsl:template>
4320
4321 <!--PATTERN pixos-def_linetst-->
4322
4323
4324 <!--RULE -->
4325 <axsl:template match="pixos-def:line_test/pixos-def:object" priority="1001" mode="M386">
4326
4327 <!--ASSERT -->
4328 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/pixos-def:line_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a line_test must reference a line_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M386"/></axsl:template>
4329
4330 <!--RULE -->
4331 <axsl:template match="pixos-def:line_test/pixos-def:state" priority="1000" mode="M386">
4332
4333 <!--ASSERT -->
4334 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/pixos-def:line_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a line_test must reference a line_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M386"/></axsl:template><axsl:template match="text()" priority="-1" mode="M386"/><axsl:template match="@*|node()" priority="-2" mode="M386"><axsl:apply-templates select="@*|*" mode="M386"/></axsl:template>
4335
4336 <!--PATTERN pixos-def_line_object_verify_filter_state-->
4337
4338
4339 <!--RULE -->
4340 <axsl:template match="pixos-def:line_object//oval-def:filter" priority="1000" mode="M387"><axsl:variable name="parent_object" select="ancestor::pixos-def:line_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
4341
4342 <!--ASSERT -->
4343 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#pixos') and ($state_name='line_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M387"/></axsl:template><axsl:template match="text()" priority="-1" mode="M387"/><axsl:template match="@*|node()" priority="-2" mode="M387"><axsl:apply-templates select="@*|*" mode="M387"/></axsl:template>
4344
4345 <!--PATTERN pixos-def_vertst-->
4346
4347
4348 <!--RULE -->
4349 <axsl:template match="pixos-def:version_test/pixos-def:object" priority="1001" mode="M388">
4350
4351 <!--ASSERT -->
4352 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/pixos-def:version_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a version_test must reference a version_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M388"/></axsl:template>
4353
4354 <!--RULE -->
4355 <axsl:template match="pixos-def:version_test/pixos-def:state" priority="1000" mode="M388">
4356
4357 <!--ASSERT -->
4358 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/pixos-def:version_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a version_test must reference a version_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M388"/></axsl:template><axsl:template match="text()" priority="-1" mode="M388"/><axsl:template match="@*|node()" priority="-2" mode="M388"><axsl:apply-templates select="@*|*" mode="M388"/></axsl:template>
4359
4360 <!--PATTERN sp-def_webapptst-->
4361
4362
4363 <!--RULE -->
4364 <axsl:template match="sp-def:spwebapplication_test/sp-def:object" priority="1001" mode="M389">
4365
4366 <!--ASSERT -->
4367 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/sp-def:spwebapplication_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a spwebapplication_test must reference an spwebapplication_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M389"/></axsl:template>
4368
4369 <!--RULE -->
4370 <axsl:template match="sp-def:spwebapplication_test/sp-def:state" priority="1000" mode="M389">
4371
4372 <!--ASSERT -->
4373 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/sp-def:spwebapplication_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a spwebapplication_test must reference an spwebapplication_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M389"/></axsl:template><axsl:template match="text()" priority="-1" mode="M389"/><axsl:template match="@*|node()" priority="-2" mode="M389"><axsl:apply-templates select="@*|*" mode="M389"/></axsl:template>
4374
4375 <!--PATTERN sp-def_spwebapplication_object_verify_filter_state-->
4376
4377
4378 <!--RULE -->
4379 <axsl:template match="sp-def:spwebapplication_object//oval-def:filter" priority="1000" mode="M390"><axsl:variable name="parent_object" select="ancestor::sp-def:spwebapplication_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
4380
4381 <!--ASSERT -->
4382 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#sharepoint') and ($state_name='spwebapplication_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M390"/></axsl:template><axsl:template match="text()" priority="-1" mode="M390"/><axsl:template match="@*|node()" priority="-2" mode="M390"><axsl:apply-templates select="@*|*" mode="M390"/></axsl:template>
4383
4384 <!--PATTERN sp-def_grptst-->
4385
4386
4387 <!--RULE -->
4388 <axsl:template match="sp-def:spgroup_test/sp-def:object" priority="1001" mode="M391">
4389
4390 <!--ASSERT -->
4391 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/sp-def:spgroup_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a spgroup_test must reference a spgroup_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M391"/></axsl:template>
4392
4393 <!--RULE -->
4394 <axsl:template match="sp-def:spgroup_test/sp-def:state" priority="1000" mode="M391">
4395
4396 <!--ASSERT -->
4397 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/sp-def:spgroup_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a spgroup_test must reference a spgroup_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M391"/></axsl:template><axsl:template match="text()" priority="-1" mode="M391"/><axsl:template match="@*|node()" priority="-2" mode="M391"><axsl:apply-templates select="@*|*" mode="M391"/></axsl:template>
4398
4399 <!--PATTERN sp-def_spgroup_object_verify_filter_state-->
4400
4401
4402 <!--RULE -->
4403 <axsl:template match="sp-def:spgroup_object//oval-def:filter" priority="1000" mode="M392"><axsl:variable name="parent_object" select="ancestor::sp-def:spgroup_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
4404
4405 <!--ASSERT -->
4406 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#sharepoint') and ($state_name='spgroup_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M392"/></axsl:template><axsl:template match="text()" priority="-1" mode="M392"/><axsl:template match="@*|node()" priority="-2" mode="M392"><axsl:apply-templates select="@*|*" mode="M392"/></axsl:template>
4407
4408 <!--PATTERN sp-def_webtst-->
4409
4410
4411 <!--RULE -->
4412 <axsl:template match="sp-def:spweb_test/sp-def:object" priority="1001" mode="M393">
4413
4414 <!--ASSERT -->
4415 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/sp-def:spweb_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a spweb_test must reference an spweb_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M393"/></axsl:template>
4416
4417 <!--RULE -->
4418 <axsl:template match="sp-def:spweb_test/sp-def:state" priority="1000" mode="M393">
4419
4420 <!--ASSERT -->
4421 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/sp-def:spweb_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a spweb_test must reference an spweb_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M393"/></axsl:template><axsl:template match="text()" priority="-1" mode="M393"/><axsl:template match="@*|node()" priority="-2" mode="M393"><axsl:apply-templates select="@*|*" mode="M393"/></axsl:template>
4422
4423 <!--PATTERN sp-def_spweb_object_verify_filter_state-->
4424
4425
4426 <!--RULE -->
4427 <axsl:template match="sp-def:spweb_object//oval-def:filter" priority="1000" mode="M394"><axsl:variable name="parent_object" select="ancestor::sp-def:spweb_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
4428
4429 <!--ASSERT -->
4430 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#sharepoint') and ($state_name='spweb_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M394"/></axsl:template><axsl:template match="text()" priority="-1" mode="M394"/><axsl:template match="@*|node()" priority="-2" mode="M394"><axsl:apply-templates select="@*|*" mode="M394"/></axsl:template>
4431
4432 <!--PATTERN sp-def_listtst-->
4433
4434
4435 <!--RULE -->
4436 <axsl:template match="sp-def:splist_test/sp-def:object" priority="1001" mode="M395">
4437
4438 <!--ASSERT -->
4439 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/sp-def:splist_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a splist_test must reference an splist_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M395"/></axsl:template>
4440
4441 <!--RULE -->
4442 <axsl:template match="sp-def:splist_test/sp-def:state" priority="1000" mode="M395">
4443
4444 <!--ASSERT -->
4445 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/sp-def:splist_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a splist_test must reference an splist_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M395"/></axsl:template><axsl:template match="text()" priority="-1" mode="M395"/><axsl:template match="@*|node()" priority="-2" mode="M395"><axsl:apply-templates select="@*|*" mode="M395"/></axsl:template>
4446
4447 <!--PATTERN sp-def_splist_object_verify_filter_state-->
4448
4449
4450 <!--RULE -->
4451 <axsl:template match="sp-def:splist_object//oval-def:filter" priority="1000" mode="M396"><axsl:variable name="parent_object" select="ancestor::sp-def:splist_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
4452
4453 <!--ASSERT -->
4454 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#sharepoint') and ($state_name='splist_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M396"/></axsl:template><axsl:template match="text()" priority="-1" mode="M396"/><axsl:template match="@*|node()" priority="-2" mode="M396"><axsl:apply-templates select="@*|*" mode="M396"/></axsl:template>
4455
4456 <!--PATTERN sp-def_avstst-->
4457
4458
4459 <!--RULE -->
4460 <axsl:template match="sp-def:spantivirussettings_test/sp-def:object" priority="1001" mode="M397">
4461
4462 <!--ASSERT -->
4463 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/sp-def:spantivirussettings_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a spantivirussettings_test must reference an spantivirussettings_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M397"/></axsl:template>
4464
4465 <!--RULE -->
4466 <axsl:template match="sp-def:spantivirussettings_test/sp-def:state" priority="1000" mode="M397">
4467
4468 <!--ASSERT -->
4469 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/sp-def:spantivirussettings_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a spantivirussettings_test must reference an spantivirussettings_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M397"/></axsl:template><axsl:template match="text()" priority="-1" mode="M397"/><axsl:template match="@*|node()" priority="-2" mode="M397"><axsl:apply-templates select="@*|*" mode="M397"/></axsl:template>
4470
4471 <!--PATTERN sp-def_spantivirussettings_object_verify_filter_state-->
4472
4473
4474 <!--RULE -->
4475 <axsl:template match="sp-def:spantivirussettings_object//oval-def:filter" priority="1000" mode="M398"><axsl:variable name="parent_object" select="ancestor::sp-def:spantivirussettings_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
4476
4477 <!--ASSERT -->
4478 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#sharepoint') and ($state_name='spantivirussettings_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M398"/></axsl:template><axsl:template match="text()" priority="-1" mode="M398"/><axsl:template match="@*|node()" priority="-2" mode="M398"><axsl:apply-templates select="@*|*" mode="M398"/></axsl:template>
4479
4480 <!--PATTERN sp-def_siteadmintst-->
4481
4482
4483 <!--RULE -->
4484 <axsl:template match="sp-def:spsiteadministration_test/sp-def:object" priority="1001" mode="M399">
4485
4486 <!--ASSERT -->
4487 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/sp-def:spsiteadministration_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a spsiteadministration_test must reference an spsiteadministration_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M399"/></axsl:template>
4488
4489 <!--RULE -->
4490 <axsl:template match="sp-def:spsiteadministration_test/sp-def:state" priority="1000" mode="M399">
4491
4492 <!--ASSERT -->
4493 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/sp-def:spsiteadministration_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a spsiteadministration_test must reference an spsiteadministration_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M399"/></axsl:template><axsl:template match="text()" priority="-1" mode="M399"/><axsl:template match="@*|node()" priority="-2" mode="M399"><axsl:apply-templates select="@*|*" mode="M399"/></axsl:template>
4494
4495 <!--PATTERN sp-def_spsiteadministration_object_verify_filter_state-->
4496
4497
4498 <!--RULE -->
4499 <axsl:template match="sp-def:spsiteadministration_object//oval-def:filter" priority="1000" mode="M400"><axsl:variable name="parent_object" select="ancestor::sp-def:spsiteadministration_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
4500
4501 <!--ASSERT -->
4502 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#sharepoint') and ($state_name='spsiteadministration_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M400"/></axsl:template><axsl:template match="text()" priority="-1" mode="M400"/><axsl:template match="@*|node()" priority="-2" mode="M400"><axsl:apply-templates select="@*|*" mode="M400"/></axsl:template>
4503
4504 <!--PATTERN sp-def_sitetst-->
4505
4506
4507 <!--RULE -->
4508 <axsl:template match="sp-def:spsite_test/sp-def:object" priority="1001" mode="M401">
4509
4510 <!--ASSERT -->
4511 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/sp-def:spsite_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a spsite_test must reference an spsite_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M401"/></axsl:template>
4512
4513 <!--RULE -->
4514 <axsl:template match="sp-def:spsite_test/sp-def:state" priority="1000" mode="M401">
4515
4516 <!--ASSERT -->
4517 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/sp-def:spsite_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a spsite_test must reference an spsite_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M401"/></axsl:template><axsl:template match="text()" priority="-1" mode="M401"/><axsl:template match="@*|node()" priority="-2" mode="M401"><axsl:apply-templates select="@*|*" mode="M401"/></axsl:template>
4518
4519 <!--PATTERN sp-def_spsite_object_verify_filter_state-->
4520
4521
4522 <!--RULE -->
4523 <axsl:template match="sp-def:spsite_object//oval-def:filter" priority="1000" mode="M402"><axsl:variable name="parent_object" select="ancestor::sp-def:spsite_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
4524
4525 <!--ASSERT -->
4526 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#sharepoint') and ($state_name='spsite_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M402"/></axsl:template><axsl:template match="text()" priority="-1" mode="M402"/><axsl:template match="@*|node()" priority="-2" mode="M402"><axsl:apply-templates select="@*|*" mode="M402"/></axsl:template>
4527
4528 <!--PATTERN sp_def_spsite_state_url_dep-->
4529
4530
4531 <!--RULE -->
4532 <axsl:template match="oval-def:oval_definitions/oval-def:states/sp-def:spsite_state/sp-def:url" priority="1000" mode="M403">
4533
4534 <!--REPORT -->
4535 <axsl:if test="true()">DEPRECATED ENTITY IN: sp-def:spsite_state <axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M403"/></axsl:template><axsl:template match="text()" priority="-1" mode="M403"/><axsl:template match="@*|node()" priority="-2" mode="M403"><axsl:apply-templates select="@*|*" mode="M403"/></axsl:template>
4536
4537 <!--PATTERN sp-def_crtst-->
4538
4539
4540 <!--RULE -->
4541 <axsl:template match="sp-def:spcrawlrule_test/sp-def:object" priority="1001" mode="M404">
4542
4543 <!--ASSERT -->
4544 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/sp-def:spcrawlrule_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a spcrawlrule_test must reference an spcrawlrule_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M404"/></axsl:template>
4545
4546 <!--RULE -->
4547 <axsl:template match="sp-def:spcrawlrule_test/sp-def:state" priority="1000" mode="M404">
4548
4549 <!--ASSERT -->
4550 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/sp-def:spcrawlrule_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a spcrawlrule_test must reference an spcrawlrule_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M404"/></axsl:template><axsl:template match="text()" priority="-1" mode="M404"/><axsl:template match="@*|node()" priority="-2" mode="M404"><axsl:apply-templates select="@*|*" mode="M404"/></axsl:template>
4551
4552 <!--PATTERN sp-def_spcrawlrule_object_verify_filter_state-->
4553
4554
4555 <!--RULE -->
4556 <axsl:template match="sp-def:spcrawlrule_object//oval-def:filter" priority="1000" mode="M405"><axsl:variable name="parent_object" select="ancestor::sp-def:spcrawlrule_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
4557
4558 <!--ASSERT -->
4559 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#sharepoint') and ($state_name='spcrawlrule_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M405"/></axsl:template><axsl:template match="text()" priority="-1" mode="M405"/><axsl:template match="@*|node()" priority="-2" mode="M405"><axsl:apply-templates select="@*|*" mode="M405"/></axsl:template>
4560
4561 <!--PATTERN sp-def_spjobdefinition_test_dep-->
4562
4563
4564 <!--RULE -->
4565 <axsl:template match="sp-def:spjobdefinition_test" priority="1000" mode="M406">
4566
4567 <!--REPORT -->
4568 <axsl:if test="true()">DEPRECATED TEST: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M406"/></axsl:template><axsl:template match="text()" priority="-1" mode="M406"/><axsl:template match="@*|node()" priority="-2" mode="M406"><axsl:apply-templates select="@*|*" mode="M406"/></axsl:template>
4569
4570 <!--PATTERN sp-def_jobdeftst-->
4571
4572
4573 <!--RULE -->
4574 <axsl:template match="sp-def:spjobdefinition_test/sp-def:object" priority="1001" mode="M407">
4575
4576 <!--ASSERT -->
4577 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/sp-def:spjobdefinition_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a spjobdefinition_test must reference an spjobdefinition_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M407"/></axsl:template>
4578
4579 <!--RULE -->
4580 <axsl:template match="sp-def:spjobdefinition_test/sp-def:state" priority="1000" mode="M407">
4581
4582 <!--ASSERT -->
4583 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/sp-def:spjobdefinition_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a spjobdefinition_test must reference an spjobdefinition_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M407"/></axsl:template><axsl:template match="text()" priority="-1" mode="M407"/><axsl:template match="@*|node()" priority="-2" mode="M407"><axsl:apply-templates select="@*|*" mode="M407"/></axsl:template>
4584
4585 <!--PATTERN sp-def_spjobdefinition_object_dep-->
4586
4587
4588 <!--RULE -->
4589 <axsl:template match="sp-def:spjobdefinition_object" priority="1000" mode="M408">
4590
4591 <!--REPORT -->
4592 <axsl:if test="true()">DEPRECATED TEST: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M408"/></axsl:template><axsl:template match="text()" priority="-1" mode="M408"/><axsl:template match="@*|node()" priority="-2" mode="M408"><axsl:apply-templates select="@*|*" mode="M408"/></axsl:template>
4593
4594 <!--PATTERN sp-def_spjobdefinition_object_verify_filter_state-->
4595
4596
4597 <!--RULE -->
4598 <axsl:template match="sp-def:spjobdefinition_object//oval-def:filter" priority="1000" mode="M409"><axsl:variable name="parent_object" select="ancestor::sp-def:spjobdefinition_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
4599
4600 <!--ASSERT -->
4601 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#sharepoint') and ($state_name='spjobdefinition_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M409"/></axsl:template><axsl:template match="text()" priority="-1" mode="M409"/><axsl:template match="@*|node()" priority="-2" mode="M409"><axsl:apply-templates select="@*|*" mode="M409"/></axsl:template>
4602
4603 <!--PATTERN sp-def_spjobdefinition_state_dep-->
4604
4605
4606 <!--RULE -->
4607 <axsl:template match="sp-def:spjobdefinition_state" priority="1000" mode="M410">
4608
4609 <!--REPORT -->
4610 <axsl:if test="true()">DEPRECATED TEST: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M410"/></axsl:template><axsl:template match="text()" priority="-1" mode="M410"/><axsl:template match="@*|node()" priority="-2" mode="M410"><axsl:apply-templates select="@*|*" mode="M410"/></axsl:template>
4611
4612 <!--PATTERN sp-def_jobdef510tst-->
4613
4614
4615 <!--RULE -->
4616 <axsl:template match="sp-def:spjobdefinition510_test/sp-def:object" priority="1001" mode="M411">
4617
4618 <!--ASSERT -->
4619 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/sp-def:spjobdefinition510_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a spjobdefinition510_test must reference an spjobdefinition510_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M411"/></axsl:template>
4620
4621 <!--RULE -->
4622 <axsl:template match="sp-def:spjobdefinition510_test/sp-def:state" priority="1000" mode="M411">
4623
4624 <!--ASSERT -->
4625 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/sp-def:spjobdefinition510_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a spjobdefinition510_test must reference an spjobdefinition510_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M411"/></axsl:template><axsl:template match="text()" priority="-1" mode="M411"/><axsl:template match="@*|node()" priority="-2" mode="M411"><axsl:apply-templates select="@*|*" mode="M411"/></axsl:template>
4626
4627 <!--PATTERN sp-def_spjobdefinition510_object_verify_filter_state-->
4628
4629
4630 <!--RULE -->
4631 <axsl:template match="sp-def:spjobdefinition510_object//oval-def:filter" priority="1000" mode="M412"><axsl:variable name="parent_object" select="ancestor::sp-def:spjobdefinition510_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
4632
4633 <!--ASSERT -->
4634 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#sharepoint') and ($state_name='spjobdefinition510_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M412"/></axsl:template><axsl:template match="text()" priority="-1" mode="M412"/><axsl:template match="@*|node()" priority="-2" mode="M412"><axsl:apply-templates select="@*|*" mode="M412"/></axsl:template>
4635
4636 <!--PATTERN sp-def_bbtst-->
4637
4638
4639 <!--RULE -->
4640 <axsl:template match="sp-def:bestbet_test/sp-def:object" priority="1001" mode="M413">
4641
4642 <!--ASSERT -->
4643 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/sp-def:bestbet_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a bestbet_test must reference an bestbet_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M413"/></axsl:template>
4644
4645 <!--RULE -->
4646 <axsl:template match="sp-def:bestbet_test/sp-def:state" priority="1000" mode="M413">
4647
4648 <!--ASSERT -->
4649 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/sp-def:bestbet_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a bestbet_test must reference an bestbet_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M413"/></axsl:template><axsl:template match="text()" priority="-1" mode="M413"/><axsl:template match="@*|node()" priority="-2" mode="M413"><axsl:apply-templates select="@*|*" mode="M413"/></axsl:template>
4650
4651 <!--PATTERN sp-def_bestbet_object_verify_filter_state-->
4652
4653
4654 <!--RULE -->
4655 <axsl:template match="sp-def:bestbet_object//oval-def:filter" priority="1000" mode="M414"><axsl:variable name="parent_object" select="ancestor::sp-def:bestbet_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
4656
4657 <!--ASSERT -->
4658 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#sharepoint') and ($state_name='bestbet_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M414"/></axsl:template><axsl:template match="text()" priority="-1" mode="M414"/><axsl:template match="@*|node()" priority="-2" mode="M414"><axsl:apply-templates select="@*|*" mode="M414"/></axsl:template>
4659
4660 <!--PATTERN sp-def_infopolicycolltst-->
4661
4662
4663 <!--RULE -->
4664 <axsl:template match="sp-def:policycoll_test/sp-def:object" priority="1001" mode="M415">
4665
4666 <!--ASSERT -->
4667 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/sp-def:policycoll_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a policycoll_test must reference an policycoll_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M415"/></axsl:template>
4668
4669 <!--RULE -->
4670 <axsl:template match="sp-def:policycoll_test/sp-def:state" priority="1000" mode="M415">
4671
4672 <!--ASSERT -->
4673 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/sp-def:policycoll_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a policycoll_test must reference an policycoll_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M415"/></axsl:template><axsl:template match="text()" priority="-1" mode="M415"/><axsl:template match="@*|node()" priority="-2" mode="M415"><axsl:apply-templates select="@*|*" mode="M415"/></axsl:template>
4674
4675 <!--PATTERN sp-def_infopolicycoll_object_verify_filter_state-->
4676
4677
4678 <!--RULE -->
4679 <axsl:template match="sp-def:infopolicycoll_object//oval-def:filter" priority="1000" mode="M416"><axsl:variable name="parent_object" select="ancestor::sp-def:infopolicycoll_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
4680
4681 <!--ASSERT -->
4682 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#sharepoint') and ($state_name='infopolicycoll_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M416"/></axsl:template><axsl:template match="text()" priority="-1" mode="M416"/><axsl:template match="@*|node()" priority="-2" mode="M416"><axsl:apply-templates select="@*|*" mode="M416"/></axsl:template>
4683
4684 <!--PATTERN sp-def_diagnosticsservicetest-->
4685
4686
4687 <!--RULE -->
4688 <axsl:template match="sp-def:spdiagnosticsservice_test/sp-def:object" priority="1001" mode="M417">
4689
4690 <!--ASSERT -->
4691 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/sp-def:spdiagnosticsservice_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an spdiagnosticsservice_test must reference an spdiagnosticsservice_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M417"/></axsl:template>
4692
4693 <!--RULE -->
4694 <axsl:template match="sp-def:spdiagnosticsservice_test/sp-def:state" priority="1000" mode="M417">
4695
4696 <!--ASSERT -->
4697 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/sp-def:spdiagnosticsservice_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an spdiagnosticsservice_test must reference an spdiagnosticsservice_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M417"/></axsl:template><axsl:template match="text()" priority="-1" mode="M417"/><axsl:template match="@*|node()" priority="-2" mode="M417"><axsl:apply-templates select="@*|*" mode="M417"/></axsl:template>
4698
4699 <!--PATTERN sp-def_spdiagnosticsservice_object_verify_filter_state-->
4700
4701
4702 <!--RULE -->
4703 <axsl:template match="sp-def:spdiagnosticsservice_object//oval-def:filter" priority="1000" mode="M418"><axsl:variable name="parent_object" select="ancestor::sp-def:spdiagnosticsservice_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
4704
4705 <!--ASSERT -->
4706 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#sharepoint') and ($state_name='spdiagnosticsservice_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M418"/></axsl:template><axsl:template match="text()" priority="-1" mode="M418"/><axsl:template match="@*|node()" priority="-2" mode="M418"><axsl:apply-templates select="@*|*" mode="M418"/></axsl:template>
4707
4708 <!--PATTERN sp-def_diagnostics_level_test-->
4709
4710
4711 <!--RULE -->
4712 <axsl:template match="sp-def:spdiagnosticslevel_test/sp-def:object" priority="1001" mode="M419">
4713
4714 <!--ASSERT -->
4715 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/sp-def:spdiagnosticslevel_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an spdiagnosticslevel_test must reference an spdiagnosticslevel_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M419"/></axsl:template>
4716
4717 <!--RULE -->
4718 <axsl:template match="sp-def:spdiagnosticslevel_test/sp-def:state" priority="1000" mode="M419">
4719
4720 <!--ASSERT -->
4721 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/sp-def:spdiagnosticslevel_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an spdiagnosticslevel_test must reference an spdiagnosticslevel_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M419"/></axsl:template><axsl:template match="text()" priority="-1" mode="M419"/><axsl:template match="@*|node()" priority="-2" mode="M419"><axsl:apply-templates select="@*|*" mode="M419"/></axsl:template>
4722
4723 <!--PATTERN sp-def_spdiagnosticslevel_object_verify_filter_state-->
4724
4725
4726 <!--RULE -->
4727 <axsl:template match="sp-def:spdiagnosticslevel_object//oval-def:filter" priority="1000" mode="M420"><axsl:variable name="parent_object" select="ancestor::sp-def:spdiagnosticslevel_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
4728
4729 <!--ASSERT -->
4730 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#sharepoint') and ($state_name='spdiagnosticslevel_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M420"/></axsl:template><axsl:template match="text()" priority="-1" mode="M420"/><axsl:template match="@*|node()" priority="-2" mode="M420"><axsl:apply-templates select="@*|*" mode="M420"/></axsl:template>
4731
4732 <!--PATTERN sp-def_policyfeature_test-->
4733
4734
4735 <!--RULE -->
4736 <axsl:template match="sp-def:sppolicyfeature_test/sp-def:object" priority="1001" mode="M421">
4737
4738 <!--ASSERT -->
4739 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/sp-def:sppolicyfeature_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an sppolicyfeature_test must reference an sppolicyfeature_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M421"/></axsl:template>
4740
4741 <!--RULE -->
4742 <axsl:template match="sp-def:sppolicyfeature_test/sp-def:state" priority="1000" mode="M421">
4743
4744 <!--ASSERT -->
4745 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/sp-def:sppolicyfeature_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an sppolicyfeature_test must reference an sppolicyfeature_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M421"/></axsl:template><axsl:template match="text()" priority="-1" mode="M421"/><axsl:template match="@*|node()" priority="-2" mode="M421"><axsl:apply-templates select="@*|*" mode="M421"/></axsl:template>
4746
4747 <!--PATTERN sp-def_sppolicyfeature_object_verify_filter_state-->
4748
4749
4750 <!--RULE -->
4751 <axsl:template match="sp-def:sppolicyfeature_object//oval-def:filter" priority="1000" mode="M422"><axsl:variable name="parent_object" select="ancestor::sp-def:sppolicyfeature_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
4752
4753 <!--ASSERT -->
4754 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#sharepoint') and ($state_name='sppolicyfeature_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M422"/></axsl:template><axsl:template match="text()" priority="-1" mode="M422"/><axsl:template match="@*|node()" priority="-2" mode="M422"><axsl:apply-templates select="@*|*" mode="M422"/></axsl:template>
4755
4756 <!--PATTERN sp-def_policy_test-->
4757
4758
4759 <!--RULE -->
4760 <axsl:template match="sp-def:sppolicy_test/sp-def:object" priority="1001" mode="M423">
4761
4762 <!--ASSERT -->
4763 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/sp-def:sppolicy_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an sppolicy_test must reference an sppolicy_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M423"/></axsl:template>
4764
4765 <!--RULE -->
4766 <axsl:template match="sp-def:sppolicy_test/sp-def:state" priority="1000" mode="M423">
4767
4768 <!--ASSERT -->
4769 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/sp-def:sppolicy_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an sppolicy_test must reference an sppolicy_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M423"/></axsl:template><axsl:template match="text()" priority="-1" mode="M423"/><axsl:template match="@*|node()" priority="-2" mode="M423"><axsl:apply-templates select="@*|*" mode="M423"/></axsl:template>
4770
4771 <!--PATTERN sol-def_facet_test-->
4772
4773
4774 <!--RULE -->
4775 <axsl:template match="sol-def:facet_test/sol-def:object" priority="1001" mode="M424">
4776
4777 <!--ASSERT -->
4778 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/sol-def:facet_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an facet_test must reference an facet_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M424"/></axsl:template>
4779
4780 <!--RULE -->
4781 <axsl:template match="sol-def:facet_test/sol-def:state" priority="1000" mode="M424">
4782
4783 <!--ASSERT -->
4784 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/sol-def:facet_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an facet_test must reference an facet_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M424"/></axsl:template><axsl:template match="text()" priority="-1" mode="M424"/><axsl:template match="@*|node()" priority="-2" mode="M424"><axsl:apply-templates select="@*|*" mode="M424"/></axsl:template>
4785
4786 <!--PATTERN sol-def_facet_object_verify_filter_state-->
4787
4788
4789 <!--RULE -->
4790 <axsl:template match="sol-def:facet_object//oval-def:filter" priority="1000" mode="M425"><axsl:variable name="parent_object" select="ancestor::sol-def:facet_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
4791
4792 <!--ASSERT -->
4793 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#solaris') and ($state_name='facet_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M425"/></axsl:template><axsl:template match="text()" priority="-1" mode="M425"/><axsl:template match="@*|node()" priority="-2" mode="M425"><axsl:apply-templates select="@*|*" mode="M425"/></axsl:template>
4794
4795 <!--PATTERN sol-def_image_test-->
4796
4797
4798 <!--RULE -->
4799 <axsl:template match="sol-def:image_test/sol-def:object" priority="1001" mode="M426">
4800
4801 <!--ASSERT -->
4802 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/sol-def:image_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an image_test must reference an image_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M426"/></axsl:template>
4803
4804 <!--RULE -->
4805 <axsl:template match="sol-def:image_test/sol-def:state" priority="1000" mode="M426">
4806
4807 <!--ASSERT -->
4808 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/sol-def:image_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an image_test must reference an image_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M426"/></axsl:template><axsl:template match="text()" priority="-1" mode="M426"/><axsl:template match="@*|node()" priority="-2" mode="M426"><axsl:apply-templates select="@*|*" mode="M426"/></axsl:template>
4809
4810 <!--PATTERN sol-def_image_object_verify_filter_state-->
4811
4812
4813 <!--RULE -->
4814 <axsl:template match="sol-def:image_object//oval-def:filter" priority="1000" mode="M427"><axsl:variable name="parent_object" select="ancestor::sol-def:image_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
4815
4816 <!--ASSERT -->
4817 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#solaris') and ($state_name='image_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M427"/></axsl:template><axsl:template match="text()" priority="-1" mode="M427"/><axsl:template match="@*|node()" priority="-2" mode="M427"><axsl:apply-templates select="@*|*" mode="M427"/></axsl:template>
4818
4819 <!--PATTERN sol-def_isainfotst-->
4820
4821
4822 <!--RULE -->
4823 <axsl:template match="sol-def:isainfo_test/sol-def:object" priority="1001" mode="M428">
4824
4825 <!--ASSERT -->
4826 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/sol-def:isainfo_object/@id"/><axsl:otherwise>
4827 <axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an isainfo_test must reference an isainfo_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M428"/></axsl:template>
4828
4829 <!--RULE -->
4830 <axsl:template match="sol-def:isainfo_test/sol-def:state" priority="1000" mode="M428">
4831
4832 <!--ASSERT -->
4833 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/sol-def:isainfo_state/@id"/><axsl:otherwise>
4834 <axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an isainfo_test must reference an isainfo_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M428"/></axsl:template><axsl:template match="text()" priority="-1" mode="M428"/><axsl:template match="@*|node()" priority="-2" mode="M428"><axsl:apply-templates select="@*|*" mode="M428"/></axsl:template>
4835
4836 <!--PATTERN sol-def_ndd_test-->
4837
4838
4839 <!--RULE -->
4840 <axsl:template match="sol-def:ndd_test/sol-def:object" priority="1001" mode="M429">
4841
4842 <!--ASSERT -->
4843 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/sol-def:ndd_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an ndd_test must reference an ndd_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M429"/></axsl:template>
4844
4845 <!--RULE -->
4846 <axsl:template match="sol-def:ndd_test/sol-def:state" priority="1000" mode="M429">
4847
4848 <!--ASSERT -->
4849 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/sol-def:ndd_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an ndd_test must reference an ndd_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M429"/></axsl:template><axsl:template match="text()" priority="-1" mode="M429"/><axsl:template match="@*|node()" priority="-2" mode="M429"><axsl:apply-templates select="@*|*" mode="M429"/></axsl:template>
4850
4851 <!--PATTERN sol-def_ndd_object_verify_filter_state-->
4852
4853
4854 <!--RULE -->
4855 <axsl:template match="sol-def:ndd_object//oval-def:filter" priority="1000" mode="M430"><axsl:variable name="parent_object" select="ancestor::sol-def:ndd_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
4856
4857 <!--ASSERT -->
4858 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#solaris') and ($state_name='ndd_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M430"/></axsl:template><axsl:template match="text()" priority="-1" mode="M430"/><axsl:template match="@*|node()" priority="-2" mode="M430"><axsl:apply-templates select="@*|*" mode="M430"/></axsl:template>
4859
4860 <!--PATTERN sol-def_packagetst-->
4861
4862
4863 <!--RULE -->
4864 <axsl:template match="sol-def:package_test/sol-def:object" priority="1001" mode="M431">
4865
4866 <!--ASSERT -->
4867 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/sol-def:package_object/@id"/><axsl:otherwise>
4868 <axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a package_test must reference a package_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M431"/></axsl:template>
4869
4870 <!--RULE -->
4871 <axsl:template match="sol-def:package_test/sol-def:state" priority="1000" mode="M431">
4872
4873 <!--ASSERT -->
4874 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/sol-def:package_state/@id"/><axsl:otherwise>
4875 <axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a package_test must reference a package_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M431"/></axsl:template><axsl:template match="text()" priority="-1" mode="M431"/><axsl:template match="@*|node()" priority="-2" mode="M431"><axsl:apply-templates select="@*|*" mode="M431"/></axsl:template>
4876
4877 <!--PATTERN sol-def_package_object_verify_filter_state-->
4878
4879
4880 <!--RULE -->
4881 <axsl:template match="sol-def:package_object//oval-def:filter" priority="1000" mode="M432"><axsl:variable name="parent_object" select="ancestor::sol-def:package_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
4882
4883 <!--ASSERT -->
4884 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#solaris') and ($state_name='package_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M432"/></axsl:template><axsl:template match="text()" priority="-1" mode="M432"/><axsl:template match="@*|node()" priority="-2" mode="M432"><axsl:apply-templates select="@*|*" mode="M432"/></axsl:template>
4885
4886 <!--PATTERN sol-def_package511_test-->
4887
4888
4889 <!--RULE -->
4890 <axsl:template match="sol-def:package511_test/sol-def:object" priority="1001" mode="M433">
4891
4892 <!--ASSERT -->
4893 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/sol-def:package511_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an package511_test must reference an package511_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M433"/></axsl:template>
4894
4895 <!--RULE -->
4896 <axsl:template match="sol-def:package511_test/sol-def:state" priority="1000" mode="M433">
4897
4898 <!--ASSERT -->
4899 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/sol-def:package511_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an package511_test must reference an package511_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M433"/></axsl:template><axsl:template match="text()" priority="-1" mode="M433"/><axsl:template match="@*|node()" priority="-2" mode="M433"><axsl:apply-templates select="@*|*" mode="M433"/></axsl:template>
4900
4901 <!--PATTERN sol-def_package511_object_verify_filter_state-->
4902
4903
4904 <!--RULE -->
4905 <axsl:template match="sol-def:package511_object//oval-def:filter" priority="1000" mode="M434"><axsl:variable name="parent_object" select="ancestor::sol-def:package511_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
4906
4907 <!--ASSERT -->
4908 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#solaris') and ($state_name='package511_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M434"/></axsl:template><axsl:template match="text()" priority="-1" mode="M434"/><axsl:template match="@*|node()" priority="-2" mode="M434"><axsl:apply-templates select="@*|*" mode="M434"/></axsl:template>
4909
4910 <!--PATTERN sol-def_packageavoidlist_test-->
4911
4912
4913 <!--RULE -->
4914 <axsl:template match="sol-def:packageavoidlist_test/sol-def:object" priority="1001" mode="M435">
4915
4916 <!--ASSERT -->
4917 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/sol-def:packageavoidlist_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an packageavoidlist_test must reference a packageavoidlist_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M435"/></axsl:template>
4918
4919 <!--RULE -->
4920 <axsl:template match="sol-def:packageavoidlist_test/sol-def:state" priority="1000" mode="M435">
4921
4922 <!--ASSERT -->
4923 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/sol-def:packageavoidlist_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an packageavoidlist_test must reference a packageavoidlist_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M435"/></axsl:template><axsl:template match="text()" priority="-1" mode="M435"/><axsl:template match="@*|node()" priority="-2" mode="M435"><axsl:apply-templates select="@*|*" mode="M435"/></axsl:template>
4924
4925 <!--PATTERN sol-def_packageavoidlist_object_verify_filter_state-->
4926
4927
4928 <!--RULE -->
4929 <axsl:template match="sol-def:packageavoidlist_object//oval-def:filter" priority="1000" mode="M436"><axsl:variable name="parent_object" select="ancestor::sol-def:packageavoidlist_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
4930
4931 <!--ASSERT -->
4932 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#solaris') and ($state_name='packageavoidlist_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M436"/></axsl:template><axsl:template match="text()" priority="-1" mode="M436"/><axsl:template match="@*|node()" priority="-2" mode="M436"><axsl:apply-templates select="@*|*" mode="M436"/></axsl:template>
4933
4934 <!--PATTERN sol-def_packagechecktst-->
4935
4936
4937 <!--RULE -->
4938 <axsl:template match="sol-def:packagecheck_test/sol-def:object" priority="1001" mode="M437">
4939
4940 <!--ASSERT -->
4941 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/sol-def:packagecheck_object/@id"/><axsl:otherwise>
4942 <axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a packagecheck_test must reference a packagecheck_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M437"/></axsl:template>
4943
4944 <!--RULE -->
4945 <axsl:template match="sol-def:packagecheck_test/sol-def:state" priority="1000" mode="M437">
4946
4947 <!--ASSERT -->
4948 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/sol-def:packagecheck_state/@id"/><axsl:otherwise>
4949 <axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a packagecheck_test must reference a packagecheck_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M437"/></axsl:template><axsl:template match="text()" priority="-1" mode="M437"/><axsl:template match="@*|node()" priority="-2" mode="M437"><axsl:apply-templates select="@*|*" mode="M437"/></axsl:template>
4950
4951 <!--PATTERN sol-def_packagecheck_object_verify_filter_state-->
4952
4953
4954 <!--RULE -->
4955 <axsl:template match="sol-def:packagecheck_object//oval-def:filter" priority="1000" mode="M438"><axsl:variable name="parent_object" select="ancestor::sol-def:packagecheck_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
4956
4957 <!--ASSERT -->
4958 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#solaris') and ($state_name='packagecheck_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M438"/></axsl:template><axsl:template match="text()" priority="-1" mode="M438"/><axsl:template match="@*|node()" priority="-2" mode="M438"><axsl:apply-templates select="@*|*" mode="M438"/></axsl:template>
4959
4960 <!--PATTERN sol-def_packagefreezelist_test-->
4961
4962
4963 <!--RULE -->
4964 <axsl:template match="sol-def:packagefreezelist_test/sol-def:object" priority="1001" mode="M439">
4965
4966 <!--ASSERT -->
4967 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/sol-def:packagefreezelist_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an packagefreezelist_test must reference a packagefreezelist_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M439"/></axsl:template>
4968
4969 <!--RULE -->
4970 <axsl:template match="sol-def:packagefreezelist_test/sol-def:state" priority="1000" mode="M439">
4971
4972 <!--ASSERT -->
4973 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/sol-def:packagefreezelist_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an packagefreezelist_test must reference a packagefreezelist_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M439"/></axsl:template><axsl:template match="text()" priority="-1" mode="M439"/><axsl:template match="@*|node()" priority="-2" mode="M439"><axsl:apply-templates select="@*|*" mode="M439"/></axsl:template>
4974
4975 <!--PATTERN sol-def_packagefreezelist_object_verify_filter_state-->
4976
4977
4978 <!--RULE -->
4979 <axsl:template match="sol-def:packagefreezelist_object//oval-def:filter" priority="1000" mode="M440"><axsl:variable name="parent_object" select="ancestor::sol-def:packagefreezelist_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
4980
4981 <!--ASSERT -->
4982 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#solaris') and ($state_name='packagefreezelist_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M440"/></axsl:template><axsl:template match="text()" priority="-1" mode="M440"/><axsl:template match="@*|node()" priority="-2" mode="M440"><axsl:apply-templates select="@*|*" mode="M440"/></axsl:template>
4983
4984 <!--PATTERN sol-def_packagepublisher_test-->
4985
4986
4987 <!--RULE -->
4988 <axsl:template match="sol-def:packagepublisher_test/sol-def:object" priority="1001" mode="M441">
4989
4990 <!--ASSERT -->
4991 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/sol-def:packagepublisher_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an packagepublisher_test must reference a packagepublisher_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M441"/></axsl:template>
4992
4993 <!--RULE -->
4994 <axsl:template match="sol-def:packagepublisher_test/sol-def:state" priority="1000" mode="M441">
4995
4996 <!--ASSERT -->
4997 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/sol-def:packagepublisher_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an packagepublisher_test must reference a packagepublisher_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M441"/></axsl:template><axsl:template match="text()" priority="-1" mode="M441"/><axsl:template match="@*|node()" priority="-2" mode="M441"><axsl:apply-templates select="@*|*" mode="M441"/></axsl:template>
4998
4999 <!--PATTERN sol-def_packagepublisher_object_verify_filter_state-->
5000
5001
5002 <!--RULE -->
5003 <axsl:template match="sol-def:packagepublisher_object//oval-def:filter" priority="1000" mode="M442"><axsl:variable name="parent_object" select="ancestor::sol-def:packagepublisher_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
5004
5005 <!--ASSERT -->
5006 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#solaris') and ($state_name='packagepublisher_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M442"/></axsl:template><axsl:template match="text()" priority="-1" mode="M442"/><axsl:template match="@*|node()" priority="-2" mode="M442"><axsl:apply-templates select="@*|*" mode="M442"/></axsl:template>
5007
5008 <!--PATTERN sol-def_patch54tst-->
5009
5010
5011 <!--RULE -->
5012 <axsl:template match="sol-def:patch54_test/sol-def:object" priority="1001" mode="M443">
5013
5014 <!--ASSERT -->
5015 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/sol-def:patch54_object/@id"/><axsl:otherwise>
5016 <axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a patch54_test must reference a patch54_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M443"/></axsl:template>
5017
5018 <!--RULE -->
5019 <axsl:template match="sol-def:patch54_test/sol-def:state" priority="1000" mode="M443">
5020
5021 <!--ASSERT -->
5022 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/sol-def:patch_state/@id"/><axsl:otherwise>
5023 <axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a patch54_test must reference a patch_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M443"/></axsl:template><axsl:template match="text()" priority="-1" mode="M443"/><axsl:template match="@*|node()" priority="-2" mode="M443"><axsl:apply-templates select="@*|*" mode="M443"/></axsl:template>
5024
5025 <!--PATTERN sol-def_patchtst_dep-->
5026
5027
5028 <!--RULE -->
5029 <axsl:template match="sol-def:patch_test" priority="1000" mode="M444">
5030
5031 <!--REPORT -->
5032 <axsl:if test="true()">DEPRECATED TEST: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M444"/></axsl:template><axsl:template match="text()" priority="-1" mode="M444"/><axsl:template match="@*|node()" priority="-2" mode="M444"><axsl:apply-templates select="@*|*" mode="M444"/></axsl:template>
5033
5034 <!--PATTERN sol-def_patchtst-->
5035
5036
5037 <!--RULE -->
5038 <axsl:template match="sol-def:patch_test/sol-def:object" priority="1001" mode="M445">
5039
5040 <!--ASSERT -->
5041 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/sol-def:patch_object/@id"/><axsl:otherwise>
5042 <axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a patch_test must reference a patch_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M445"/></axsl:template>
5043
5044 <!--RULE -->
5045 <axsl:template match="sol-def:patch_test/sol-def:state" priority="1000" mode="M445">
5046
5047 <!--ASSERT -->
5048 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/sol-def:patch_state/@id"/><axsl:otherwise>
5049 <axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a patch_test must reference a patch_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M445"/></axsl:template><axsl:template match="text()" priority="-1" mode="M445"/><axsl:template match="@*|node()" priority="-2" mode="M445"><axsl:apply-templates select="@*|*" mode="M445"/></axsl:template>
5050
5051 <!--PATTERN sol-def_patch54_object_verify_filter_state-->
5052
5053
5054 <!--RULE -->
5055 <axsl:template match="sol-def:patch54_object//oval-def:filter" priority="1000" mode="M446"><axsl:variable name="parent_object" select="ancestor::sol-def:patch54_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
5056
5057 <!--ASSERT -->
5058 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#solaris') and ($state_name='patch_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M446"/></axsl:template><axsl:template match="text()" priority="-1" mode="M446"/><axsl:template match="@*|node()" priority="-2" mode="M446"><axsl:apply-templates select="@*|*" mode="M446"/></axsl:template>
5059
5060 <!--PATTERN sol-def_patchobj_dep-->
5061
5062
5063 <!--RULE -->
5064 <axsl:template match="sol-def:patch_object" priority="1000" mode="M447">
5065
5066 <!--REPORT -->
5067 <axsl:if test="true()">DEPRECATED OBJECT: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M447"/></axsl:template><axsl:template match="text()" priority="-1" mode="M447"/><axsl:template match="@*|node()" priority="-2" mode="M447"><axsl:apply-templates select="@*|*" mode="M447"/></axsl:template>
5068
5069 <!--PATTERN sol-def_smftst-->
5070
5071
5072 <!--RULE -->
5073 <axsl:template match="sol-def:smf_test/sol-def:object" priority="1001" mode="M448">
5074
5075 <!--ASSERT -->
5076 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/sol-def:smf_object/@id"/><axsl:otherwise>
5077 <axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a smf_test must reference a smf_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M448"/></axsl:template>
5078
5079 <!--RULE -->
5080 <axsl:template match="sol-def:smf_test/sol-def:state" priority="1000" mode="M448">
5081
5082 <!--ASSERT -->
5083 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/sol-def:smf_state/@id"/><axsl:otherwise>
5084 <axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a smf_test must reference a smf_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M448"/></axsl:template><axsl:template match="text()" priority="-1" mode="M448"/><axsl:template match="@*|node()" priority="-2" mode="M448"><axsl:apply-templates select="@*|*" mode="M448"/></axsl:template>
5085
5086 <!--PATTERN sol-def_smf_object_verify_filter_state-->
5087
5088
5089 <!--RULE -->
5090 <axsl:template match="sol-def:smf_object//oval-def:filter" priority="1000" mode="M449"><axsl:variable name="parent_object" select="ancestor::sol-def:smf_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
5091
5092 <!--ASSERT -->
5093 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#solaris') and ($state_name='smf_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M449"/></axsl:template><axsl:template match="text()" priority="-1" mode="M449"/><axsl:template match="@*|node()" priority="-2" mode="M449"><axsl:apply-templates select="@*|*" mode="M449"/></axsl:template>
5094
5095 <!--PATTERN sol-def_smfproperty_test-->
5096
5097
5098 <!--RULE -->
5099 <axsl:template match="sol-def:smfproperty_test/sol-def:object" priority="1001" mode="M450">
5100
5101 <!--ASSERT -->
5102 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/sol-def:smfproperty_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an smfproperty_test must reference an smfproperty_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M450"/></axsl:template>
5103
5104 <!--RULE -->
5105 <axsl:template match="sol-def:smfproperty_test/sol-def:state" priority="1000" mode="M450">
5106
5107 <!--ASSERT -->
5108 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/sol-def:smfproperty_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an smfproperty_test must reference an smfproperty_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M450"/></axsl:template><axsl:template match="text()" priority="-1" mode="M450"/><axsl:template match="@*|node()" priority="-2" mode="M450"><axsl:apply-templates select="@*|*" mode="M450"/></axsl:template>
5109
5110 <!--PATTERN sol-def_smfproperty_object_verify_filter_state-->
5111
5112
5113 <!--RULE -->
5114 <axsl:template match="sol-def:smfproperty_object//oval-def:filter" priority="1000" mode="M451"><axsl:variable name="parent_object" select="ancestor::sol-def:smfproperty_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
5115
5116 <!--ASSERT -->
5117 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#solaris') and ($state_name='smfproperty_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M451"/></axsl:template><axsl:template match="text()" priority="-1" mode="M451"/><axsl:template match="@*|node()" priority="-2" mode="M451"><axsl:apply-templates select="@*|*" mode="M451"/></axsl:template>
5118
5119 <!--PATTERN sol-def_variant_test-->
5120
5121
5122 <!--RULE -->
5123 <axsl:template match="sol-def:variant_test/sol-def:object" priority="1001" mode="M452">
5124
5125 <!--ASSERT -->
5126 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/sol-def:variant_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an variant_test must reference a variant_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M452"/></axsl:template>
5127
5128 <!--RULE -->
5129 <axsl:template match="sol-def:variant_test/sol-def:state" priority="1000" mode="M452">
5130
5131 <!--ASSERT -->
5132 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/sol-def:variant_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an variant_test must reference a variant_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M452"/></axsl:template><axsl:template match="text()" priority="-1" mode="M452"/><axsl:template match="@*|node()" priority="-2" mode="M452"><axsl:apply-templates select="@*|*" mode="M452"/></axsl:template>
5133
5134 <!--PATTERN sol-def_variant_object_verify_filter_state-->
5135
5136
5137 <!--RULE -->
5138 <axsl:template match="sol-def:variant_object//oval-def:filter" priority="1000" mode="M453"><axsl:variable name="parent_object" select="ancestor::sol-def:variant_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
5139
5140 <!--ASSERT -->
5141 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#solaris') and ($state_name='variant_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M453"/></axsl:template><axsl:template match="text()" priority="-1" mode="M453"/><axsl:template match="@*|node()" priority="-2" mode="M453"><axsl:apply-templates select="@*|*" mode="M453"/></axsl:template>
5142
5143 <!--PATTERN sol-def_virtualizationinfo_test-->
5144
5145
5146 <!--RULE -->
5147 <axsl:template match="sol-def:virtualizationinfo_test/sol-def:object" priority="1001" mode="M454">
5148
5149 <!--ASSERT -->
5150 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/sol-def:virtualizationinfo_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an virtualizationinfo_test must reference a virtualizationinfo_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M454"/></axsl:template>
5151
5152 <!--RULE -->
5153 <axsl:template match="sol-def:virtualizationinfo_test/sol-def:state" priority="1000" mode="M454">
5154
5155 <!--ASSERT -->
5156 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/sol-def:virtualizationinfo_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an virtualizationinfo_test must reference a virtualizationinfo_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M454"/></axsl:template><axsl:template match="text()" priority="-1" mode="M454"/><axsl:template match="@*|node()" priority="-2" mode="M454"><axsl:apply-templates select="@*|*" mode="M454"/></axsl:template>
5157
5158 <!--PATTERN sol-def_virtualizationinfo_object_verify_filter_state-->
5159
5160
5161 <!--RULE -->
5162 <axsl:template match="sol-def:virtualizationinfo_object//oval-def:filter" priority="1000" mode="M455"><axsl:variable name="parent_object" select="ancestor::sol-def:virtualizationinfo_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
5163
5164 <!--ASSERT -->
5165 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#solaris') and ($state_name='virtualizationinfo_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M455"/></axsl:template><axsl:template match="text()" priority="-1" mode="M455"/><axsl:template match="@*|node()" priority="-2" mode="M455"><axsl:apply-templates select="@*|*" mode="M455"/></axsl:template>
5166
5167 <!--PATTERN unix-def_dnscachetst-->
5168
5169
5170 <!--RULE -->
5171 <axsl:template match="unix-def:dnscache_test/unix-def:object" priority="1001" mode="M456">
5172
5173 <!--ASSERT -->
5174 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/unix-def:dnscache_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a dnscache_test must reference a dnscache_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M456"/></axsl:template>
5175
5176 <!--RULE -->
5177 <axsl:template match="unix-def:dnscache_test/unix-def:state" priority="1000" mode="M456">
5178
5179 <!--ASSERT -->
5180 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/unix-def:dnscache_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a dnscache_test must reference a dnscache_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M456"/></axsl:template><axsl:template match="text()" priority="-1" mode="M456"/><axsl:template match="@*|node()" priority="-2" mode="M456"><axsl:apply-templates select="@*|*" mode="M456"/></axsl:template>
5181
5182 <!--PATTERN unix-def_dnscache_object_verify_filter_state-->
5183
5184
5185 <!--RULE -->
5186 <axsl:template match="unix-def:dnscache_object//oval-def:filter" priority="1000" mode="M457"><axsl:variable name="parent_object" select="ancestor::unix-def:dnscache_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
5187
5188 <!--ASSERT -->
5189 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#unix') and ($state_name='dnscache_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M457"/></axsl:template><axsl:template match="text()" priority="-1" mode="M457"/><axsl:template match="@*|node()" priority="-2" mode="M457"><axsl:apply-templates select="@*|*" mode="M457"/></axsl:template>
5190
5191 <!--PATTERN unix-def_filetst-->
5192
5193
5194 <!--RULE -->
5195 <axsl:template match="unix-def:file_test/unix-def:object" priority="1001" mode="M458">
5196
5197 <!--ASSERT -->
5198 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/unix-def:file_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a file_test must reference a file_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M458"/></axsl:template>
5199
5200 <!--RULE -->
5201 <axsl:template match="unix-def:file_test/unix-def:state" priority="1000" mode="M458">
5202
5203 <!--ASSERT -->
5204 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/unix-def:file_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a file_test must reference a file_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M458"/></axsl:template><axsl:template match="text()" priority="-1" mode="M458"/><axsl:template match="@*|node()" priority="-2" mode="M458"><axsl:apply-templates select="@*|*" mode="M458"/></axsl:template>
5205
5206 <!--PATTERN unix-def_file_object_verify_filter_state-->
5207
5208
5209 <!--RULE -->
5210 <axsl:template match="unix-def:file_object//oval-def:filter" priority="1000" mode="M459"><axsl:variable name="parent_object" select="ancestor::unix-def:file_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
5211
5212 <!--ASSERT -->
5213 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#unix') and ($state_name='file_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M459"/></axsl:template><axsl:template match="text()" priority="-1" mode="M459"/><axsl:template match="@*|node()" priority="-2" mode="M459"><axsl:apply-templates select="@*|*" mode="M459"/></axsl:template>
5214
5215 <!--PATTERN unix-def_fileobjfilepath-->
5216
5217
5218 <!--RULE -->
5219 <axsl:template match="unix-def:file_object/unix-def:filepath" priority="1000" mode="M460">
5220
5221 <!--ASSERT -->
5222 <axsl:choose><axsl:when test="not(preceding-sibling::unix-def:behaviors[@max_depth or @recurse or @recurse_direction])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the max_depth, recurse, and recurse_direction behaviors are not allowed with a filepath entity<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M460"/></axsl:template><axsl:template match="text()" priority="-1" mode="M460"/><axsl:template match="@*|node()" priority="-2" mode="M460"><axsl:apply-templates select="@*|*" mode="M460"/></axsl:template>
5223
5224 <!--PATTERN unix-def_fileobjfilepath2-->
5225
5226
5227 <!--RULE -->
5228 <axsl:template match="unix-def:file_object/unix-def:filepath[not(@operation='equals' or not(@operation))]" priority="1000" mode="M461">
5229
5230 <!--ASSERT -->
5231 <axsl:choose><axsl:when test="not(preceding-sibling::unix-def:behaviors[@recurse_file_system='defined'])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_file_system behavior MUST not be set to 'defined' when a pattern match is used with a filepath entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M461"/></axsl:template><axsl:template match="text()" priority="-1" mode="M461"/><axsl:template match="@*|node()" priority="-2" mode="M461"><axsl:apply-templates select="@*|*" mode="M461"/></axsl:template>
5232
5233 <!--PATTERN unix-def_fileobjpath-->
5234
5235
5236 <!--RULE -->
5237 <axsl:template match="unix-def:file_object/unix-def:path[not(@operation='equals' or not(@operation))]" priority="1000" mode="M462">
5238
5239 <!--ASSERT -->
5240 <axsl:choose><axsl:when test="not(preceding-sibling::unix-def:behaviors[@recurse_file_system='defined'])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_file_system behavior MUST not be set to 'defined' when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
5241
5242 <!--ASSERT -->
5243 <axsl:choose><axsl:when test="not(preceding-sibling::unix-def:behaviors[@max_depth])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the max_depth behavior MUST not be used when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
5244
5245 <!--ASSERT -->
5246 <axsl:choose><axsl:when test="not(preceding-sibling::unix-def:behaviors[@recurse_direction])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_direction behavior MUST not be used when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
5247
5248 <!--ASSERT -->
5249 <axsl:choose><axsl:when test="not(preceding-sibling::unix-def:behaviors[@recurse])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse behavior MUST not be used when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M462"/></axsl:template><axsl:template match="text()" priority="-1" mode="M462"/><axsl:template match="@*|node()" priority="-2" mode="M462"><axsl:apply-templates select="@*|*" mode="M462"/></axsl:template>
5250
5251 <!--PATTERN unix-def_file_objectfilename-->
5252
5253
5254 <!--RULE -->
5255 <axsl:template match="unix-def:file_object/unix-def:filename" priority="1000" mode="M463">
5256
5257 <!--ASSERT -->
5258 <axsl:choose><axsl:when test="(@var_ref and .='') or (@xsi:nil='1' or @xsi:nil='true') or not(.='') or (.='' and @operation = 'pattern match')"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - filename entity cannot be empty unless the xsi:nil attribute is set to true or a var_ref is used<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M463"/></axsl:template><axsl:template match="text()" priority="-1" mode="M463"/><axsl:template match="@*|node()" priority="-2" mode="M463"><axsl:apply-templates select="@*|*" mode="M463"/></axsl:template>
5259
5260 <!--PATTERN unix-def_file_gid-->
5261
5262
5263 <!--RULE -->
5264 <axsl:template match="unix-def:file_state/unix-def:group_id" priority="1000" mode="M464">
5265
5266 <!--ASSERT -->
5267 <axsl:choose><axsl:when test="string-length(.) = 0 or number(.) &lt; 0"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the value of group_id must be greater than zero<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M464"/></axsl:template><axsl:template match="text()" priority="-1" mode="M464"/><axsl:template match="@*|node()" priority="-2" mode="M464"><axsl:apply-templates select="@*|*" mode="M464"/></axsl:template>
5268
5269 <!--PATTERN unix-def_file_uid-->
5270
5271
5272 <!--RULE -->
5273 <axsl:template match="unix-def:file_state/unix-def:user_id" priority="1000" mode="M465">
5274
5275 <!--ASSERT -->
5276 <axsl:choose><axsl:when test="string-length(.) = 0 or number(.) &lt; 0"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the value of user_id must be greater than zero<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M465"/></axsl:template><axsl:template match="text()" priority="-1" mode="M465"/><axsl:template match="@*|node()" priority="-2" mode="M465"><axsl:apply-templates select="@*|*" mode="M465"/></axsl:template>
5277
5278 <!--PATTERN unix-def_recurse_value_file_dep-->
5279
5280
5281 <!--RULE -->
5282 <axsl:template match="oval-def:oval_definitions/oval-def:objects/unix-def:file_object/unix-def:behaviors" priority="1000" mode="M466">
5283
5284 <!--REPORT -->
5285 <axsl:if test="@recurse='files'">DEPRECATED ATTRIBUTE VALUE IN: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ATTRIBUTE VALUE: <axsl:text/><axsl:value-of select="@recurse"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if>
5286
5287 <!--REPORT -->
5288 <axsl:if test="@recurse='files and directories'">DEPRECATED ATTRIBUTE VALUE IN: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ATTRIBUTE VALUE: <axsl:text/><axsl:value-of select="@recurse"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if>
5289
5290 <!--REPORT -->
5291 <axsl:if test="@recurse='none'"> DEPRECATED ATTRIBUTE VALUE IN: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ATTRIBUTE VALUE: <axsl:text/><axsl:value-of select="@recurse"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M466"/></axsl:template><axsl:template match="text()" priority="-1" mode="M466"/><axsl:template match="@*|node()" priority="-2" mode="M466"><axsl:apply-templates select="@*|*" mode="M466"/></axsl:template>
5292
5293 <!--PATTERN unix-def_file_ea_tst-->
5294
5295
5296 <!--RULE -->
5297 <axsl:template match="unix-def:filextendedattribute_test/unix-def:object" priority="1001" mode="M467">
5298
5299 <!--ASSERT -->
5300 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/unix-def:fileextendedattribute_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a fileextendedattribute_test must reference a fileextendedattribute_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M467"/></axsl:template>
5301
5302 <!--RULE -->
5303 <axsl:template match="unix-def:fileextendedattribute_test/unix-def:state" priority="1000" mode="M467">
5304
5305 <!--ASSERT -->
5306 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/unix-def:fileextendedattribute_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a fileextendedattribute_test must reference a fileextendedattribute_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M467"/></axsl:template><axsl:template match="text()" priority="-1" mode="M467"/><axsl:template match="@*|node()" priority="-2" mode="M467"><axsl:apply-templates select="@*|*" mode="M467"/></axsl:template>
5307
5308 <!--PATTERN unix-def_fileextendedattribute_object_verify_filter_state-->
5309
5310
5311 <!--RULE -->
5312 <axsl:template match="unix-def:fileextendedattribute_object//oval-def:filter" priority="1000" mode="M468"><axsl:variable name="parent_object" select="ancestor::unix-def:fileextendedattribute_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
5313
5314 <!--ASSERT -->
5315 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#unix') and ($state_name='fileextendedattribute_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M468"/></axsl:template><axsl:template match="text()" priority="-1" mode="M468"/><axsl:template match="@*|node()" priority="-2" mode="M468"><axsl:apply-templates select="@*|*" mode="M468"/></axsl:template>
5316
5317 <!--PATTERN unix-def_file_ea_objfilepath-->
5318
5319
5320 <!--RULE -->
5321 <axsl:template match="unix-def:fileextendedattribute_object/unix-def:filepath" priority="1000" mode="M469">
5322
5323 <!--ASSERT -->
5324 <axsl:choose><axsl:when test="not(preceding-sibling::unix-def:behaviors[@max_depth or @recurse or @recurse_direction])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the max_depth, recurse, and recurse_direction behaviors are not allowed with a filepath entity<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M469"/></axsl:template><axsl:template match="text()" priority="-1" mode="M469"/><axsl:template match="@*|node()" priority="-2" mode="M469"><axsl:apply-templates select="@*|*" mode="M469"/></axsl:template>
5325
5326 <!--PATTERN unix-def_file_ea_objfilepath2-->
5327
5328
5329 <!--RULE -->
5330 <axsl:template match="unix-def:fileextendedattribute_object/unix-def:filepath[not(@operation='equals' or not(@operation))]" priority="1000" mode="M470">
5331
5332 <!--ASSERT -->
5333 <axsl:choose><axsl:when test="not(preceding-sibling::unix-def:behaviors[@recurse_file_system='defined'])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_file_system behavior MUST not be set to 'defined' when a pattern match is used with a filepath entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M470"/></axsl:template><axsl:template match="text()" priority="-1" mode="M470"/><axsl:template match="@*|node()" priority="-2" mode="M470"><axsl:apply-templates select="@*|*" mode="M470"/></axsl:template>
5334
5335 <!--PATTERN unix-def_file_ea_objpath-->
5336
5337
5338 <!--RULE -->
5339 <axsl:template match="unix-def:fileextendedattribute_object/unix-def:path[not(@operation='equals' or not(@operation))]" priority="1000" mode="M471">
5340
5341 <!--ASSERT -->
5342 <axsl:choose><axsl:when test="not(preceding-sibling::unix-def:behaviors[@recurse_file_system='defined'])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_file_system behavior MUST not be set to 'defined' when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
5343
5344 <!--ASSERT -->
5345 <axsl:choose><axsl:when test="not(preceding-sibling::unix-def:behaviors[@max_depth])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the max_depth behavior MUST not be used when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
5346
5347 <!--ASSERT -->
5348 <axsl:choose><axsl:when test="not(preceding-sibling::unix-def:behaviors[@recurse_direction])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_direction behavior MUST not be used when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
5349
5350 <!--ASSERT -->
5351 <axsl:choose><axsl:when test="not(preceding-sibling::unix-def:behaviors[@recurse])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse behavior MUST not be used when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M471"/></axsl:template><axsl:template match="text()" priority="-1" mode="M471"/><axsl:template match="@*|node()" priority="-2" mode="M471"><axsl:apply-templates select="@*|*" mode="M471"/></axsl:template>
5352
5353 <!--PATTERN unix-def_fileextendedattribute_objectfilename-->
5354
5355
5356 <!--RULE -->
5357 <axsl:template match="unix-def:fileextendedattribute_object/unix-def:filename" priority="1000" mode="M472">
5358
5359 <!--ASSERT -->
5360 <axsl:choose><axsl:when test="(@var_ref and .='') or ((@xsi:nil='1' or @xsi:nil='true') and .='') or not(.='') or (.='' and @operation = 'pattern match')"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - filename entity cannot be empty unless the xsi:nil attribute is set to true or a var_ref is used<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M472"/></axsl:template><axsl:template match="text()" priority="-1" mode="M472"/><axsl:template match="@*|node()" priority="-2" mode="M472"><axsl:apply-templates select="@*|*" mode="M472"/></axsl:template>
5361
5362 <!--PATTERN unix-def_gconf_test-->
5363
5364
5365 <!--RULE -->
5366 <axsl:template match="unix-def:gconf_test/unix-def:object" priority="1001" mode="M473">
5367
5368 <!--ASSERT -->
5369 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/unix-def:gconf_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a gconf_test must reference an gconf_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M473"/></axsl:template>
5370
5371 <!--RULE -->
5372 <axsl:template match="unix-def:gconf_test/unix-def:state" priority="1000" mode="M473">
5373
5374 <!--ASSERT -->
5375 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/unix-def:gconf_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a gconf_test must reference an gconf_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M473"/></axsl:template><axsl:template match="text()" priority="-1" mode="M473"/><axsl:template match="@*|node()" priority="-2" mode="M473"><axsl:apply-templates select="@*|*" mode="M473"/></axsl:template>
5376
5377 <!--PATTERN unix-def_gconf_object_verify_filter_state-->
5378
5379
5380 <!--RULE -->
5381 <axsl:template match="unix-def:gconf_object//oval-def:filter" priority="1000" mode="M474"><axsl:variable name="parent_object" select="ancestor::unix-def:gconf_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
5382
5383 <!--ASSERT -->
5384 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#unix') and ($state_name='gconf_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M474"/></axsl:template><axsl:template match="text()" priority="-1" mode="M474"/><axsl:template match="@*|node()" priority="-2" mode="M474"><axsl:apply-templates select="@*|*" mode="M474"/></axsl:template>
5385
5386 <!--PATTERN unix-def_gconfobjsource-->
5387
5388
5389 <!--RULE -->
5390 <axsl:template match="unix-def:gconf_object/unix-def:source" priority="1000" mode="M475">
5391
5392 <!--ASSERT -->
5393 <axsl:choose><axsl:when test="not(@operation) or @operation='equals'"/><axsl:otherwise>
5394 <axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - operation attribute for the source entity of a gconf_object should be 'equals'
5395 <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M475"/></axsl:template><axsl:template match="text()" priority="-1" mode="M475"/><axsl:template match="@*|node()" priority="-2" mode="M475"><axsl:apply-templates select="@*|*" mode="M475"/></axsl:template>
5396
5397 <!--PATTERN unix-def_inetdtst-->
5398
5399
5400 <!--RULE -->
5401 <axsl:template match="unix-def:inetd_test/unix-def:object" priority="1001" mode="M476">
5402
5403 <!--ASSERT -->
5404 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/unix-def:inetd_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an inetd_test must reference an inetd_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M476"/></axsl:template>
5405
5406 <!--RULE -->
5407 <axsl:template match="unix-def:inetd_test/unix-def:state" priority="1000" mode="M476">
5408
5409 <!--ASSERT -->
5410 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/unix-def:inetd_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an inetd_test must reference an inetd_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M476"/></axsl:template><axsl:template match="text()" priority="-1" mode="M476"/><axsl:template match="@*|node()" priority="-2" mode="M476"><axsl:apply-templates select="@*|*" mode="M476"/></axsl:template>
5411
5412 <!--PATTERN unix-def_inetd_object_verify_filter_state-->
5413
5414
5415 <!--RULE -->
5416 <axsl:template match="unix-def:inetd_object//oval-def:filter" priority="1000" mode="M477"><axsl:variable name="parent_object" select="ancestor::unix-def:inetd_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
5417
5418 <!--ASSERT -->
5419 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#unix') and ($state_name='inetd_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M477"/></axsl:template><axsl:template match="text()" priority="-1" mode="M477"/><axsl:template match="@*|node()" priority="-2" mode="M477"><axsl:apply-templates select="@*|*" mode="M477"/></axsl:template>
5420
5421 <!--PATTERN unix-def_interfacetst-->
5422
5423
5424 <!--RULE -->
5425 <axsl:template match="unix-def:interface_test/unix-def:object" priority="1001" mode="M478">
5426
5427 <!--ASSERT -->
5428 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/unix-def:interface_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an interface_test must reference an interface_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M478"/></axsl:template>
5429
5430 <!--RULE -->
5431 <axsl:template match="unix-def:interface_test/unix-def:state" priority="1000" mode="M478">
5432
5433 <!--ASSERT -->
5434 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/unix-def:interface_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an interface_test must reference an interface_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M478"/></axsl:template><axsl:template match="text()" priority="-1" mode="M478"/><axsl:template match="@*|node()" priority="-2" mode="M478"><axsl:apply-templates select="@*|*" mode="M478"/></axsl:template>
5435
5436 <!--PATTERN unix-def_interface_object_verify_filter_state-->
5437
5438
5439 <!--RULE -->
5440 <axsl:template match="unix-def:interface_object//oval-def:filter" priority="1000" mode="M479"><axsl:variable name="parent_object" select="ancestor::unix-def:interface_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
5441
5442 <!--ASSERT -->
5443 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#unix') and ($state_name='interface_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M479"/></axsl:template><axsl:template match="text()" priority="-1" mode="M479"/><axsl:template match="@*|node()" priority="-2" mode="M479"><axsl:apply-templates select="@*|*" mode="M479"/></axsl:template>
5444
5445 <!--PATTERN unix-def_passwordtst-->
5446
5447
5448 <!--RULE -->
5449 <axsl:template match="unix-def:password_test/unix-def:object" priority="1001" mode="M480">
5450
5451 <!--ASSERT -->
5452 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/unix-def:password_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a password_test must reference a password_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M480"/></axsl:template>
5453
5454 <!--RULE -->
5455 <axsl:template match="unix-def:password_test/unix-def:state" priority="1000" mode="M480">
5456
5457 <!--ASSERT -->
5458 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/unix-def:password_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a password_test must reference a password_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M480"/></axsl:template><axsl:template match="text()" priority="-1" mode="M480"/><axsl:template match="@*|node()" priority="-2" mode="M480"><axsl:apply-templates select="@*|*" mode="M480"/></axsl:template>
5459
5460 <!--PATTERN unix-def_password_object_verify_filter_state-->
5461
5462
5463 <!--RULE -->
5464 <axsl:template match="unix-def:password_object//oval-def:filter" priority="1000" mode="M481"><axsl:variable name="parent_object" select="ancestor::unix-def:password_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
5465
5466 <!--ASSERT -->
5467 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#unix') and ($state_name='password_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M481"/></axsl:template><axsl:template match="text()" priority="-1" mode="M481"/><axsl:template match="@*|node()" priority="-2" mode="M481"><axsl:apply-templates select="@*|*" mode="M481"/></axsl:template>
5468
5469 <!--PATTERN unix-def_processtst_dep-->
5470
5471
5472 <!--RULE -->
5473 <axsl:template match="unix-def:process_test" priority="1000" mode="M482">
5474
5475 <!--REPORT -->
5476 <axsl:if test="true()">DEPRECATED TEST: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M482"/></axsl:template><axsl:template match="text()" priority="-1" mode="M482"/><axsl:template match="@*|node()" priority="-2" mode="M482"><axsl:apply-templates select="@*|*" mode="M482"/></axsl:template>
5477
5478 <!--PATTERN unix-def_processtst-->
5479
5480
5481 <!--RULE -->
5482 <axsl:template match="unix-def:process_test/unix-def:object" priority="1001" mode="M483">
5483
5484 <!--ASSERT -->
5485 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/unix-def:process_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a process_test must reference a process_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M483"/></axsl:template>
5486
5487 <!--RULE -->
5488 <axsl:template match="unix-def:process_test/unix-def:state" priority="1000" mode="M483">
5489
5490 <!--ASSERT -->
5491 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/unix-def:process_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a process_test must reference a process_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M483"/></axsl:template><axsl:template match="text()" priority="-1" mode="M483"/><axsl:template match="@*|node()" priority="-2" mode="M483"><axsl:apply-templates select="@*|*" mode="M483"/></axsl:template>
5492
5493 <!--PATTERN unix-def_processobj_dep-->
5494
5495
5496 <!--RULE -->
5497 <axsl:template match="unix-def:process_object" priority="1000" mode="M484">
5498
5499 <!--REPORT -->
5500 <axsl:if test="true()">DEPRECATED OBJECT: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M484"/></axsl:template><axsl:template match="text()" priority="-1" mode="M484"/><axsl:template match="@*|node()" priority="-2" mode="M484"><axsl:apply-templates select="@*|*" mode="M484"/></axsl:template>
5501
5502 <!--PATTERN unix-def_processste_dep-->
5503
5504
5505 <!--RULE -->
5506 <axsl:template match="unix-def:process_state" priority="1000" mode="M485">
5507
5508 <!--REPORT -->
5509 <axsl:if test="true()">DEPRECATED STATE: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M485"/></axsl:template><axsl:template match="text()" priority="-1" mode="M485"/><axsl:template match="@*|node()" priority="-2" mode="M485"><axsl:apply-templates select="@*|*" mode="M485"/></axsl:template>
5510
5511 <!--PATTERN unix-def_process58tst-->
5512
5513
5514 <!--RULE -->
5515 <axsl:template match="unix-def:process58_test/unix-def:object" priority="1001" mode="M486">
5516
5517 <!--ASSERT -->
5518 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/unix-def:process58_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a process58_test must reference a process58_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M486"/></axsl:template>
5519
5520 <!--RULE -->
5521 <axsl:template match="unix-def:process58_test/unix-def:state" priority="1000" mode="M486">
5522
5523 <!--ASSERT -->
5524 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/unix-def:process58_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a process58_test must reference a process58_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M486"/></axsl:template><axsl:template match="text()" priority="-1" mode="M486"/><axsl:template match="@*|node()" priority="-2" mode="M486"><axsl:apply-templates select="@*|*" mode="M486"/></axsl:template>
5525
5526 <!--PATTERN unix-def_process58_object_verify_filter_state-->
5527
5528
5529 <!--RULE -->
5530 <axsl:template match="unix-def:process58_object//oval-def:filter" priority="1000" mode="M487"><axsl:variable name="parent_object" select="ancestor::unix-def:process58_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
5531
5532 <!--ASSERT -->
5533 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#unix') and ($state_name='process58_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M487"/></axsl:template><axsl:template match="text()" priority="-1" mode="M487"/><axsl:template match="@*|node()" priority="-2" mode="M487"><axsl:apply-templates select="@*|*" mode="M487"/></axsl:template>
5534
5535 <!--PATTERN unix-def_routingtable_test-->
5536
5537
5538 <!--RULE -->
5539 <axsl:template match="unix-def:routingtable_test/unix-def:object" priority="1001" mode="M488">
5540
5541 <!--ASSERT -->
5542 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/unix-def:routingtable_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a routingtable_test must reference an routingtable_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M488"/></axsl:template>
5543
5544 <!--RULE -->
5545 <axsl:template match="unix-def:routingtable_test/unix-def:state" priority="1000" mode="M488">
5546
5547 <!--ASSERT -->
5548 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/unix-def:routingtable_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a routingtable_test must reference an routingtable_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M488"/></axsl:template><axsl:template match="text()" priority="-1" mode="M488"/><axsl:template match="@*|node()" priority="-2" mode="M488"><axsl:apply-templates select="@*|*" mode="M488"/></axsl:template>
5549
5550 <!--PATTERN unix-def_routingtable_object_verify_filter_state-->
5551
5552
5553 <!--RULE -->
5554 <axsl:template match="unix-def:routingtable_object//oval-def:filter" priority="1000" mode="M489"><axsl:variable name="parent_object" select="ancestor::unix-def:routingtable_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
5555
5556 <!--ASSERT -->
5557 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#unix') and ($state_name='routingtable_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M489"/></axsl:template><axsl:template match="text()" priority="-1" mode="M489"/><axsl:template match="@*|node()" priority="-2" mode="M489"><axsl:apply-templates select="@*|*" mode="M489"/></axsl:template>
5558
5559 <!--PATTERN unix-def_runleveltst-->
5560
5561
5562 <!--RULE -->
5563 <axsl:template match="unix-def:runlevel_test/unix-def:object" priority="1001" mode="M490">
5564
5565 <!--ASSERT -->
5566 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/unix-def:runlevel_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a runlevel_test must reference a runlevel_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M490"/></axsl:template>
5567
5568 <!--RULE -->
5569 <axsl:template match="unix-def:runlevel_test/unix-def:state" priority="1000" mode="M490">
5570
5571 <!--ASSERT -->
5572 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/unix-def:runlevel_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a runlevel_test must reference a runlevel_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M490"/></axsl:template><axsl:template match="text()" priority="-1" mode="M490"/><axsl:template match="@*|node()" priority="-2" mode="M490"><axsl:apply-templates select="@*|*" mode="M490"/></axsl:template>
5573
5574 <!--PATTERN unix-def_runlevel_object_verify_filter_state-->
5575
5576
5577 <!--RULE -->
5578 <axsl:template match="unix-def:runlevel_object//oval-def:filter" priority="1000" mode="M491"><axsl:variable name="parent_object" select="ancestor::unix-def:runlevel_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
5579
5580 <!--ASSERT -->
5581 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#unix') and ($state_name='runlevel_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M491"/></axsl:template><axsl:template match="text()" priority="-1" mode="M491"/><axsl:template match="@*|node()" priority="-2" mode="M491"><axsl:apply-templates select="@*|*" mode="M491"/></axsl:template>
5582
5583 <!--PATTERN unix-def_sccstst_dep-->
5584
5585
5586 <!--RULE -->
5587 <axsl:template match="unix-def:sccs_test" priority="1000" mode="M492">
5588
5589 <!--REPORT -->
5590 <axsl:if test="true()">DEPRECATED TEST: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M492"/></axsl:template><axsl:template match="text()" priority="-1" mode="M492"/><axsl:template match="@*|node()" priority="-2" mode="M492"><axsl:apply-templates select="@*|*" mode="M492"/></axsl:template>
5591
5592 <!--PATTERN unix-def_sccstst-->
5593
5594
5595 <!--RULE -->
5596 <axsl:template match="unix-def:sccs_test/unix-def:object" priority="1001" mode="M493">
5597
5598 <!--ASSERT -->
5599 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/unix-def:sccs_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a sccs_test must reference a sccs_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M493"/></axsl:template>
5600
5601 <!--RULE -->
5602 <axsl:template match="unix-def:sccs_test/unix-def:state" priority="1000" mode="M493">
5603
5604 <!--ASSERT -->
5605 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/unix-def:sccs_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a sccs_test must reference a sccs_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M493"/></axsl:template><axsl:template match="text()" priority="-1" mode="M493"/><axsl:template match="@*|node()" priority="-2" mode="M493"><axsl:apply-templates select="@*|*" mode="M493"/></axsl:template>
5606
5607 <!--PATTERN unix-def_sccsobj_dep-->
5608
5609
5610 <!--RULE -->
5611 <axsl:template match="unix-def:sccs_object" priority="1000" mode="M494">
5612
5613 <!--REPORT -->
5614 <axsl:if test="true()">DEPRECATED OBJECT: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M494"/></axsl:template><axsl:template match="text()" priority="-1" mode="M494"/><axsl:template match="@*|node()" priority="-2" mode="M494"><axsl:apply-templates select="@*|*" mode="M494"/></axsl:template>
5615
5616 <!--PATTERN unix-def_sccs_object_verify_filter_state-->
5617
5618
5619 <!--RULE -->
5620 <axsl:template match="unix-def:sccs_object//oval-def:filter" priority="1000" mode="M495"><axsl:variable name="parent_object" select="ancestor::unix-def:sccs_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
5621
5622 <!--ASSERT -->
5623 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#unix') and ($state_name='sccs_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M495"/></axsl:template><axsl:template match="text()" priority="-1" mode="M495"/><axsl:template match="@*|node()" priority="-2" mode="M495"><axsl:apply-templates select="@*|*" mode="M495"/></axsl:template>
5624
5625 <!--PATTERN unix-def_sccsobjfilepath-->
5626
5627
5628 <!--RULE -->
5629 <axsl:template match="unix-def:sccs_object/unix-def:filepath" priority="1000" mode="M496">
5630
5631 <!--ASSERT -->
5632 <axsl:choose><axsl:when test="not(preceding-sibling::unix-def:behaviors[@max_depth or @recurse or @recurse_direction])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the max_depth, recurse, and recurse_direction behaviors are not allowed with a filepath entity<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M496"/></axsl:template><axsl:template match="text()" priority="-1" mode="M496"/><axsl:template match="@*|node()" priority="-2" mode="M496"><axsl:apply-templates select="@*|*" mode="M496"/></axsl:template>
5633
5634 <!--PATTERN unix-def_sccsobjfilepath2-->
5635
5636
5637 <!--RULE -->
5638 <axsl:template match="unix-def:sccs_object/unix-def:filepath[not(@operation='equals' or not(@operation))]" priority="1000" mode="M497">
5639
5640 <!--ASSERT -->
5641 <axsl:choose><axsl:when test="not(preceding-sibling::unix-def:behaviors[@recurse_file_system='defined'])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_file_system behavior MUST not be set to 'defined' when a pattern match is used with a filepath entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M497"/></axsl:template><axsl:template match="text()" priority="-1" mode="M497"/><axsl:template match="@*|node()" priority="-2" mode="M497"><axsl:apply-templates select="@*|*" mode="M497"/></axsl:template>
5642
5643 <!--PATTERN unix-def_sccsobjpath-->
5644
5645
5646 <!--RULE -->
5647 <axsl:template match="unix-def:sccs_object/unix-def:path[not(@operation='equals' or not(@operation))]" priority="1000" mode="M498">
5648
5649 <!--ASSERT -->
5650 <axsl:choose><axsl:when test="not(preceding-sibling::unix-def:behaviors[@recurse_file_system='defined'])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_file_system behavior MUST not be set to 'defined' when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
5651
5652 <!--ASSERT -->
5653 <axsl:choose><axsl:when test="not(preceding-sibling::unix-def:behaviors[@max_depth])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the max_depth behavior MUST not be used when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
5654
5655 <!--ASSERT -->
5656 <axsl:choose><axsl:when test="not(preceding-sibling::unix-def:behaviors[@recurse_direction])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_direction behavior MUST not be used when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
5657
5658 <!--ASSERT -->
5659 <axsl:choose><axsl:when test="not(preceding-sibling::unix-def:behaviors[@recurse])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse behavior MUST not be used when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M498"/></axsl:template><axsl:template match="text()" priority="-1" mode="M498"/><axsl:template match="@*|node()" priority="-2" mode="M498"><axsl:apply-templates select="@*|*" mode="M498"/></axsl:template>
5660
5661 <!--PATTERN unix-def_sccs_objectfilename-->
5662
5663
5664 <!--RULE -->
5665 <axsl:template match="unix-def:sccs_object/unix-def:filename" priority="1000" mode="M499">
5666
5667 <!--ASSERT -->
5668 <axsl:choose><axsl:when test="(@var_ref and .='') or not(.='') or (.='' and @operation = 'pattern match')"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - filename entity cannot be empty unless the xsi:nil attribute is set to true or a var_ref is used<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M499"/></axsl:template><axsl:template match="text()" priority="-1" mode="M499"/><axsl:template match="@*|node()" priority="-2" mode="M499"><axsl:apply-templates select="@*|*" mode="M499"/></axsl:template>
5669
5670 <!--PATTERN unix-def_sccsste_dep-->
5671
5672
5673 <!--RULE -->
5674 <axsl:template match="unix-def:sccs_state" priority="1000" mode="M500">
5675
5676 <!--REPORT -->
5677 <axsl:if test="true()">DEPRECATED STATE: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M500"/></axsl:template><axsl:template match="text()" priority="-1" mode="M500"/><axsl:template match="@*|node()" priority="-2" mode="M500"><axsl:apply-templates select="@*|*" mode="M500"/></axsl:template>
5678
5679 <!--PATTERN unix-def_shadowtst-->
5680
5681
5682 <!--RULE -->
5683 <axsl:template match="unix-def:shadow_test/unix-def:object" priority="1001" mode="M501">
5684
5685 <!--ASSERT -->
5686 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/unix-def:shadow_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a shadow_test must reference a shadow_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M501"/></axsl:template>
5687
5688 <!--RULE -->
5689 <axsl:template match="unix-def:shadow_test/unix-def:state" priority="1000" mode="M501">
5690
5691 <!--ASSERT -->
5692 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/unix-def:shadow_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a shadow_test must reference a shadow_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M501"/></axsl:template><axsl:template match="text()" priority="-1" mode="M501"/><axsl:template match="@*|node()" priority="-2" mode="M501"><axsl:apply-templates select="@*|*" mode="M501"/></axsl:template>
5693
5694 <!--PATTERN unix-def_shadow_object_verify_filter_state-->
5695
5696
5697 <!--RULE -->
5698 <axsl:template match="unix-def:shadow_object//oval-def:filter" priority="1000" mode="M502"><axsl:variable name="parent_object" select="ancestor::unix-def:shadow_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
5699
5700 <!--ASSERT -->
5701 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#unix') and ($state_name='shadow_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M502"/></axsl:template><axsl:template match="text()" priority="-1" mode="M502"/><axsl:template match="@*|node()" priority="-2" mode="M502"><axsl:apply-templates select="@*|*" mode="M502"/></axsl:template>
5702
5703 <!--PATTERN unix-def_symlinktst-->
5704
5705
5706 <!--RULE -->
5707 <axsl:template match="unix-def:symlink_test/unix-def:object" priority="1001" mode="M503">
5708
5709 <!--ASSERT -->
5710 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/unix-def:symlink_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a symlink_test must reference a symlink_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M503"/></axsl:template>
5711
5712 <!--RULE -->
5713 <axsl:template match="unix-def:symlink_test/unix-def:state" priority="1000" mode="M503">
5714
5715 <!--ASSERT -->
5716 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/unix-def:symlink_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a symlink_test must reference a symlink_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M503"/></axsl:template><axsl:template match="text()" priority="-1" mode="M503"/><axsl:template match="@*|node()" priority="-2" mode="M503"><axsl:apply-templates select="@*|*" mode="M503"/></axsl:template>
5717
5718 <!--PATTERN unix-def_symlink_object_verify_filter_state-->
5719
5720
5721 <!--RULE -->
5722 <axsl:template match="unix-def:symlink_object//oval-def:filter" priority="1000" mode="M504"><axsl:variable name="parent_object" select="ancestor::unix-def:symlink_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
5723
5724 <!--ASSERT -->
5725 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#unix') and ($state_name='symlink_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M504"/></axsl:template><axsl:template match="text()" priority="-1" mode="M504"/><axsl:template match="@*|node()" priority="-2" mode="M504"><axsl:apply-templates select="@*|*" mode="M504"/></axsl:template>
5726
5727 <!--PATTERN unix-def_sysctltst-->
5728
5729
5730 <!--RULE -->
5731 <axsl:template match="unix-def:sysctl_test/unix-def:object" priority="1001" mode="M505">
5732
5733 <!--ASSERT -->
5734 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/unix-def:sysctl_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a sysctl_test must reference a sysctl_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M505"/></axsl:template>
5735
5736 <!--RULE -->
5737 <axsl:template match="unix-def:sysctl_test/unix-def:state" priority="1000" mode="M505">
5738
5739 <!--ASSERT -->
5740 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/unix-def:sysctl_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a sysctl_test must reference a sysctl_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M505"/></axsl:template><axsl:template match="text()" priority="-1" mode="M505"/><axsl:template match="@*|node()" priority="-2" mode="M505"><axsl:apply-templates select="@*|*" mode="M505"/></axsl:template>
5741
5742 <!--PATTERN unix-def_sysctl_object_verify_filter_state-->
5743
5744
5745 <!--RULE -->
5746 <axsl:template match="unix-def:sysctl_object//oval-def:filter" priority="1000" mode="M506"><axsl:variable name="parent_object" select="ancestor::unix-def:sysctl_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
5747
5748 <!--ASSERT -->
5749 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#unix') and ($state_name='sysctl_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M506"/></axsl:template><axsl:template match="text()" priority="-1" mode="M506"/><axsl:template match="@*|node()" priority="-2" mode="M506"><axsl:apply-templates select="@*|*" mode="M506"/></axsl:template>
5750
5751 <!--PATTERN unix-def_unametst-->
5752
5753
5754 <!--RULE -->
5755 <axsl:template match="unix-def:uname_test/unix-def:object" priority="1001" mode="M507">
5756
5757 <!--ASSERT -->
5758 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/unix-def:uname_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a uname_test must reference a uname_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M507"/></axsl:template>
5759
5760 <!--RULE -->
5761 <axsl:template match="unix-def:uname_test/unix-def:state" priority="1000" mode="M507">
5762
5763 <!--ASSERT -->
5764 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/unix-def:uname_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a uname_test must reference a uname_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M507"/></axsl:template><axsl:template match="text()" priority="-1" mode="M507"/><axsl:template match="@*|node()" priority="-2" mode="M507"><axsl:apply-templates select="@*|*" mode="M507"/></axsl:template>
5765
5766 <!--PATTERN unix-def_xinetdtst-->
5767
5768
5769 <!--RULE -->
5770 <axsl:template match="unix-def:xinetd_test/unix-def:object" priority="1001" mode="M508">
5771
5772 <!--ASSERT -->
5773 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/unix-def:xinetd_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a xinetd_test must reference a xinetd_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M508"/></axsl:template>
5774
5775 <!--RULE -->
5776 <axsl:template match="unix-def:xinetd_test/unix-def:state" priority="1000" mode="M508">
5777
5778 <!--ASSERT -->
5779 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/unix-def:xinetd_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a xinetd_test must reference a xinetd_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M508"/></axsl:template><axsl:template match="text()" priority="-1" mode="M508"/><axsl:template match="@*|node()" priority="-2" mode="M508"><axsl:apply-templates select="@*|*" mode="M508"/></axsl:template>
5780
5781 <!--PATTERN unix-def_xinetd_object_verify_filter_state-->
5782
5783
5784 <!--RULE -->
5785 <axsl:template match="unix-def:xinetd_object//oval-def:filter" priority="1000" mode="M509"><axsl:variable name="parent_object" select="ancestor::unix-def:xinetd_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
5786
5787 <!--ASSERT -->
5788 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#unix') and ($state_name='xinetd_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M509"/></axsl:template><axsl:template match="text()" priority="-1" mode="M509"/><axsl:template match="@*|node()" priority="-2" mode="M509"><axsl:apply-templates select="@*|*" mode="M509"/></axsl:template>
5789
5790 <!--PATTERN win-def_accesstokentst_dep-->
5791
5792
5793 <!--RULE -->
5794 <axsl:template match="win-def:accesstoken_test" priority="1000" mode="M510">
5795
5796 <!--REPORT -->
5797 <axsl:if test="true()">DEPRECATED TEST: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M510"/></axsl:template><axsl:template match="text()" priority="-1" mode="M510"/><axsl:template match="@*|node()" priority="-2" mode="M510"><axsl:apply-templates select="@*|*" mode="M510"/></axsl:template>
5798
5799 <!--PATTERN win-def_attst-->
5800
5801
5802 <!--RULE -->
5803 <axsl:template match="win-def:accesstoken_test/win-def:object" priority="1001" mode="M511">
5804
5805 <!--ASSERT -->
5806 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:accesstoken_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an accesstoken_test must reference an accesstoken_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M511"/></axsl:template>
5807
5808 <!--RULE -->
5809 <axsl:template match="win-def:accesstoken_test/win-def:state" priority="1000" mode="M511">
5810
5811 <!--ASSERT -->
5812 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:accesstoken_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an accesstoken_test must reference an accesstoken_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M511"/></axsl:template><axsl:template match="text()" priority="-1" mode="M511"/><axsl:template match="@*|node()" priority="-2" mode="M511"><axsl:apply-templates select="@*|*" mode="M511"/></axsl:template>
5813
5814 <!--PATTERN win-def_accesstokenobj_dep-->
5815
5816
5817 <!--RULE -->
5818 <axsl:template match="win-def:accesstoken_object" priority="1000" mode="M512">
5819
5820 <!--REPORT -->
5821 <axsl:if test="true()">DEPRECATED OBJECT: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M512"/></axsl:template><axsl:template match="text()" priority="-1" mode="M512"/><axsl:template match="@*|node()" priority="-2" mode="M512"><axsl:apply-templates select="@*|*" mode="M512"/></axsl:template>
5822
5823 <!--PATTERN win-def_accesstoken_object_verify_filter_state-->
5824
5825
5826 <!--RULE -->
5827 <axsl:template match="win-def:accesstoken_object//oval-def:filter" priority="1000" mode="M513"><axsl:variable name="parent_object" select="ancestor::win-def:accesstoken_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
5828
5829 <!--ASSERT -->
5830 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#windows') and ($state_name='accesstoken_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M513"/></axsl:template><axsl:template match="text()" priority="-1" mode="M513"/><axsl:template match="@*|node()" priority="-2" mode="M513"><axsl:apply-templates select="@*|*" mode="M513"/></axsl:template>
5831
5832 <!--PATTERN win-def_accesstokenste_dep-->
5833
5834
5835 <!--RULE -->
5836 <axsl:template match="win-def:accesstoken_state" priority="1000" mode="M514">
5837
5838 <!--REPORT -->
5839 <axsl:if test="true()">DEPRECATED STATE: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M514"/></axsl:template><axsl:template match="text()" priority="-1" mode="M514"/><axsl:template match="@*|node()" priority="-2" mode="M514"><axsl:apply-templates select="@*|*" mode="M514"/></axsl:template>
5840
5841 <!--PATTERN win-def_at_include_group_value_dep-->
5842
5843
5844 <!--RULE -->
5845 <axsl:template match="oval-def:oval_definitions/oval-def:objects/win-def:accesstoken_object/win-def:behaviors" priority="1000" mode="M515">
5846
5847 <!--REPORT -->
5848 <axsl:if test="@include_group">DEPRECATED BEHAVIOR IN: win-def:accesstoken_object<axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M515"/></axsl:template><axsl:template match="text()" priority="-1" mode="M515"/><axsl:template match="@*|node()" priority="-2" mode="M515"><axsl:apply-templates select="@*|*" mode="M515"/></axsl:template>
5849
5850 <!--PATTERN win-def_at_resolve_group_value_dep-->
5851
5852
5853 <!--RULE -->
5854 <axsl:template match="oval-def:oval_definitions/oval-def:objects/win-def:accesstoken_object/win-def:behaviors" priority="1000" mode="M516">
5855
5856 <!--REPORT -->
5857 <axsl:if test="@resolve_group">DEPRECATED BEHAVIOR IN: win-def:accesstoken_object <axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M516"/></axsl:template><axsl:template match="text()" priority="-1" mode="M516"/><axsl:template match="@*|node()" priority="-2" mode="M516"><axsl:apply-templates select="@*|*" mode="M516"/></axsl:template>
5858
5859 <!--PATTERN win-def_adtst-->
5860
5861
5862 <!--RULE -->
5863 <axsl:template match="win-def:activedirectory_test/win-def:object" priority="1001" mode="M517">
5864
5865 <!--ASSERT -->
5866 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:activedirectory_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an activedirectory_test must reference an activedirectory_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M517"/></axsl:template>
5867
5868 <!--RULE -->
5869 <axsl:template match="win-def:activedirectory_test/win-def:state" priority="1000" mode="M517">
5870
5871 <!--ASSERT -->
5872 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:activedirectory_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an activedirectory_test must reference an activedirectory_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M517"/></axsl:template><axsl:template match="text()" priority="-1" mode="M517"/><axsl:template match="@*|node()" priority="-2" mode="M517"><axsl:apply-templates select="@*|*" mode="M517"/></axsl:template>
5873
5874 <!--PATTERN win-def_activedirectory57tst_dep-->
5875
5876
5877 <!--RULE -->
5878 <axsl:template match="win-def:activedirectory57_test" priority="1000" mode="M518">
5879
5880 <!--REPORT -->
5881 <axsl:if test="true()">DEPRECATED TEST: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M518"/></axsl:template><axsl:template match="text()" priority="-1" mode="M518"/><axsl:template match="@*|node()" priority="-2" mode="M518"><axsl:apply-templates select="@*|*" mode="M518"/></axsl:template>
5882
5883 <!--PATTERN win-def_activedirectory57_test-->
5884
5885
5886 <!--RULE -->
5887 <axsl:template match="win-def:activedirectory57_test/win-def:object" priority="1001" mode="M519">
5888
5889 <!--ASSERT -->
5890 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:activedirectory57_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an activedirectory57_test must reference an activedirectory57_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M519"/></axsl:template>
5891
5892 <!--RULE -->
5893 <axsl:template match="win-def:activedirectory57_test/win-def:state" priority="1000" mode="M519">
5894
5895 <!--ASSERT -->
5896 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:activedirectory57_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an activedirectory57_test must reference an activedirectory57_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M519"/></axsl:template><axsl:template match="text()" priority="-1" mode="M519"/><axsl:template match="@*|node()" priority="-2" mode="M519"><axsl:apply-templates select="@*|*" mode="M519"/></axsl:template>
5897
5898 <!--PATTERN win-def_activedirectory57_object_verify_filter_state-->
5899
5900
5901 <!--RULE -->
5902 <axsl:template match="win-def:activedirectory57_object//oval-def:filter" priority="1000" mode="M520"><axsl:variable name="parent_object" select="ancestor::win-def:activedirectory57_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
5903
5904 <!--ASSERT -->
5905 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#windows') and ($state_name='activedirectory57_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M520"/></axsl:template><axsl:template match="text()" priority="-1" mode="M520"/><axsl:template match="@*|node()" priority="-2" mode="M520"><axsl:apply-templates select="@*|*" mode="M520"/></axsl:template>
5906
5907 <!--PATTERN win-def_activedirectory57obj_dep-->
5908
5909
5910 <!--RULE -->
5911 <axsl:template match="win-def:activedirectory57_object" priority="1000" mode="M521">
5912
5913 <!--REPORT -->
5914 <axsl:if test="true()">DEPRECATED OBJECT: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M521"/></axsl:template><axsl:template match="text()" priority="-1" mode="M521"/><axsl:template match="@*|node()" priority="-2" mode="M521"><axsl:apply-templates select="@*|*" mode="M521"/></axsl:template>
5915
5916 <!--PATTERN win-def_activedirectory57ste_dep-->
5917
5918
5919 <!--RULE -->
5920 <axsl:template match="win-def:activedirectory57_state" priority="1000" mode="M522">
5921
5922 <!--REPORT -->
5923 <axsl:if test="true()">DEPRECATED STATE: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M522"/></axsl:template><axsl:template match="text()" priority="-1" mode="M522"/><axsl:template match="@*|node()" priority="-2" mode="M522"><axsl:apply-templates select="@*|*" mode="M522"/></axsl:template>
5924
5925 <!--PATTERN win-def_ad57stevalue-->
5926
5927
5928 <!--RULE -->
5929 <axsl:template match="win-def:activedirectory57_state/win-def:value" priority="1000" mode="M523">
5930
5931 <!--ASSERT -->
5932 <axsl:choose><axsl:when test="@datatype='record'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - datatype attribute for the value entity of a activedirectory57_state must be 'record'<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M523"/></axsl:template><axsl:template match="text()" priority="-1" mode="M523"/><axsl:template match="@*|node()" priority="-2" mode="M523"><axsl:apply-templates select="@*|*" mode="M523"/></axsl:template>
5933
5934 <!--PATTERN win-def_aeptst-->
5935
5936
5937 <!--RULE -->
5938 <axsl:template match="win-def:auditeventpolicy_test/win-def:object" priority="1001" mode="M524">
5939
5940 <!--ASSERT -->
5941 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:auditeventpolicy_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an auditeventpolicy_test must reference an auditeventpolicy_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M524"/></axsl:template>
5942
5943 <!--RULE -->
5944 <axsl:template match="win-def:auditeventpolicy_test/win-def:state" priority="1000" mode="M524">
5945
5946 <!--ASSERT -->
5947 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:auditeventpolicy_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an auditeventpolicy_test must reference an auditeventpolicy_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M524"/></axsl:template><axsl:template match="text()" priority="-1" mode="M524"/><axsl:template match="@*|node()" priority="-2" mode="M524"><axsl:apply-templates select="@*|*" mode="M524"/></axsl:template>
5948
5949 <!--PATTERN win-def_aepstst-->
5950
5951
5952 <!--RULE -->
5953 <axsl:template match="win-def:auditeventpolicysubcategories_test/win-def:object" priority="1001" mode="M525">
5954
5955 <!--ASSERT -->
5956 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:auditeventpolicysubcategories_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an auditeventpolicysubcategories_test must reference an auditeventpolicysubcategories_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M525"/></axsl:template>
5957
5958 <!--RULE -->
5959 <axsl:template match="win-def:auditeventpolicysubcategories_test/win-def:state" priority="1000" mode="M525">
5960
5961 <!--ASSERT -->
5962 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:auditeventpolicysubcategories_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an auditeventpolicysubcategories_test must reference an auditeventpolicysubcategories_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M525"/></axsl:template><axsl:template match="text()" priority="-1" mode="M525"/><axsl:template match="@*|node()" priority="-2" mode="M525"><axsl:apply-templates select="@*|*" mode="M525"/></axsl:template>
5963
5964 <!--PATTERN win-def_auditeventpolicysubcategoriesstatekerberos_ticket_events-->
5965
5966
5967 <!--RULE -->
5968 <axsl:template match="win-def:auditeventpolicysubcategories_state/win-def:kerberos_ticket_events" priority="1000" mode="M526">
5969
5970 <!--REPORT -->
5971 <axsl:if test="true()">DEPRECATED ELEMENT: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M526"/></axsl:template><axsl:template match="text()" priority="-1" mode="M526"/><axsl:template match="@*|node()" priority="-2" mode="M526"><axsl:apply-templates select="@*|*" mode="M526"/></axsl:template>
5972
5973 <!--PATTERN win-def_cmdlet_test-->
5974
5975
5976 <!--RULE -->
5977 <axsl:template match="win-def:cmdlet_test/win-def:object" priority="1001" mode="M527">
5978
5979 <!--ASSERT -->
5980 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:cmdlet_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a cmdlet_test must reference a cmdlet_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M527"/></axsl:template>
5981
5982 <!--RULE -->
5983 <axsl:template match="win-def:cmdlet_test/win-def:state" priority="1000" mode="M527">
5984
5985 <!--ASSERT -->
5986 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:cmdlet_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a cmdlet_test must reference a cmdlet_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M527"/></axsl:template><axsl:template match="text()" priority="-1" mode="M527"/><axsl:template match="@*|node()" priority="-2" mode="M527"><axsl:apply-templates select="@*|*" mode="M527"/></axsl:template>
5987
5988 <!--PATTERN win-def_cmdlet_object_verify_filter_state-->
5989
5990
5991 <!--RULE -->
5992 <axsl:template match="win-def:cmdlet_object//oval-def:filter" priority="1000" mode="M528"><axsl:variable name="parent_object" select="ancestor::win-def:cmdlet_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
5993
5994 <!--ASSERT -->
5995 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#windows') and ($state_name='cmdlet_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M528"/></axsl:template><axsl:template match="text()" priority="-1" mode="M528"/><axsl:template match="@*|node()" priority="-2" mode="M528"><axsl:apply-templates select="@*|*" mode="M528"/></axsl:template>
5996
5997 <!--PATTERN win-def_cmdletobjmodule_name-->
5998
5999
6000 <!--RULE -->
6001 <axsl:template match="win-def:cmdlet_object/win-def:module_name" priority="1000" mode="M529">
6002
6003 <!--ASSERT -->
6004 <axsl:choose><axsl:when test="not(@operation) or @operation='equals'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - operation attribute for the module_name entity of a cmdlet_object must be 'equals'<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M529"/></axsl:template><axsl:template match="text()" priority="-1" mode="M529"/><axsl:template match="@*|node()" priority="-2" mode="M529"><axsl:apply-templates select="@*|*" mode="M529"/></axsl:template>
6005
6006 <!--PATTERN win-def_cmdletobjmodule_id-->
6007
6008
6009 <!--RULE -->
6010 <axsl:template match="win-def:cmdlet_object/win-def:module_id" priority="1000" mode="M530">
6011
6012 <!--ASSERT -->
6013 <axsl:choose><axsl:when test="not(@operation) or @operation='equals'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - operation attribute for the module_id entity of a cmdlet_object must be 'equals'<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M530"/></axsl:template><axsl:template match="text()" priority="-1" mode="M530"/><axsl:template match="@*|node()" priority="-2" mode="M530"><axsl:apply-templates select="@*|*" mode="M530"/></axsl:template>
6014
6015 <!--PATTERN win-def_cmdletobjverb-->
6016
6017
6018 <!--RULE -->
6019 <axsl:template match="win-def:cmdlet_object/win-def:verb" priority="1000" mode="M531">
6020
6021 <!--ASSERT -->
6022 <axsl:choose><axsl:when test="not(@operation) or @operation='equals'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - operation attribute for the verb entity of a cmdlet_object must be 'equals'<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M531"/></axsl:template><axsl:template match="text()" priority="-1" mode="M531"/><axsl:template match="@*|node()" priority="-2" mode="M531"><axsl:apply-templates select="@*|*" mode="M531"/></axsl:template>
6023
6024 <!--PATTERN win-def_cmdletobjnoun-->
6025
6026
6027 <!--RULE -->
6028 <axsl:template match="win-def:cmdlet_object/win-def:noun" priority="1000" mode="M532">
6029
6030 <!--ASSERT -->
6031 <axsl:choose><axsl:when test="not(@operation) or @operation='equals'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - operation attribute for the noun entity of a cmdlet_object must be 'equals'<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M532"/></axsl:template><axsl:template match="text()" priority="-1" mode="M532"/><axsl:template match="@*|node()" priority="-2" mode="M532"><axsl:apply-templates select="@*|*" mode="M532"/></axsl:template>
6032
6033 <!--PATTERN win-def_cmdletobjparameters-->
6034
6035
6036 <!--RULE -->
6037 <axsl:template match="win-def:cmdlet_object/win-def:parameters" priority="1000" mode="M533">
6038
6039 <!--ASSERT -->
6040 <axsl:choose><axsl:when test="@datatype='record'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - datatype attribute for the parameters entity of a cmdlet_object must be 'record'<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M533"/></axsl:template><axsl:template match="text()" priority="-1" mode="M533"/><axsl:template match="@*|node()" priority="-2" mode="M533"><axsl:apply-templates select="@*|*" mode="M533"/></axsl:template>
6041
6042 <!--PATTERN win-def_cmdletobjselect-->
6043
6044
6045 <!--RULE -->
6046 <axsl:template match="win-def:cmdlet_object/win-def:select" priority="1000" mode="M534">
6047
6048 <!--ASSERT -->
6049 <axsl:choose><axsl:when test="@datatype='record'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - datatype attribute for the select entity of a cmdlet_object must be 'record'<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M534"/></axsl:template><axsl:template match="text()" priority="-1" mode="M534"/><axsl:template match="@*|node()" priority="-2" mode="M534"><axsl:apply-templates select="@*|*" mode="M534"/></axsl:template>
6050
6051 <!--PATTERN win-def_cmdletsteparameters-->
6052
6053
6054 <!--RULE -->
6055 <axsl:template match="win-def:cmdlet_state/win-def:parameters" priority="1000" mode="M535">
6056
6057 <!--ASSERT -->
6058 <axsl:choose><axsl:when test="@datatype='record'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - datatype attribute for the parameters entity of a cmdlet_state must be 'record'<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M535"/></axsl:template><axsl:template match="text()" priority="-1" mode="M535"/><axsl:template match="@*|node()" priority="-2" mode="M535"><axsl:apply-templates select="@*|*" mode="M535"/></axsl:template>
6059
6060 <!--PATTERN win-def_cmdletsteselect-->
6061
6062
6063 <!--RULE -->
6064 <axsl:template match="win-def:cmdlet_state/win-def:select" priority="1000" mode="M536">
6065
6066 <!--ASSERT -->
6067 <axsl:choose><axsl:when test="@datatype='record'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - datatype attribute for the select entity of a cmdlet_state must be 'record'<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M536"/></axsl:template><axsl:template match="text()" priority="-1" mode="M536"/><axsl:template match="@*|node()" priority="-2" mode="M536"><axsl:apply-templates select="@*|*" mode="M536"/></axsl:template>
6068
6069 <!--PATTERN win-def_cmdletstevalue-->
6070
6071
6072 <!--RULE -->
6073 <axsl:template match="win-def:cmdlet_state/win-def:value" priority="1000" mode="M537">
6074
6075 <!--ASSERT -->
6076 <axsl:choose><axsl:when test="@datatype='record'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - datatype attribute for the value entity of a cmdlet_state must be 'record'<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M537"/></axsl:template><axsl:template match="text()" priority="-1" mode="M537"/><axsl:template match="@*|node()" priority="-2" mode="M537"><axsl:apply-templates select="@*|*" mode="M537"/></axsl:template>
6077
6078 <!--PATTERN win-def_dnscachetst-->
6079
6080
6081 <!--RULE -->
6082 <axsl:template match="win-def:dnscache_test/win-def:object" priority="1001" mode="M538">
6083
6084 <!--ASSERT -->
6085 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:dnscache_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a dnscache_test must reference a dnscache_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M538"/></axsl:template>
6086
6087 <!--RULE -->
6088 <axsl:template match="win-def:dnscache_test/win-def:state" priority="1000" mode="M538">
6089
6090 <!--ASSERT -->
6091 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:dnscache_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a dnscache_test must reference a dnscache_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M538"/></axsl:template><axsl:template match="text()" priority="-1" mode="M538"/><axsl:template match="@*|node()" priority="-2" mode="M538"><axsl:apply-templates select="@*|*" mode="M538"/></axsl:template>
6092
6093 <!--PATTERN win-def_dnscache_object_verify_filter_state-->
6094
6095
6096 <!--RULE -->
6097 <axsl:template match="win-def:dnscache_object//oval-def:filter" priority="1000" mode="M539"><axsl:variable name="parent_object" select="ancestor::win-def:dnscache_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
6098
6099 <!--ASSERT -->
6100 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#windows') and ($state_name='dnscache_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M539"/></axsl:template><axsl:template match="text()" priority="-1" mode="M539"/><axsl:template match="@*|node()" priority="-2" mode="M539"><axsl:apply-templates select="@*|*" mode="M539"/></axsl:template>
6101
6102 <!--PATTERN win-def_filetst-->
6103
6104
6105 <!--RULE -->
6106 <axsl:template match="win-def:file_test/win-def:object" priority="1001" mode="M540">
6107
6108 <!--ASSERT -->
6109 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:file_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a file_test must reference a file_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M540"/></axsl:template>
6110
6111 <!--RULE -->
6112 <axsl:template match="win-def:file_test/win-def:state" priority="1000" mode="M540">
6113
6114 <!--ASSERT -->
6115 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:file_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a file_test must reference a file_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M540"/></axsl:template><axsl:template match="text()" priority="-1" mode="M540"/><axsl:template match="@*|node()" priority="-2" mode="M540"><axsl:apply-templates select="@*|*" mode="M540"/></axsl:template>
6116
6117 <!--PATTERN win-def_file_object_verify_filter_state-->
6118
6119
6120 <!--RULE -->
6121 <axsl:template match="win-def:file_object//oval-def:filter" priority="1000" mode="M541"><axsl:variable name="parent_object" select="ancestor::win-def:file_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
6122
6123 <!--ASSERT -->
6124 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#windows') and ($state_name='file_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M541"/></axsl:template><axsl:template match="text()" priority="-1" mode="M541"/><axsl:template match="@*|node()" priority="-2" mode="M541"><axsl:apply-templates select="@*|*" mode="M541"/></axsl:template>
6125
6126 <!--PATTERN win-def_fileobjfilepath-->
6127
6128
6129 <!--RULE -->
6130 <axsl:template match="win-def:file_object/win-def:filepath" priority="1000" mode="M542">
6131
6132 <!--ASSERT -->
6133 <axsl:choose><axsl:when test="not(preceding-sibling::win-def:behaviors[@max_depth or @recurse_direction])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the max_depth and recurse_direction behaviors are not allowed with a filepath entity<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M542"/></axsl:template><axsl:template match="text()" priority="-1" mode="M542"/><axsl:template match="@*|node()" priority="-2" mode="M542"><axsl:apply-templates select="@*|*" mode="M542"/></axsl:template>
6134
6135 <!--PATTERN win-def_fileobjfilepath2-->
6136
6137
6138 <!--RULE -->
6139 <axsl:template match="win-def:file_object/win-def:filepath[not(@operation='equals' or not(@operation))]" priority="1000" mode="M543">
6140
6141 <!--ASSERT -->
6142 <axsl:choose><axsl:when test="not(preceding-sibling::win-def:behaviors[@recurse_file_system='defined'])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_file_system behavior MUST not be set to 'defined' when a pattern match is used with a filepath entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M543"/></axsl:template><axsl:template match="text()" priority="-1" mode="M543"/><axsl:template match="@*|node()" priority="-2" mode="M543"><axsl:apply-templates select="@*|*" mode="M543"/></axsl:template>
6143
6144 <!--PATTERN win-def_fileobjpath-->
6145
6146
6147 <!--RULE -->
6148 <axsl:template match="win-def:file_object/win-def:path[not(@operation='equals' or not(@operation))]" priority="1000" mode="M544">
6149
6150 <!--ASSERT -->
6151 <axsl:choose><axsl:when test="not(preceding-sibling::win-def:behaviors[@recurse_file_system='defined'])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_file_system behavior MUST not be set to 'defined' when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
6152
6153 <!--ASSERT -->
6154 <axsl:choose><axsl:when test="not(preceding-sibling::win-def:behaviors[@max_depth])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the max_depth behavior MUST not be used when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
6155
6156 <!--ASSERT -->
6157 <axsl:choose><axsl:when test="not(preceding-sibling::win-def:behaviors[@recurse_direction])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_direction behavior MUST not be used when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M544"/></axsl:template><axsl:template match="text()" priority="-1" mode="M544"/><axsl:template match="@*|node()" priority="-2" mode="M544"><axsl:apply-templates select="@*|*" mode="M544"/></axsl:template>
6158
6159 <!--PATTERN win-def_fileobjfilename-->
6160
6161
6162 <!--RULE -->
6163 <axsl:template match="win-def:file_object/win-def:filename" priority="1000" mode="M545">
6164
6165 <!--ASSERT -->
6166 <axsl:choose><axsl:when test="(not(contains(.,'\') or contains(.,'/') or contains(.,':') or contains(.,'*') or contains(.,'?') or contains(.,'&gt;') or contains(.,'|') or contains(.,'&lt;') or contains(.,'&quot;'))) or (@operation='pattern match')"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - filename entity cannot contain the characters / \ : * ? &gt; | &lt; "<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
6167
6168 <!--ASSERT -->
6169 <axsl:choose><axsl:when test="(@var_ref and .='') or ((@xsi:nil='1' or @xsi:nil='true') and .='') or not(@var_ref)"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - filename entity cannot be empty unless the xsi:nil attribute is set to true or a var_ref is used<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M545"/></axsl:template><axsl:template match="text()" priority="-1" mode="M545"/><axsl:template match="@*|node()" priority="-2" mode="M545"><axsl:apply-templates select="@*|*" mode="M545"/></axsl:template>
6170
6171 <!--PATTERN win-def_filestefilename-->
6172
6173
6174 <!--RULE -->
6175 <axsl:template match="win-def:file_state/win-def:filename" priority="1000" mode="M546">
6176
6177 <!--ASSERT -->
6178 <axsl:choose><axsl:when test="(not(contains(.,'\') or contains(.,'/') or contains(.,':') or contains(.,'*') or contains(.,'?') or contains(.,'&gt;') or contains(.,'|') or contains(.,'&lt;') or contains(.,'&quot;'))) or (@operation='pattern match')"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - filename entity cannot contain the characters / \ : * ? &gt; | &lt; "<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M546"/></axsl:template><axsl:template match="text()" priority="-1" mode="M546"/><axsl:template match="@*|node()" priority="-2" mode="M546"><axsl:apply-templates select="@*|*" mode="M546"/></axsl:template>
6179
6180 <!--PATTERN win-def_fap53tst-->
6181
6182
6183 <!--RULE -->
6184 <axsl:template match="win-def:fileauditedpermissions53_test/win-def:object" priority="1001" mode="M547">
6185
6186 <!--ASSERT -->
6187 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:fileauditedpermissions53_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a fileauditedpermissions53_test must reference a fileauditedpermissions53_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M547"/></axsl:template>
6188
6189 <!--RULE -->
6190 <axsl:template match="win-def:fileauditedpermissions53_test/win-def:state" priority="1000" mode="M547">
6191
6192 <!--ASSERT -->
6193 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:fileauditedpermissions53_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a fileauditedpermissions53_test must reference a fileauditedpermissions53_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M547"/></axsl:template><axsl:template match="text()" priority="-1" mode="M547"/><axsl:template match="@*|node()" priority="-2" mode="M547"><axsl:apply-templates select="@*|*" mode="M547"/></axsl:template>
6194
6195 <!--PATTERN win-def_fileauditedpermissions53_object_verify_filter_state-->
6196
6197
6198 <!--RULE -->
6199 <axsl:template match="win-def:fileauditedpermissions53_object//oval-def:filter" priority="1000" mode="M548"><axsl:variable name="parent_object" select="ancestor::win-def:fileauditedpermissions53_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
6200
6201 <!--ASSERT -->
6202 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#windows') and ($state_name='fileauditedpermissions53_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M548"/></axsl:template><axsl:template match="text()" priority="-1" mode="M548"/><axsl:template match="@*|node()" priority="-2" mode="M548"><axsl:apply-templates select="@*|*" mode="M548"/></axsl:template>
6203
6204 <!--PATTERN win-def_fap53objfilepath-->
6205
6206
6207 <!--RULE -->
6208 <axsl:template match="win-def:fileauditedpermissions53_object/win-def:filepath" priority="1000" mode="M549">
6209
6210 <!--ASSERT -->
6211 <axsl:choose><axsl:when test="not(preceding-sibling::win-def:behaviors[@max_depth or @recurse_direction])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the max_depth and recurse_direction behaviors are not allowed with a filepath entity<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M549"/></axsl:template><axsl:template match="text()" priority="-1" mode="M549"/><axsl:template match="@*|node()" priority="-2" mode="M549"><axsl:apply-templates select="@*|*" mode="M549"/></axsl:template>
6212
6213 <!--PATTERN win-def_fap53objfilepath2-->
6214
6215
6216 <!--RULE -->
6217 <axsl:template match="win-def:fileauditedpermissions53_object/win-def:filepath[not(@operation='equals' or not(@operation))]" priority="1000" mode="M550">
6218
6219 <!--ASSERT -->
6220 <axsl:choose><axsl:when test="not(preceding-sibling::win-def:behaviors[@recurse_file_system='defined'])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_file_system behavior MUST not be set to 'defined' when a pattern match is used with a filepath entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M550"/></axsl:template><axsl:template match="text()" priority="-1" mode="M550"/><axsl:template match="@*|node()" priority="-2" mode="M550"><axsl:apply-templates select="@*|*" mode="M550"/></axsl:template>
6221
6222 <!--PATTERN win-def_fap53objpath-->
6223
6224
6225 <!--RULE -->
6226 <axsl:template match="win-def:fileauditedpermissions53_object/win-def:path[not(@operation='equals' or not(@operation))]" priority="1000" mode="M551">
6227
6228 <!--ASSERT -->
6229 <axsl:choose><axsl:when test="not(preceding-sibling::win-def:behaviors[@recurse_file_system='defined'])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_file_system behavior MUST not be set to 'defined' when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
6230
6231 <!--ASSERT -->
6232 <axsl:choose><axsl:when test="not(preceding-sibling::win-def:behaviors[@max_depth])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the max_depth behavior MUST not be used when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
6233
6234 <!--ASSERT -->
6235 <axsl:choose><axsl:when test="not(preceding-sibling::win-def:behaviors[@recurse_direction])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_direction behavior MUST not be used when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M551"/></axsl:template><axsl:template match="text()" priority="-1" mode="M551"/><axsl:template match="@*|node()" priority="-2" mode="M551"><axsl:apply-templates select="@*|*" mode="M551"/></axsl:template>
6236
6237 <!--PATTERN win-def_fap53objfilename-->
6238
6239
6240 <!--RULE -->
6241 <axsl:template match="win-def:fileauditedpermissions53_object/win-def:filename" priority="1000" mode="M552">
6242
6243 <!--ASSERT -->
6244 <axsl:choose><axsl:when test="(not(contains(.,'\') or contains(.,'/') or contains(.,':') or contains(.,'*') or contains(.,'?') or contains(.,'&gt;') or contains(.,'|') or contains(.,'&lt;') or contains(.,'&quot;'))) or (@operation='pattern match')"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - filename entity cannot contain the characters / \ : * ? &gt; | &lt; "<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
6245
6246 <!--ASSERT -->
6247 <axsl:choose><axsl:when test="(@var_ref and .='') or ((@xsi:nil='1' or @xsi:nil='true') and .='') or not(.='') or (.='' and @operation='pattern match')"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - filename entity cannot be empty unless the xsi:nil attribute is set to true or a var_ref is used<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M552"/></axsl:template><axsl:template match="text()" priority="-1" mode="M552"/><axsl:template match="@*|node()" priority="-2" mode="M552"><axsl:apply-templates select="@*|*" mode="M552"/></axsl:template>
6248
6249 <!--PATTERN win-def_fap53stefilename-->
6250
6251
6252 <!--RULE -->
6253 <axsl:template match="win-def:fileauditedpermissions53_state/win-def:filename" priority="1000" mode="M553">
6254
6255 <!--ASSERT -->
6256 <axsl:choose><axsl:when test="(not(contains(.,'\') or contains(.,'/') or contains(.,':') or contains(.,'*') or contains(.,'?') or contains(.,'&gt;') or contains(.,'|') or contains(.,'&lt;') or contains(.,'&quot;'))) or (@operation='pattern match')"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - filename entity cannot contain the characters / \ : * ? &gt; | &lt; "<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M553"/></axsl:template><axsl:template match="text()" priority="-1" mode="M553"/><axsl:template match="@*|node()" priority="-2" mode="M553"><axsl:apply-templates select="@*|*" mode="M553"/></axsl:template>
6257
6258 <!--PATTERN win-def_fap53_include_group_value_dep-->
6259
6260
6261 <!--RULE -->
6262 <axsl:template match="oval-def:oval_definitions/oval-def:objects/win-def:fileauditedpermissions53_object/win-def:behaviors" priority="1000" mode="M554">
6263
6264 <!--REPORT -->
6265 <axsl:if test="@include_group">DEPRECATED BEHAVIOR IN: win-def:fileauditedpermissions53_object<axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M554"/></axsl:template><axsl:template match="text()" priority="-1" mode="M554"/><axsl:template match="@*|node()" priority="-2" mode="M554"><axsl:apply-templates select="@*|*" mode="M554"/></axsl:template>
6266
6267 <!--PATTERN win-def_fap53_resolve_group_value_dep-->
6268
6269
6270 <!--RULE -->
6271 <axsl:template match="oval-def:oval_definitions/oval-def:objects/win-def:fileauditedpermissions53_object/win-def:behaviors" priority="1000" mode="M555">
6272
6273 <!--REPORT -->
6274 <axsl:if test="@resolve_group">DEPRECATED BEHAVIOR IN: fileauditedpermissions53_object <axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M555"/></axsl:template><axsl:template match="text()" priority="-1" mode="M555"/><axsl:template match="@*|node()" priority="-2" mode="M555"><axsl:apply-templates select="@*|*" mode="M555"/></axsl:template>
6275
6276 <!--PATTERN win-def_faptst_dep-->
6277
6278
6279 <!--RULE -->
6280 <axsl:template match="win-def:fileauditedpermissions_test" priority="1000" mode="M556">
6281
6282 <!--REPORT -->
6283 <axsl:if test="true()">DEPRECATED TEST: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M556"/></axsl:template><axsl:template match="text()" priority="-1" mode="M556"/><axsl:template match="@*|node()" priority="-2" mode="M556"><axsl:apply-templates select="@*|*" mode="M556"/></axsl:template>
6284
6285 <!--PATTERN win-def_faptst-->
6286
6287
6288 <!--RULE -->
6289 <axsl:template match="win-def:fileauditedpermissions_test/win-def:object" priority="1001" mode="M557">
6290
6291 <!--ASSERT -->
6292 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:fileauditedpermissions_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a fileauditedpermissions_test must reference a fileauditedpermissions_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M557"/></axsl:template>
6293
6294 <!--RULE -->
6295 <axsl:template match="win-def:fileauditedpermissions_test/win-def:state" priority="1000" mode="M557">
6296
6297 <!--ASSERT -->
6298 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:fileauditedpermissions_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a fileauditedpermissions_test must reference a fileauditedpermissions_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M557"/></axsl:template><axsl:template match="text()" priority="-1" mode="M557"/><axsl:template match="@*|node()" priority="-2" mode="M557"><axsl:apply-templates select="@*|*" mode="M557"/></axsl:template>
6299
6300 <!--PATTERN win-def_fapobj_dep-->
6301
6302
6303 <!--RULE -->
6304 <axsl:template match="win-def:fileauditedpermissions_object" priority="1000" mode="M558">
6305
6306 <!--REPORT -->
6307 <axsl:if test="true()">DEPRECATED OBJECT: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M558"/></axsl:template><axsl:template match="text()" priority="-1" mode="M558"/><axsl:template match="@*|node()" priority="-2" mode="M558"><axsl:apply-templates select="@*|*" mode="M558"/></axsl:template>
6308
6309 <!--PATTERN win-def_fapobjfilename-->
6310
6311
6312 <!--RULE -->
6313 <axsl:template match="win-def:fileauditedpermissions_object/win-def:filename" priority="1000" mode="M559">
6314
6315 <!--ASSERT -->
6316 <axsl:choose><axsl:when test="(not(contains(.,'\') or contains(.,'/') or contains(.,':') or contains(.,'*') or contains(.,'?') or contains(.,'&gt;') or contains(.,'|') or contains(.,'&lt;') or contains(.,'&quot;'))) or (@operation='pattern match')"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - filename entity cannot contain the characters / \ : * ? &gt; | &lt; "<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
6317
6318 <!--ASSERT -->
6319 <axsl:choose><axsl:when test="(@var_ref and .='') or ((@xsi:nil='1' or @xsi:nil='true') and .='') or not(.='') or (.='' and @operation='pattern match')"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - filename entity cannot be empty unless the xsi:nil attribute is set to true or a var_ref is used<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M559"/></axsl:template><axsl:template match="text()" priority="-1" mode="M559"/><axsl:template match="@*|node()" priority="-2" mode="M559"><axsl:apply-templates select="@*|*" mode="M559"/></axsl:template>
6320
6321 <!--PATTERN win-def_fapste_dep-->
6322
6323
6324 <!--RULE -->
6325 <axsl:template match="win-def:fileauditedpermissions_state" priority="1000" mode="M560">
6326
6327 <!--REPORT -->
6328 <axsl:if test="true()">DEPRECATED STATE: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M560"/></axsl:template><axsl:template match="text()" priority="-1" mode="M560"/><axsl:template match="@*|node()" priority="-2" mode="M560"><axsl:apply-templates select="@*|*" mode="M560"/></axsl:template>
6329
6330 <!--PATTERN win-def_fapstefilename-->
6331
6332
6333 <!--RULE -->
6334 <axsl:template match="win-def:fileauditedpermissions_state/win-def:filename" priority="1000" mode="M561">
6335
6336 <!--ASSERT -->
6337 <axsl:choose><axsl:when test="(not(contains(.,'\') or contains(.,'/') or contains(.,':') or contains(.,'*') or contains(.,'?') or contains(.,'&gt;') or contains(.,'|') or contains(.,'&lt;') or contains(.,'&quot;'))) or (@operation='pattern match')"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - filename entity cannot contain the characters / \ : * ? &gt; | &lt; "<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M561"/></axsl:template><axsl:template match="text()" priority="-1" mode="M561"/><axsl:template match="@*|node()" priority="-2" mode="M561"><axsl:apply-templates select="@*|*" mode="M561"/></axsl:template>
6338
6339 <!--PATTERN win-def_fap_include_group_value_dep-->
6340
6341
6342 <!--RULE -->
6343 <axsl:template match="oval-def:oval_definitions/oval-def:objects/win-def:fileauditedpermissions_object/win-def:behaviors" priority="1000" mode="M562">
6344
6345 <!--REPORT -->
6346 <axsl:if test="@include_group">DEPRECATED BEHAVIOR IN: win-def:fileauditedpermissions_object<axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M562"/></axsl:template><axsl:template match="text()" priority="-1" mode="M562"/><axsl:template match="@*|node()" priority="-2" mode="M562"><axsl:apply-templates select="@*|*" mode="M562"/></axsl:template>
6347
6348 <!--PATTERN win-def_fap_resolve_group_value_dep-->
6349
6350
6351 <!--RULE -->
6352 <axsl:template match="oval-def:oval_definitions/oval-def:objects/win-def:fileauditedpermissions_object/win-def:behaviors" priority="1000" mode="M563">
6353
6354 <!--REPORT -->
6355 <axsl:if test="@resolve_group">DEPRECATED BEHAVIOR IN: fileauditedpermissions_object <axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M563"/></axsl:template><axsl:template match="text()" priority="-1" mode="M563"/><axsl:template match="@*|node()" priority="-2" mode="M563"><axsl:apply-templates select="@*|*" mode="M563"/></axsl:template>
6356
6357 <!--PATTERN win-def_fer53tst-->
6358
6359
6360 <!--RULE -->
6361 <axsl:template match="win-def:fileeffectiverights53_test/win-def:object" priority="1001" mode="M564">
6362
6363 <!--ASSERT -->
6364 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:fileeffectiverights53_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a fileeffectiverights53_test must reference a fileeffectiverights53_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M564"/></axsl:template>
6365
6366 <!--RULE -->
6367 <axsl:template match="win-def:fileeffectiverights53_test/win-def:state" priority="1000" mode="M564">
6368
6369 <!--ASSERT -->
6370 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:fileeffectiverights53_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a fileeffectiverights53_test must reference a fileeffectiverights53_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M564"/></axsl:template><axsl:template match="text()" priority="-1" mode="M564"/><axsl:template match="@*|node()" priority="-2" mode="M564"><axsl:apply-templates select="@*|*" mode="M564"/></axsl:template>
6371
6372 <!--PATTERN win-def_fileeffectiverights53_object_verify_filter_state-->
6373
6374
6375 <!--RULE -->
6376 <axsl:template match="win-def:fileeffectiverights53_object//oval-def:filter" priority="1000" mode="M565"><axsl:variable name="parent_object" select="ancestor::win-def:fileeffectiverights53_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
6377
6378 <!--ASSERT -->
6379 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#windows') and ($state_name='fileeffectiverights53_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M565"/></axsl:template><axsl:template match="text()" priority="-1" mode="M565"/><axsl:template match="@*|node()" priority="-2" mode="M565"><axsl:apply-templates select="@*|*" mode="M565"/></axsl:template>
6380
6381 <!--PATTERN win-def_fer53objfilepath-->
6382
6383
6384 <!--RULE -->
6385 <axsl:template match="win-def:fileeffectiverights53_object/win-def:filepath" priority="1000" mode="M566">
6386
6387 <!--ASSERT -->
6388 <axsl:choose><axsl:when test="not(preceding-sibling::win-def:behaviors[@max_depth or @recurse_direction])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the max_depth and recurse_direction behaviors are not allowed with a filepath entity<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M566"/></axsl:template><axsl:template match="text()" priority="-1" mode="M566"/><axsl:template match="@*|node()" priority="-2" mode="M566"><axsl:apply-templates select="@*|*" mode="M566"/></axsl:template>
6389
6390 <!--PATTERN win-def_fer53objfilepath2-->
6391
6392
6393 <!--RULE -->
6394 <axsl:template match="win-def:fileeffectiverights53_object/win-def:filepath[not(@operation='equals' or not(@operation))]" priority="1000" mode="M567">
6395
6396 <!--ASSERT -->
6397 <axsl:choose><axsl:when test="not(preceding-sibling::win-def:behaviors[@recurse_file_system='defined'])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_file_system behavior MUST not be set to 'defined' when a pattern match is used with a filepath entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M567"/></axsl:template><axsl:template match="text()" priority="-1" mode="M567"/><axsl:template match="@*|node()" priority="-2" mode="M567"><axsl:apply-templates select="@*|*" mode="M567"/></axsl:template>
6398
6399 <!--PATTERN win-def_fer53objpath-->
6400
6401
6402 <!--RULE -->
6403 <axsl:template match="win-def:fileeffectiverights53_object/win-def:path[not(@operation='equals' or not(@operation))]" priority="1000" mode="M568">
6404
6405 <!--ASSERT -->
6406 <axsl:choose><axsl:when test="not(preceding-sibling::win-def:behaviors[@recurse_file_system='defined'])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_file_system behavior MUST not be set to 'defined' when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
6407
6408 <!--ASSERT -->
6409 <axsl:choose><axsl:when test="not(preceding-sibling::win-def:behaviors[@max_depth])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the max_depth behavior MUST not be used when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
6410
6411 <!--ASSERT -->
6412 <axsl:choose><axsl:when test="not(preceding-sibling::win-def:behaviors[@recurse_direction])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_direction behavior MUST not be used when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M568"/></axsl:template><axsl:template match="text()" priority="-1" mode="M568"/><axsl:template match="@*|node()" priority="-2" mode="M568"><axsl:apply-templates select="@*|*" mode="M568"/></axsl:template>
6413
6414 <!--PATTERN win-def_fer53objfilename-->
6415
6416
6417 <!--RULE -->
6418 <axsl:template match="win-def:fileeffectiverights53_object/win-def:filename" priority="1000" mode="M569">
6419
6420 <!--ASSERT -->
6421 <axsl:choose><axsl:when test="(not(contains(.,'\') or contains(.,'/') or contains(.,':') or contains(.,'*') or contains(.,'?') or contains(.,'&gt;') or contains(.,'|') or contains(.,'&lt;') or contains(.,'&quot;'))) or (@operation='pattern match')"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - filename entity cannot contain the characters / \ : * ? &gt; | &lt; "<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
6422
6423 <!--ASSERT -->
6424 <axsl:choose><axsl:when test="(@var_ref and .='') or ((@xsi:nil='1' or @xsi:nil='true') and .='') or not(.='') or (.='' and @operation='pattern match')"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - filename entity cannot be empty unless the xsi:nil attribute is set to true or a var_ref is used<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M569"/></axsl:template><axsl:template match="text()" priority="-1" mode="M569"/><axsl:template match="@*|node()" priority="-2" mode="M569"><axsl:apply-templates select="@*|*" mode="M569"/></axsl:template>
6425
6426 <!--PATTERN win-def_fer53stefilename-->
6427
6428
6429 <!--RULE -->
6430 <axsl:template match="win-def:fileeffectiverights53_state/win-def:filename" priority="1000" mode="M570">
6431
6432 <!--ASSERT -->
6433 <axsl:choose><axsl:when test="(not(contains(.,'\') or contains(.,'/') or contains(.,':') or contains(.,'*') or contains(.,'?') or contains(.,'&gt;') or contains(.,'|') or contains(.,'&lt;') or contains(.,'&quot;'))) or (@operation='pattern match')"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - filename entity cannot contain the characters / \ : * ? &gt; | &lt; "<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M570"/></axsl:template><axsl:template match="text()" priority="-1" mode="M570"/><axsl:template match="@*|node()" priority="-2" mode="M570"><axsl:apply-templates select="@*|*" mode="M570"/></axsl:template>
6434
6435 <!--PATTERN win-def_ffr53_include_group_value_dep-->
6436
6437
6438 <!--RULE -->
6439 <axsl:template match="oval-def:oval_definitions/oval-def:objects/win-def:fileeffectiverights53_object/win-def:behaviors" priority="1000" mode="M571">
6440
6441 <!--REPORT -->
6442 <axsl:if test="@include_group">DEPRECATED BEHAVIOR IN: win-def:fileeffectiverights53_object<axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M571"/></axsl:template><axsl:template match="text()" priority="-1" mode="M571"/><axsl:template match="@*|node()" priority="-2" mode="M571"><axsl:apply-templates select="@*|*" mode="M571"/></axsl:template>
6443
6444 <!--PATTERN win-def_ffr53_resolve_group_value_dep-->
6445
6446
6447 <!--RULE -->
6448 <axsl:template match="oval-def:oval_definitions/oval-def:objects/win-def:fileeffectiverights53_object/win-def:behaviors" priority="1000" mode="M572">
6449
6450 <!--REPORT -->
6451 <axsl:if test="@resolve_group">DEPRECATED BEHAVIOR IN: fileeffectiverights53_object <axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M572"/></axsl:template><axsl:template match="text()" priority="-1" mode="M572"/><axsl:template match="@*|node()" priority="-2" mode="M572"><axsl:apply-templates select="@*|*" mode="M572"/></axsl:template>
6452
6453 <!--PATTERN win-def_fertst_dep-->
6454
6455
6456 <!--RULE -->
6457 <axsl:template match="win-def:fileeffectiverights_test" priority="1000" mode="M573">
6458
6459 <!--REPORT -->
6460 <axsl:if test="true()">DEPRECATED TEST: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M573"/></axsl:template><axsl:template match="text()" priority="-1" mode="M573"/><axsl:template match="@*|node()" priority="-2" mode="M573"><axsl:apply-templates select="@*|*" mode="M573"/></axsl:template>
6461
6462 <!--PATTERN win-def_fertst-->
6463
6464
6465 <!--RULE -->
6466 <axsl:template match="win-def:fileeffectiverights_test/win-def:object" priority="1001" mode="M574">
6467
6468 <!--ASSERT -->
6469 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:fileeffectiverights_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a fileeffectiverights_test must reference a fileeffectiverights_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M574"/></axsl:template>
6470
6471 <!--RULE -->
6472 <axsl:template match="win-def:fileeffectiverights_test/win-def:state" priority="1000" mode="M574">
6473
6474 <!--ASSERT -->
6475 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:fileeffectiverights_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a fileeffectiverights_test must reference a fileeffectiverights_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M574"/></axsl:template><axsl:template match="text()" priority="-1" mode="M574"/><axsl:template match="@*|node()" priority="-2" mode="M574"><axsl:apply-templates select="@*|*" mode="M574"/></axsl:template>
6476
6477 <!--PATTERN win-def_ferobj_dep-->
6478
6479
6480 <!--RULE -->
6481 <axsl:template match="win-def:fileeffectiverights_object" priority="1000" mode="M575">
6482
6483 <!--REPORT -->
6484 <axsl:if test="true()">DEPRECATED OBJECT: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M575"/></axsl:template><axsl:template match="text()" priority="-1" mode="M575"/><axsl:template match="@*|node()" priority="-2" mode="M575"><axsl:apply-templates select="@*|*" mode="M575"/></axsl:template>
6485
6486 <!--PATTERN win-def_fefobjfilename-->
6487
6488
6489 <!--RULE -->
6490 <axsl:template match="win-def:fileeffectiverights_object/win-def:filename" priority="1000" mode="M576">
6491
6492 <!--ASSERT -->
6493 <axsl:choose><axsl:when test="(not(contains(.,'\') or contains(.,'/') or contains(.,':') or contains(.,'*') or contains(.,'?') or contains(.,'&gt;') or contains(.,'|') or contains(.,'&lt;') or contains(.,'&quot;'))) or (@operation='pattern match')"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - filename entity cannot contain the characters / \ : * ? &gt; | &lt; "<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
6494
6495 <!--ASSERT -->
6496 <axsl:choose><axsl:when test="(@var_ref and .='') or ((@xsi:nil='1' or @xsi:nil='true') and .='') or not(.='') or (.='' and @operation='pattern match')"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - filename entity cannot be empty unless the xsi:nil attribute is set to true or a var_ref is used<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M576"/></axsl:template><axsl:template match="text()" priority="-1" mode="M576"/><axsl:template match="@*|node()" priority="-2" mode="M576"><axsl:apply-templates select="@*|*" mode="M576"/></axsl:template>
6497
6498 <!--PATTERN win-def_ferste_dep-->
6499
6500
6501 <!--RULE -->
6502 <axsl:template match="win-def:fileeffectiverights_state" priority="1000" mode="M577">
6503
6504 <!--REPORT -->
6505 <axsl:if test="true()">DEPRECATED STATE: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M577"/></axsl:template><axsl:template match="text()" priority="-1" mode="M577"/><axsl:template match="@*|node()" priority="-2" mode="M577"><axsl:apply-templates select="@*|*" mode="M577"/></axsl:template>
6506
6507 <!--PATTERN win-def_ferstefilename-->
6508
6509
6510 <!--RULE -->
6511 <axsl:template match="win-def:fileeffectiverights_state/win-def:filename" priority="1000" mode="M578">
6512
6513 <!--ASSERT -->
6514 <axsl:choose><axsl:when test="(not(contains(.,'\') or contains(.,'/') or contains(.,':') or contains(.,'*') or contains(.,'?') or contains(.,'&gt;') or contains(.,'|') or contains(.,'&lt;') or contains(.,'&quot;'))) or (@operation='pattern match')"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - filename entity cannot contain the characters / \ : * ? &gt; | &lt; "<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M578"/></axsl:template><axsl:template match="text()" priority="-1" mode="M578"/><axsl:template match="@*|node()" priority="-2" mode="M578"><axsl:apply-templates select="@*|*" mode="M578"/></axsl:template>
6515
6516 <!--PATTERN win-def_ffr_include_group_value_dep-->
6517
6518
6519 <!--RULE -->
6520 <axsl:template match="oval-def:oval_definitions/oval-def:objects/win-def:fileeffectiverights_object/win-def:behaviors" priority="1000" mode="M579">
6521
6522 <!--REPORT -->
6523 <axsl:if test="@include_group">DEPRECATED BEHAVIOR IN: win-def:fileeffectiverights_object<axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M579"/></axsl:template><axsl:template match="text()" priority="-1" mode="M579"/><axsl:template match="@*|node()" priority="-2" mode="M579"><axsl:apply-templates select="@*|*" mode="M579"/></axsl:template>
6524
6525 <!--PATTERN win-def_ffr_resolve_group_value_dep-->
6526
6527
6528 <!--RULE -->
6529 <axsl:template match="oval-def:oval_definitions/oval-def:objects/win-def:fileeffectiverights_object/win-def:behaviors" priority="1000" mode="M580">
6530
6531 <!--REPORT -->
6532 <axsl:if test="@resolve_group">DEPRECATED BEHAVIOR IN: fileeffectiverights_object <axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M580"/></axsl:template><axsl:template match="text()" priority="-1" mode="M580"/><axsl:template match="@*|node()" priority="-2" mode="M580"><axsl:apply-templates select="@*|*" mode="M580"/></axsl:template>
6533
6534 <!--PATTERN win-def_grouptst_dep-->
6535
6536
6537 <!--RULE -->
6538 <axsl:template match="win-def:group_test" priority="1000" mode="M581">
6539
6540 <!--REPORT -->
6541 <axsl:if test="true()">DEPRECATED TEST: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M581"/></axsl:template><axsl:template match="text()" priority="-1" mode="M581"/><axsl:template match="@*|node()" priority="-2" mode="M581"><axsl:apply-templates select="@*|*" mode="M581"/></axsl:template>
6542
6543 <!--PATTERN win-def_grouptst-->
6544
6545
6546 <!--RULE -->
6547 <axsl:template match="win-def:group_test/win-def:object" priority="1001" mode="M582">
6548
6549 <!--ASSERT -->
6550 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:group_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a group_test must reference a group_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M582"/></axsl:template>
6551
6552 <!--RULE -->
6553 <axsl:template match="win-def:group_test/win-def:state" priority="1000" mode="M582">
6554
6555 <!--ASSERT -->
6556 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:group_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a group_test must reference a group_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M582"/></axsl:template><axsl:template match="text()" priority="-1" mode="M582"/><axsl:template match="@*|node()" priority="-2" mode="M582"><axsl:apply-templates select="@*|*" mode="M582"/></axsl:template>
6557
6558 <!--PATTERN win-def_groupobj_dep-->
6559
6560
6561 <!--RULE -->
6562 <axsl:template match="win-def:group_object" priority="1000" mode="M583">
6563
6564 <!--REPORT -->
6565 <axsl:if test="true()">DEPRECATED OBJECT: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M583"/></axsl:template><axsl:template match="text()" priority="-1" mode="M583"/><axsl:template match="@*|node()" priority="-2" mode="M583"><axsl:apply-templates select="@*|*" mode="M583"/></axsl:template>
6566
6567 <!--PATTERN win-def_group_object_verify_filter_state-->
6568
6569
6570 <!--RULE -->
6571 <axsl:template match="win-def:group_object//oval-def:filter" priority="1000" mode="M584"><axsl:variable name="parent_object" select="ancestor::win-def:group_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
6572
6573 <!--ASSERT -->
6574 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#windows') and ($state_name='group_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M584"/></axsl:template><axsl:template match="text()" priority="-1" mode="M584"/><axsl:template match="@*|node()" priority="-2" mode="M584"><axsl:apply-templates select="@*|*" mode="M584"/></axsl:template>
6575
6576 <!--PATTERN win-def_groupste_dep-->
6577
6578
6579 <!--RULE -->
6580 <axsl:template match="win-def:group_state" priority="1000" mode="M585">
6581
6582 <!--REPORT -->
6583 <axsl:if test="true()">DEPRECATED STATE: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M585"/></axsl:template><axsl:template match="text()" priority="-1" mode="M585"/><axsl:template match="@*|node()" priority="-2" mode="M585"><axsl:apply-templates select="@*|*" mode="M585"/></axsl:template>
6584
6585 <!--PATTERN win-def_groupsidtst-->
6586
6587
6588 <!--RULE -->
6589 <axsl:template match="win-def:group_sid_test/win-def:object" priority="1001" mode="M586">
6590
6591 <!--ASSERT -->
6592 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:group_sid_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a group_sid_test must reference a group_sid_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M586"/></axsl:template>
6593
6594 <!--RULE -->
6595 <axsl:template match="win-def:group_sid_test/win-def:state" priority="1000" mode="M586">
6596
6597 <!--ASSERT -->
6598 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:group_sid_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a group_sid_test must reference a group_sid_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M586"/></axsl:template><axsl:template match="text()" priority="-1" mode="M586"/><axsl:template match="@*|node()" priority="-2" mode="M586"><axsl:apply-templates select="@*|*" mode="M586"/></axsl:template>
6599
6600 <!--PATTERN win-def_group_sid_object_verify_filter_state-->
6601
6602
6603 <!--RULE -->
6604 <axsl:template match="win-def:group_sid_object//oval-def:filter" priority="1000" mode="M587"><axsl:variable name="parent_object" select="ancestor::win-def:group_sid_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
6605
6606 <!--ASSERT -->
6607 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#windows') and ($state_name='group_sid_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M587"/></axsl:template><axsl:template match="text()" priority="-1" mode="M587"/><axsl:template match="@*|node()" priority="-2" mode="M587"><axsl:apply-templates select="@*|*" mode="M587"/></axsl:template>
6608
6609 <!--PATTERN win-def_wininterfacetst-->
6610
6611
6612 <!--RULE -->
6613 <axsl:template match="win-def:interface_test/win-def:object" priority="1001" mode="M588">
6614
6615 <!--ASSERT -->
6616 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:interface_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of an interface_test must reference an interface_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M588"/></axsl:template>
6617
6618 <!--RULE -->
6619 <axsl:template match="win-def:interface_test/win-def:state" priority="1000" mode="M588">
6620
6621 <!--ASSERT -->
6622 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:interface_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of an interface_test must reference an interface_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M588"/></axsl:template><axsl:template match="text()" priority="-1" mode="M588"/><axsl:template match="@*|node()" priority="-2" mode="M588"><axsl:apply-templates select="@*|*" mode="M588"/></axsl:template>
6623
6624 <!--PATTERN win-def_interface_object_verify_filter_state-->
6625
6626
6627 <!--RULE -->
6628 <axsl:template match="win-def:interface_object//oval-def:filter" priority="1000" mode="M589"><axsl:variable name="parent_object" select="ancestor::win-def:interface_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
6629
6630 <!--ASSERT -->
6631 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#windows') and ($state_name='interface_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M589"/></axsl:template><axsl:template match="text()" priority="-1" mode="M589"/><axsl:template match="@*|node()" priority="-2" mode="M589"><axsl:apply-templates select="@*|*" mode="M589"/></axsl:template>
6632
6633 <!--PATTERN win-def_junctiontst-->
6634
6635
6636 <!--RULE -->
6637 <axsl:template match="win-def:junction_test/win-def:object" priority="1001" mode="M590">
6638
6639 <!--ASSERT -->
6640 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:junction_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a junction_test must reference a junction_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M590"/></axsl:template>
6641
6642 <!--RULE -->
6643 <axsl:template match="win-def:junction_test/win-def:state" priority="1000" mode="M590">
6644
6645 <!--ASSERT -->
6646 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:junction_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a junction_test must reference a junction_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M590"/></axsl:template><axsl:template match="text()" priority="-1" mode="M590"/><axsl:template match="@*|node()" priority="-2" mode="M590"><axsl:apply-templates select="@*|*" mode="M590"/></axsl:template>
6647
6648 <!--PATTERN win-def_junction_object_verify_filter_state-->
6649
6650
6651 <!--RULE -->
6652 <axsl:template match="win-def:junction_object//oval-def:filter" priority="1000" mode="M591"><axsl:variable name="parent_object" select="ancestor::win-def:junction_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
6653
6654 <!--ASSERT -->
6655 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#windows') and ($state_name='junction_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M591"/></axsl:template><axsl:template match="text()" priority="-1" mode="M591"/><axsl:template match="@*|node()" priority="-2" mode="M591"><axsl:apply-templates select="@*|*" mode="M591"/></axsl:template>
6656
6657 <!--PATTERN win-def_lptst-->
6658
6659
6660 <!--RULE -->
6661 <axsl:template match="win-def:lockoutpolicy_test/win-def:object" priority="1001" mode="M592">
6662
6663 <!--ASSERT -->
6664 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:lockoutpolicy_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a lockoutpolicy_test must reference a lockoutpolicy_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M592"/></axsl:template>
6665
6666 <!--RULE -->
6667 <axsl:template match="win-def:lockoutpolicy_test/win-def:state" priority="1000" mode="M592">
6668
6669 <!--ASSERT -->
6670 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:lockoutpolicy_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a lockoutpolicy_test must reference a lockoutpolicy_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M592"/></axsl:template><axsl:template match="text()" priority="-1" mode="M592"/><axsl:template match="@*|node()" priority="-2" mode="M592"><axsl:apply-templates select="@*|*" mode="M592"/></axsl:template>
6671
6672 <!--PATTERN win-def_lps_fl-->
6673
6674
6675 <!--RULE -->
6676 <axsl:template match="win-def:lockoutpolicy_state/win-def:force_logoff" priority="1000" mode="M593">
6677
6678 <!--ASSERT -->
6679 <axsl:choose><axsl:when test="string-length(.) = 0 or number(.) &lt; 0"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the value of force_logoff must be greater than or equal to zero<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M593"/></axsl:template><axsl:template match="text()" priority="-1" mode="M593"/><axsl:template match="@*|node()" priority="-2" mode="M593"><axsl:apply-templates select="@*|*" mode="M593"/></axsl:template>
6680
6681 <!--PATTERN win-def_lps_ld-->
6682
6683
6684 <!--RULE -->
6685 <axsl:template match="win-def:lockoutpolicy_state/win-def:lockout_duration" priority="1000" mode="M594">
6686
6687 <!--ASSERT -->
6688 <axsl:choose><axsl:when test="string-length(.) = 0 or number(.) &lt; 0"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the value of lockout_duration must be greater than or equal to zero<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M594"/></axsl:template><axsl:template match="text()" priority="-1" mode="M594"/><axsl:template match="@*|node()" priority="-2" mode="M594"><axsl:apply-templates select="@*|*" mode="M594"/></axsl:template>
6689
6690 <!--PATTERN win-def_metabasetst-->
6691
6692
6693 <!--RULE -->
6694 <axsl:template match="win-def:metabase_test/win-def:object" priority="1001" mode="M595">
6695
6696 <!--ASSERT -->
6697 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:metabase_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a metabase_test must reference a metabase_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M595"/></axsl:template>
6698
6699 <!--RULE -->
6700 <axsl:template match="win-def:metabase_test/win-def:state" priority="1000" mode="M595">
6701
6702 <!--ASSERT -->
6703 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:metabase_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a metabase_test must reference a metabase_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M595"/></axsl:template><axsl:template match="text()" priority="-1" mode="M595"/><axsl:template match="@*|node()" priority="-2" mode="M595"><axsl:apply-templates select="@*|*" mode="M595"/></axsl:template>
6704
6705 <!--PATTERN win-def_metabase_object_verify_filter_state-->
6706
6707
6708 <!--RULE -->
6709 <axsl:template match="win-def:metabase_object//oval-def:filter" priority="1000" mode="M596"><axsl:variable name="parent_object" select="ancestor::win-def:metabase_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
6710
6711 <!--ASSERT -->
6712 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#windows') and ($state_name='metabase_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M596"/></axsl:template><axsl:template match="text()" priority="-1" mode="M596"/><axsl:template match="@*|node()" priority="-2" mode="M596"><axsl:apply-templates select="@*|*" mode="M596"/></axsl:template>
6713
6714 <!--PATTERN win-def_ntusertst-->
6715
6716
6717 <!--RULE -->
6718 <axsl:template match="win-def:ntuser_test/win-def:object" priority="1001" mode="M597">
6719
6720 <!--ASSERT -->
6721 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:ntuser_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child
6722 element of a ntuser_test must reference a ntuser_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M597"/></axsl:template>
6723
6724 <!--RULE -->
6725 <axsl:template match="win-def:ntuser_test/win-def:state" priority="1000" mode="M597">
6726
6727 <!--ASSERT -->
6728 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:ntuser_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element
6729 of a ntuser_test must reference a ntuser_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M597"/></axsl:template><axsl:template match="text()" priority="-1" mode="M597"/><axsl:template match="@*|node()" priority="-2" mode="M597"><axsl:apply-templates select="@*|*" mode="M597"/></axsl:template>
6730
6731 <!--PATTERN win-def_ntuser_object_verify_filter_state-->
6732
6733
6734 <!--RULE -->
6735 <axsl:template match="win-def:ntuser_object//oval-def:filter" priority="1000" mode="M598"><axsl:variable name="parent_object" select="ancestor::win-def:ntuser_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
6736
6737 <!--ASSERT -->
6738 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#windows') and ($state_name='ntuser_state'))"/><axsl:otherwise>State referenced in filter for
6739 <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M598"/></axsl:template><axsl:template match="text()" priority="-1" mode="M598"/><axsl:template match="@*|node()" priority="-2" mode="M598"><axsl:apply-templates select="@*|*" mode="M598"/></axsl:template>
6740
6741 <!--PATTERN win-def_ntuserobjkey2-->
6742
6743
6744 <!--RULE -->
6745 <axsl:template match="win-def:ntuser_object/win-def:key[not(@operation='equals' or not(@operation))]" priority="1000" mode="M599">
6746
6747 <!--ASSERT -->
6748 <axsl:choose><axsl:when test="not(preceding-sibling::win-def:behaviors[@max_depth])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the max_depth
6749 behavior MUST not be used when a pattern match is used with a key entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
6750
6751 <!--ASSERT -->
6752 <axsl:choose><axsl:when test="not(preceding-sibling::win-def:behaviors[@recurse_direction])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the
6753 recurse_direction behavior MUST not be used when a pattern match is used with a key entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M599"/></axsl:template><axsl:template match="text()" priority="-1" mode="M599"/><axsl:template match="@*|node()" priority="-2" mode="M599"><axsl:apply-templates select="@*|*" mode="M599"/></axsl:template>
6754
6755 <!--PATTERN win-def_pptst-->
6756
6757
6758 <!--RULE -->
6759 <axsl:template match="win-def:passwordpolicy_test/win-def:object" priority="1001" mode="M600">
6760
6761 <!--ASSERT -->
6762 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:passwordpolicy_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a passwordpolicy_test must reference a passwordpolicy_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M600"/></axsl:template>
6763
6764 <!--RULE -->
6765 <axsl:template match="win-def:passwordpolicy_test/win-def:state" priority="1000" mode="M600">
6766
6767 <!--ASSERT -->
6768 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:passwordpolicy_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a passwordpolicy_test must reference a passwordpolicy_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M600"/></axsl:template><axsl:template match="text()" priority="-1" mode="M600"/><axsl:template match="@*|node()" priority="-2" mode="M600"><axsl:apply-templates select="@*|*" mode="M600"/></axsl:template>
6769
6770 <!--PATTERN win-def_pwp_mpa-->
6771
6772
6773 <!--RULE -->
6774 <axsl:template match="win-def:passwordpolicy_state/win-def:max_passwd_age" priority="1000" mode="M601">
6775
6776 <!--ASSERT -->
6777 <axsl:choose><axsl:when test="number(.) &lt; 0"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the value of max_passwd_age must be greater than or equal to zero<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M601"/></axsl:template><axsl:template match="text()" priority="-1" mode="M601"/><axsl:template match="@*|node()" priority="-2" mode="M601"><axsl:apply-templates select="@*|*" mode="M601"/></axsl:template>
6778
6779 <!--PATTERN win-def_peheaderobjfilepath-->
6780
6781
6782 <!--RULE -->
6783 <axsl:template match="win-def:peheader_object/win-def:filepath" priority="1000" mode="M602">
6784
6785 <!--ASSERT -->
6786 <axsl:choose><axsl:when test="not(preceding-sibling::win-def:behaviors[@max_depth or @recurse_direction])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the max_depth and recurse_direction behaviors are not allowed with a filepath entity<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M602"/></axsl:template><axsl:template match="text()" priority="-1" mode="M602"/><axsl:template match="@*|node()" priority="-2" mode="M602"><axsl:apply-templates select="@*|*" mode="M602"/></axsl:template>
6787
6788 <!--PATTERN win-def_peheaderobjfilepath2-->
6789
6790
6791 <!--RULE -->
6792 <axsl:template match="win-def:peheader_object/win-def:filepath[not(@operation='equals' or not(@operation))]" priority="1000" mode="M603">
6793
6794 <!--ASSERT -->
6795 <axsl:choose><axsl:when test="not(preceding-sibling::win-def:behaviors[@recurse_file_system='defined'])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_file_system behavior MUST not be set to 'defined' when a pattern match is used with a filepath entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M603"/></axsl:template><axsl:template match="text()" priority="-1" mode="M603"/><axsl:template match="@*|node()" priority="-2" mode="M603"><axsl:apply-templates select="@*|*" mode="M603"/></axsl:template>
6796
6797 <!--PATTERN win-def_peheaderobjpath-->
6798
6799
6800 <!--RULE -->
6801 <axsl:template match="win-def:peheader_object/win-def:filepath[not(@operation='equals' or not(@operation))]" priority="1000" mode="M604">
6802
6803 <!--ASSERT -->
6804 <axsl:choose><axsl:when test="not(preceding-sibling::win-def:behaviors[@recurse_file_system='defined'])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_file_system behavior MUST not be set to 'defined' when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
6805
6806 <!--ASSERT -->
6807 <axsl:choose><axsl:when test="not(preceding-sibling::win-def:behaviors[@max_depth])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the max_depth behavior MUST not be used when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
6808
6809 <!--ASSERT -->
6810 <axsl:choose><axsl:when test="not(preceding-sibling::win-def:behaviors[@recurse_direction])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_direction behavior MUST not be used when a pattern match is used with a path entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M604"/></axsl:template><axsl:template match="text()" priority="-1" mode="M604"/><axsl:template match="@*|node()" priority="-2" mode="M604"><axsl:apply-templates select="@*|*" mode="M604"/></axsl:template>
6811
6812 <!--PATTERN win-def_peheaderobjfilename-->
6813
6814
6815 <!--RULE -->
6816 <axsl:template match="win-def:peheader_object/win-def:filename" priority="1000" mode="M605">
6817
6818 <!--ASSERT -->
6819 <axsl:choose><axsl:when test="(not(contains(.,'\') or contains(.,'/') or contains(.,':') or contains(.,'*') or contains(.,'?') or contains(.,'&gt;') or contains(.,'|') or contains(.,'&lt;') or contains(.,'&quot;'))) or (@operation='pattern match')"/><axsl:otherwise>
6820 <axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - filename entity cannot contain the characters / \ : * ? &gt; | &lt; "<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M605"/></axsl:template><axsl:template match="text()" priority="-1" mode="M605"/><axsl:template match="@*|node()" priority="-2" mode="M605"><axsl:apply-templates select="@*|*" mode="M605"/></axsl:template>
6821
6822 <!--PATTERN win-def_peheaderstefilename-->
6823
6824
6825 <!--RULE -->
6826 <axsl:template match="win-def:peheader_state/win-def:filename" priority="1000" mode="M606">
6827
6828 <!--ASSERT -->
6829 <axsl:choose><axsl:when test="(not(contains(.,'\') or contains(.,'/') or contains(.,':') or contains(.,'*') or contains(.,'?') or contains(.,'&gt;') or contains(.,'|') or contains(.,'&lt;') or contains(.,'&quot;'))) or (@operation='pattern match')"/><axsl:otherwise>
6830 <axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - filename entity cannot contain the characters / \ : * ? &gt; | &lt; "<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M606"/></axsl:template><axsl:template match="text()" priority="-1" mode="M606"/><axsl:template match="@*|node()" priority="-2" mode="M606"><axsl:apply-templates select="@*|*" mode="M606"/></axsl:template>
6831
6832 <!--PATTERN win-def_winporttst-->
6833
6834
6835 <!--RULE -->
6836 <axsl:template match="win-def:port_test/win-def:object" priority="1001" mode="M607">
6837
6838 <!--ASSERT -->
6839 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:port_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a port_test must reference a port_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M607"/></axsl:template>
6840
6841 <!--RULE -->
6842 <axsl:template match="win-def:port_test/win-def:state" priority="1000" mode="M607">
6843
6844 <!--ASSERT -->
6845 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:port_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a port_test must reference a port_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M607"/></axsl:template><axsl:template match="text()" priority="-1" mode="M607"/><axsl:template match="@*|node()" priority="-2" mode="M607"><axsl:apply-templates select="@*|*" mode="M607"/></axsl:template>
6846
6847 <!--PATTERN win-def_port_object_verify_filter_state-->
6848
6849
6850 <!--RULE -->
6851 <axsl:template match="win-def:port_object//oval-def:filter" priority="1000" mode="M608"><axsl:variable name="parent_object" select="ancestor::win-def:port_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
6852
6853 <!--ASSERT -->
6854 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#windows') and ($state_name='port_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M608"/></axsl:template><axsl:template match="text()" priority="-1" mode="M608"/><axsl:template match="@*|node()" priority="-2" mode="M608"><axsl:apply-templates select="@*|*" mode="M608"/></axsl:template>
6855
6856 <!--PATTERN win-def_pertst-->
6857
6858
6859 <!--RULE -->
6860 <axsl:template match="win-def:printereffectiverights_test/win-def:object" priority="1001" mode="M609">
6861
6862 <!--ASSERT -->
6863 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:printereffectiverights_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a printereffectiverights_test must reference a printereffectiverights_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M609"/></axsl:template>
6864
6865 <!--RULE -->
6866 <axsl:template match="win-def:printereffectiverights_test/win-def:state" priority="1000" mode="M609">
6867
6868 <!--ASSERT -->
6869 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:printereffectiverights_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a printereffectiverights_test must reference a printereffectiverights_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M609"/></axsl:template><axsl:template match="text()" priority="-1" mode="M609"/><axsl:template match="@*|node()" priority="-2" mode="M609"><axsl:apply-templates select="@*|*" mode="M609"/></axsl:template>
6870
6871 <!--PATTERN win-def_printereffectiverights_object_verify_filter_state-->
6872
6873
6874 <!--RULE -->
6875 <axsl:template match="win-def:printereffectiverights_object//oval-def:filter" priority="1000" mode="M610"><axsl:variable name="parent_object" select="ancestor::win-def:printereffectiverights_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
6876
6877 <!--ASSERT -->
6878 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#windows') and ($state_name='printereffectiverights_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M610"/></axsl:template><axsl:template match="text()" priority="-1" mode="M610"/><axsl:template match="@*|node()" priority="-2" mode="M610"><axsl:apply-templates select="@*|*" mode="M610"/></axsl:template>
6879
6880 <!--PATTERN win-def_pef_include_group_value_dep-->
6881
6882
6883 <!--RULE -->
6884 <axsl:template match="oval-def:oval_definitions/oval-def:objects/win-def:printereffectiverights_object/win-def:behaviors" priority="1000" mode="M611">
6885
6886 <!--REPORT -->
6887 <axsl:if test="@include_group">DEPRECATED BEHAVIOR IN: win-def:printereffectiverights_object<axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M611"/></axsl:template><axsl:template match="text()" priority="-1" mode="M611"/><axsl:template match="@*|node()" priority="-2" mode="M611"><axsl:apply-templates select="@*|*" mode="M611"/></axsl:template>
6888
6889 <!--PATTERN win-def_pef_resolve_group_value_dep-->
6890
6891
6892 <!--RULE -->
6893 <axsl:template match="oval-def:oval_definitions/oval-def:objects/win-def:printereffectiverights_object/win-def:behaviors" priority="1000" mode="M612">
6894
6895 <!--REPORT -->
6896 <axsl:if test="@resolve_group">DEPRECATED BEHAVIOR IN: printereffectiverights_object <axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M612"/></axsl:template><axsl:template match="text()" priority="-1" mode="M612"/><axsl:template match="@*|node()" priority="-2" mode="M612"><axsl:apply-templates select="@*|*" mode="M612"/></axsl:template>
6897
6898 <!--PATTERN win-def_processtst_dep-->
6899
6900
6901 <!--RULE -->
6902 <axsl:template match="win-def:process_test" priority="1000" mode="M613">
6903
6904 <!--REPORT -->
6905 <axsl:if test="true()">DEPRECATED TEST: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M613"/></axsl:template><axsl:template match="text()" priority="-1" mode="M613"/><axsl:template match="@*|node()" priority="-2" mode="M613"><axsl:apply-templates select="@*|*" mode="M613"/></axsl:template>
6906
6907 <!--PATTERN win-def_processtst-->
6908
6909
6910 <!--RULE -->
6911 <axsl:template match="win-def:process_test/win-def:object" priority="1001" mode="M614">
6912
6913 <!--ASSERT -->
6914 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:process_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a process_test must reference a process_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M614"/></axsl:template>
6915
6916 <!--RULE -->
6917 <axsl:template match="win-def:process_test/win-def:state" priority="1000" mode="M614">
6918
6919 <!--ASSERT -->
6920 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:process_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a process_test must reference a process_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M614"/></axsl:template><axsl:template match="text()" priority="-1" mode="M614"/><axsl:template match="@*|node()" priority="-2" mode="M614"><axsl:apply-templates select="@*|*" mode="M614"/></axsl:template>
6921
6922 <!--PATTERN win-def_processobj_dep-->
6923
6924
6925 <!--RULE -->
6926 <axsl:template match="win-def:process_object" priority="1000" mode="M615">
6927
6928 <!--REPORT -->
6929 <axsl:if test="true()">DEPRECATED OBJECT: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M615"/></axsl:template><axsl:template match="text()" priority="-1" mode="M615"/><axsl:template match="@*|node()" priority="-2" mode="M615"><axsl:apply-templates select="@*|*" mode="M615"/></axsl:template>
6930
6931 <!--PATTERN win-def_processste_dep-->
6932
6933
6934 <!--RULE -->
6935 <axsl:template match="win-def:process_state" priority="1000" mode="M616">
6936
6937 <!--REPORT -->
6938 <axsl:if test="true()">DEPRECATED STATE: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M616"/></axsl:template><axsl:template match="text()" priority="-1" mode="M616"/><axsl:template match="@*|node()" priority="-2" mode="M616"><axsl:apply-templates select="@*|*" mode="M616"/></axsl:template>
6939
6940 <!--PATTERN win-def_process58tst-->
6941
6942
6943 <!--RULE -->
6944 <axsl:template match="win-def:process58_test/win-def:object" priority="1001" mode="M617">
6945
6946 <!--ASSERT -->
6947 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:process58_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a process58_test must reference a process58_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M617"/></axsl:template>
6948
6949 <!--RULE -->
6950 <axsl:template match="win-def:process58_test/win-def:state" priority="1000" mode="M617">
6951
6952 <!--ASSERT -->
6953 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:process58_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a process58_test must reference a process58_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M617"/></axsl:template><axsl:template match="text()" priority="-1" mode="M617"/><axsl:template match="@*|node()" priority="-2" mode="M617"><axsl:apply-templates select="@*|*" mode="M617"/></axsl:template>
6954
6955 <!--PATTERN win-def_process58_object_verify_filter_state-->
6956
6957
6958 <!--RULE -->
6959 <axsl:template match="win-def:process58_object//oval-def:filter" priority="1000" mode="M618"><axsl:variable name="parent_object" select="ancestor::win-def:process58_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
6960
6961 <!--ASSERT -->
6962 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#windows') and ($state_name='process58_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M618"/></axsl:template><axsl:template match="text()" priority="-1" mode="M618"/><axsl:template match="@*|node()" priority="-2" mode="M618"><axsl:apply-templates select="@*|*" mode="M618"/></axsl:template>
6963
6964 <!--PATTERN win-def_regtst-->
6965
6966
6967 <!--RULE -->
6968 <axsl:template match="win-def:registry_test/win-def:object" priority="1001" mode="M619">
6969
6970 <!--ASSERT -->
6971 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:registry_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a registry_test must reference a registry_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M619"/></axsl:template>
6972
6973 <!--RULE -->
6974 <axsl:template match="win-def:registry_test/win-def:state" priority="1000" mode="M619">
6975
6976 <!--ASSERT -->
6977 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:registry_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a registry_test must reference a registry_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M619"/></axsl:template><axsl:template match="text()" priority="-1" mode="M619"/><axsl:template match="@*|node()" priority="-2" mode="M619"><axsl:apply-templates select="@*|*" mode="M619"/></axsl:template>
6978
6979 <!--PATTERN win-def_registry_object_verify_filter_state-->
6980
6981
6982 <!--RULE -->
6983 <axsl:template match="win-def:registry_object//oval-def:filter" priority="1000" mode="M620"><axsl:variable name="parent_object" select="ancestor::win-def:registry_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
6984
6985 <!--ASSERT -->
6986 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#windows') and ($state_name='registry_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M620"/></axsl:template><axsl:template match="text()" priority="-1" mode="M620"/><axsl:template match="@*|node()" priority="-2" mode="M620"><axsl:apply-templates select="@*|*" mode="M620"/></axsl:template>
6987
6988 <!--PATTERN win-def_regobjkey2-->
6989
6990
6991 <!--RULE -->
6992 <axsl:template match="win-def:registry_object/win-def:key[not(@operation='equals' or not(@operation))]" priority="1000" mode="M621">
6993
6994 <!--ASSERT -->
6995 <axsl:choose><axsl:when test="not(preceding-sibling::win-def:behaviors[@max_depth])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the max_depth behavior MUST not be used when a pattern match is used with a key entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
6996
6997 <!--ASSERT -->
6998 <axsl:choose><axsl:when test="not(preceding-sibling::win-def:behaviors[@recurse_direction])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_direction behavior MUST not be used when a pattern match is used with a key entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M621"/></axsl:template><axsl:template match="text()" priority="-1" mode="M621"/><axsl:template match="@*|node()" priority="-2" mode="M621"><axsl:apply-templates select="@*|*" mode="M621"/></axsl:template>
6999
7000 <!--PATTERN win-def_rap53tst-->
7001
7002
7003 <!--RULE -->
7004 <axsl:template match="win-def:regkeyauditedpermissions53_test/win-def:object" priority="1001" mode="M622">
7005
7006 <!--ASSERT -->
7007 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:regkeyauditedpermissions53_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a regkeyauditedpermissions53_test must reference a regkeyauditedpermissions53_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M622"/></axsl:template>
7008
7009 <!--RULE -->
7010 <axsl:template match="win-def:regkeyauditedpermissions53_test/win-def:state" priority="1000" mode="M622">
7011
7012 <!--ASSERT -->
7013 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:regkeyauditedpermissions53_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a regkeyauditedpermissions53_test must reference a regkeyauditedpermissions53_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M622"/></axsl:template><axsl:template match="text()" priority="-1" mode="M622"/><axsl:template match="@*|node()" priority="-2" mode="M622"><axsl:apply-templates select="@*|*" mode="M622"/></axsl:template>
7014
7015 <!--PATTERN win-def_regkeyauditedpermissions53_object_verify_filter_state-->
7016
7017
7018 <!--RULE -->
7019 <axsl:template match="win-def:regkeyauditedpermissions53_object//oval-def:filter" priority="1000" mode="M623"><axsl:variable name="parent_object" select="ancestor::win-def:regkeyauditedpermissions53_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
7020
7021 <!--ASSERT -->
7022 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#windows') and ($state_name='regkeyauditedpermissions53_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M623"/></axsl:template><axsl:template match="text()" priority="-1" mode="M623"/><axsl:template match="@*|node()" priority="-2" mode="M623"><axsl:apply-templates select="@*|*" mode="M623"/></axsl:template>
7023
7024 <!--PATTERN win-def_regkeyauditedpermissions53_objectkey-->
7025
7026
7027 <!--RULE -->
7028 <axsl:template match="win-def:regkeyauditedpermissions53_object/win-def:key[not(@operation='equals' or not(@operation))]" priority="1000" mode="M624">
7029
7030 <!--ASSERT -->
7031 <axsl:choose><axsl:when test="not(preceding-sibling::win-def:behaviors[@max_depth])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the max_depth behavior MUST not be used when a pattern match is used with a key entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
7032
7033 <!--ASSERT -->
7034 <axsl:choose><axsl:when test="not(preceding-sibling::win-def:behaviors[@recurse_direction])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_direction behavior MUST not be used when a pattern match is used with a key entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M624"/></axsl:template><axsl:template match="text()" priority="-1" mode="M624"/><axsl:template match="@*|node()" priority="-2" mode="M624"><axsl:apply-templates select="@*|*" mode="M624"/></axsl:template>
7035
7036 <!--PATTERN win-def_rap53stestandard_synchronize-->
7037
7038
7039 <!--RULE -->
7040 <axsl:template match="win-def:regkeyauditedpermissions53_state/win-def:standard_synchronize" priority="1000" mode="M625">
7041
7042 <!--REPORT -->
7043 <axsl:if test="true()">DEPRECATED ELEMENT: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M625"/></axsl:template><axsl:template match="text()" priority="-1" mode="M625"/><axsl:template match="@*|node()" priority="-2" mode="M625"><axsl:apply-templates select="@*|*" mode="M625"/></axsl:template>
7044
7045 <!--PATTERN win-def_rka53_include_group_value_dep-->
7046
7047
7048 <!--RULE -->
7049 <axsl:template match="oval-def:oval_definitions/oval-def:objects/win-def:regkeyauditedpermissions53_object/win-def:behaviors" priority="1000" mode="M626">
7050
7051 <!--REPORT -->
7052 <axsl:if test="@include_group">DEPRECATED BEHAVIOR IN: win-def:regkeyauditedpermissions53_object<axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M626"/></axsl:template><axsl:template match="text()" priority="-1" mode="M626"/><axsl:template match="@*|node()" priority="-2" mode="M626"><axsl:apply-templates select="@*|*" mode="M626"/></axsl:template>
7053
7054 <!--PATTERN win-def_rka53_resolve_group_value_dep-->
7055
7056
7057 <!--RULE -->
7058 <axsl:template match="oval-def:oval_definitions/oval-def:objects/win-def:regkeyauditedpermissions53_object/win-def:behaviors" priority="1000" mode="M627">
7059
7060 <!--REPORT -->
7061 <axsl:if test="@resolve_group">DEPRECATED BEHAVIOR IN: regkeyauditedpermissions53_object <axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M627"/></axsl:template><axsl:template match="text()" priority="-1" mode="M627"/><axsl:template match="@*|node()" priority="-2" mode="M627"><axsl:apply-templates select="@*|*" mode="M627"/></axsl:template>
7062
7063 <!--PATTERN win-def_raptst_dep-->
7064
7065
7066 <!--RULE -->
7067 <axsl:template match="win-def:regkeyauditedpermissions_test" priority="1000" mode="M628">
7068
7069 <!--REPORT -->
7070 <axsl:if test="true()">DEPRECATED TEST: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M628"/></axsl:template><axsl:template match="text()" priority="-1" mode="M628"/><axsl:template match="@*|node()" priority="-2" mode="M628"><axsl:apply-templates select="@*|*" mode="M628"/></axsl:template>
7071
7072 <!--PATTERN win-def_raptst-->
7073
7074
7075 <!--RULE -->
7076 <axsl:template match="win-def:regkeyauditedpermissions_test/win-def:object" priority="1001" mode="M629">
7077
7078 <!--ASSERT -->
7079 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:regkeyauditedpermissions_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a regkeyauditedpermissions_test must reference a regkeyauditedpermissions_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M629"/></axsl:template>
7080
7081 <!--RULE -->
7082 <axsl:template match="win-def:regkeyauditedpermissions_test/win-def:state" priority="1000" mode="M629">
7083
7084 <!--ASSERT -->
7085 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:regkeyauditedpermissions_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a regkeyauditedpermissions_test must reference a regkeyauditedpermissions_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M629"/></axsl:template><axsl:template match="text()" priority="-1" mode="M629"/><axsl:template match="@*|node()" priority="-2" mode="M629"><axsl:apply-templates select="@*|*" mode="M629"/></axsl:template>
7086
7087 <!--PATTERN win-def_rapobj_dep-->
7088
7089
7090 <!--RULE -->
7091 <axsl:template match="win-def:regkeyauditedpermissions_object" priority="1000" mode="M630">
7092
7093 <!--REPORT -->
7094 <axsl:if test="true()">DEPRECATED OBJECT: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M630"/></axsl:template><axsl:template match="text()" priority="-1" mode="M630"/><axsl:template match="@*|node()" priority="-2" mode="M630"><axsl:apply-templates select="@*|*" mode="M630"/></axsl:template>
7095
7096 <!--PATTERN win-def_regkeyauditedpermissions_objectkey-->
7097
7098
7099 <!--RULE -->
7100 <axsl:template match="win-def:regkeyauditedpermissions_object/win-def:key[not(@operation='equals' or not(@operation))]" priority="1000" mode="M631">
7101
7102 <!--ASSERT -->
7103 <axsl:choose><axsl:when test="not(preceding-sibling::win-def:behaviors[@max_depth])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the max_depth behavior MUST not be used when a pattern match is used with a key entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
7104
7105 <!--ASSERT -->
7106 <axsl:choose><axsl:when test="not(preceding-sibling::win-def:behaviors[@recurse_direction])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_direction behavior MUST not be used when a pattern match is used with a key entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M631"/></axsl:template><axsl:template match="text()" priority="-1" mode="M631"/><axsl:template match="@*|node()" priority="-2" mode="M631"><axsl:apply-templates select="@*|*" mode="M631"/></axsl:template>
7107
7108 <!--PATTERN win-def_rapste_dep-->
7109
7110
7111 <!--RULE -->
7112 <axsl:template match="win-def:regkeyauditedpermissions_state" priority="1000" mode="M632">
7113
7114 <!--REPORT -->
7115 <axsl:if test="true()">DEPRECATED STATE: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M632"/></axsl:template><axsl:template match="text()" priority="-1" mode="M632"/><axsl:template match="@*|node()" priority="-2" mode="M632"><axsl:apply-templates select="@*|*" mode="M632"/></axsl:template>
7116
7117 <!--PATTERN win-def_rka_include_group_value_dep-->
7118
7119
7120 <!--RULE -->
7121 <axsl:template match="oval-def:oval_definitions/oval-def:objects/win-def:regkeyauditedpermissions_object/win-def:behaviors" priority="1000" mode="M633">
7122
7123 <!--REPORT -->
7124 <axsl:if test="@include_group">DEPRECATED BEHAVIOR IN: win-def:regkeyauditedpermissions_object<axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M633"/></axsl:template><axsl:template match="text()" priority="-1" mode="M633"/><axsl:template match="@*|node()" priority="-2" mode="M633"><axsl:apply-templates select="@*|*" mode="M633"/></axsl:template>
7125
7126 <!--PATTERN win-def_rka_resolve_group_value_dep-->
7127
7128
7129 <!--RULE -->
7130 <axsl:template match="oval-def:oval_definitions/oval-def:objects/win-def:regkeyauditedpermissions_object/win-def:behaviors" priority="1000" mode="M634">
7131
7132 <!--REPORT -->
7133 <axsl:if test="@resolve_group">DEPRECATED BEHAVIOR IN: regkeyauditedpermissions_object <axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M634"/></axsl:template><axsl:template match="text()" priority="-1" mode="M634"/><axsl:template match="@*|node()" priority="-2" mode="M634"><axsl:apply-templates select="@*|*" mode="M634"/></axsl:template>
7134
7135 <!--PATTERN win-def_rer53tst-->
7136
7137
7138 <!--RULE -->
7139 <axsl:template match="win-def:regkeyeffectiverights53_test/win-def:object" priority="1001" mode="M635">
7140
7141 <!--ASSERT -->
7142 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:regkeyeffectiverights53_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a regkeyeffectiverights53_test must reference a regkeyeffectiverights53_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M635"/></axsl:template>
7143
7144 <!--RULE -->
7145 <axsl:template match="win-def:regkeyeffectiverights53_test/win-def:state" priority="1000" mode="M635">
7146
7147 <!--ASSERT -->
7148 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:regkeyeffectiverights53_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a regkeyeffectiverights53_test must reference a regkeyeffectiverights53_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M635"/></axsl:template><axsl:template match="text()" priority="-1" mode="M635"/><axsl:template match="@*|node()" priority="-2" mode="M635"><axsl:apply-templates select="@*|*" mode="M635"/></axsl:template>
7149
7150 <!--PATTERN win-def_regkeyeffectiverights53_object_verify_filter_state-->
7151
7152
7153 <!--RULE -->
7154 <axsl:template match="win-def:regkeyeffectiverights53_object//oval-def:filter" priority="1000" mode="M636"><axsl:variable name="parent_object" select="ancestor::win-def:regkeyeffectiverights53_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
7155
7156 <!--ASSERT -->
7157 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#windows') and ($state_name='regkeyeffectiverights53_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M636"/></axsl:template><axsl:template match="text()" priority="-1" mode="M636"/><axsl:template match="@*|node()" priority="-2" mode="M636"><axsl:apply-templates select="@*|*" mode="M636"/></axsl:template>
7158
7159 <!--PATTERN win-def_regkeyeffectiverights53_objectkey-->
7160
7161
7162 <!--RULE -->
7163 <axsl:template match="win-def:regkeyeffectiverights53_object/win-def:key[not(@operation='equals' or not(@operation))]" priority="1000" mode="M637">
7164
7165 <!--ASSERT -->
7166 <axsl:choose><axsl:when test="not(preceding-sibling::win-def:behaviors[@max_depth])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the max_depth behavior MUST not be used when a pattern match is used with a key entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
7167
7168 <!--ASSERT -->
7169 <axsl:choose><axsl:when test="not(preceding-sibling::win-def:behaviors[@recurse_direction])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_direction behavior MUST not be used when a pattern match is used with a key entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M637"/></axsl:template><axsl:template match="text()" priority="-1" mode="M637"/><axsl:template match="@*|node()" priority="-2" mode="M637"><axsl:apply-templates select="@*|*" mode="M637"/></axsl:template>
7170
7171 <!--PATTERN win-def_rer53stestandard_synchronize-->
7172
7173
7174 <!--RULE -->
7175 <axsl:template match="win-def:regkeyeffectiverights53_state/win-def:standard_synchronize" priority="1000" mode="M638">
7176
7177 <!--REPORT -->
7178 <axsl:if test="true()">DEPRECATED ELEMENT: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M638"/></axsl:template><axsl:template match="text()" priority="-1" mode="M638"/><axsl:template match="@*|node()" priority="-2" mode="M638"><axsl:apply-templates select="@*|*" mode="M638"/></axsl:template>
7179
7180 <!--PATTERN win-def_rke53_include_group_value_dep-->
7181
7182
7183 <!--RULE -->
7184 <axsl:template match="oval-def:oval_definitions/oval-def:objects/win-def:regkeyeffectiverights53_object/win-def:behaviors" priority="1000" mode="M639">
7185
7186 <!--REPORT -->
7187 <axsl:if test="@include_group">DEPRECATED BEHAVIOR IN: win-def:regkeyeffectiverights53_object<axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M639"/></axsl:template><axsl:template match="text()" priority="-1" mode="M639"/><axsl:template match="@*|node()" priority="-2" mode="M639"><axsl:apply-templates select="@*|*" mode="M639"/></axsl:template>
7188
7189 <!--PATTERN win-def_rke53_resolve_group_value_dep-->
7190
7191
7192 <!--RULE -->
7193 <axsl:template match="oval-def:oval_definitions/oval-def:objects/win-def:regkeyeffectiverights53_object/win-def:behaviors" priority="1000" mode="M640">
7194
7195 <!--REPORT -->
7196 <axsl:if test="@resolve_group">DEPRECATED BEHAVIOR IN: regkeyeffectiverights53_object <axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M640"/></axsl:template><axsl:template match="text()" priority="-1" mode="M640"/><axsl:template match="@*|node()" priority="-2" mode="M640"><axsl:apply-templates select="@*|*" mode="M640"/></axsl:template>
7197
7198 <!--PATTERN win-def_rertst_dep-->
7199
7200
7201 <!--RULE -->
7202 <axsl:template match="win-def:regkeyeffectiverights_test" priority="1000" mode="M641">
7203
7204 <!--REPORT -->
7205 <axsl:if test="true()">DEPRECATED TEST: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M641"/></axsl:template><axsl:template match="text()" priority="-1" mode="M641"/><axsl:template match="@*|node()" priority="-2" mode="M641"><axsl:apply-templates select="@*|*" mode="M641"/></axsl:template>
7206
7207 <!--PATTERN win-def_rertst-->
7208
7209
7210 <!--RULE -->
7211 <axsl:template match="win-def:regkeyeffectiverights_test/win-def:object" priority="1001" mode="M642">
7212
7213 <!--ASSERT -->
7214 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:regkeyeffectiverights_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a regkeyeffectiverights_test must reference a regkeyeffectiverights_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M642"/></axsl:template>
7215
7216 <!--RULE -->
7217 <axsl:template match="win-def:regkeyeffectiverights_test/win-def:state" priority="1000" mode="M642">
7218
7219 <!--ASSERT -->
7220 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:regkeyeffectiverights_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a regkeyeffectiverights_test must reference a regkeyeffectiverights_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M642"/></axsl:template><axsl:template match="text()" priority="-1" mode="M642"/><axsl:template match="@*|node()" priority="-2" mode="M642"><axsl:apply-templates select="@*|*" mode="M642"/></axsl:template>
7221
7222 <!--PATTERN win-def_rerobj_dep-->
7223
7224
7225 <!--RULE -->
7226 <axsl:template match="win-def:regkeyeffectiverights_object" priority="1000" mode="M643">
7227
7228 <!--REPORT -->
7229 <axsl:if test="true()">DEPRECATED OBJECT: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M643"/></axsl:template><axsl:template match="text()" priority="-1" mode="M643"/><axsl:template match="@*|node()" priority="-2" mode="M643"><axsl:apply-templates select="@*|*" mode="M643"/></axsl:template>
7230
7231 <!--PATTERN win-def_regkeyeffectiverights_objectkey-->
7232
7233
7234 <!--RULE -->
7235 <axsl:template match="win-def:regkeyeffectiverights_object/win-def:key[not(@operation='equals' or not(@operation))]" priority="1000" mode="M644">
7236
7237 <!--ASSERT -->
7238 <axsl:choose><axsl:when test="not(preceding-sibling::win-def:behaviors[@max_depth])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the max_depth behavior MUST not be used when a pattern match is used with a key entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose>
7239
7240 <!--ASSERT -->
7241 <axsl:choose><axsl:when test="not(preceding-sibling::win-def:behaviors[@recurse_direction])"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the recurse_direction behavior MUST not be used when a pattern match is used with a key entity.<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M644"/></axsl:template><axsl:template match="text()" priority="-1" mode="M644"/><axsl:template match="@*|node()" priority="-2" mode="M644"><axsl:apply-templates select="@*|*" mode="M644"/></axsl:template>
7242
7243 <!--PATTERN win-def_rerste_dep-->
7244
7245
7246 <!--RULE -->
7247 <axsl:template match="win-def:regkeyeffectiverights_state" priority="1000" mode="M645">
7248
7249 <!--REPORT -->
7250 <axsl:if test="true()">DEPRECATED STATE: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M645"/></axsl:template><axsl:template match="text()" priority="-1" mode="M645"/><axsl:template match="@*|node()" priority="-2" mode="M645"><axsl:apply-templates select="@*|*" mode="M645"/></axsl:template>
7251
7252 <!--PATTERN win-def_rke_include_group_value_dep-->
7253
7254
7255 <!--RULE -->
7256 <axsl:template match="oval-def:oval_definitions/oval-def:objects/win-def:regkeyeffectiverights_object/win-def:behaviors" priority="1000" mode="M646">
7257
7258 <!--REPORT -->
7259 <axsl:if test="@include_group">DEPRECATED BEHAVIOR IN: win-def:regkeyeffectiverights_object<axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M646"/></axsl:template><axsl:template match="text()" priority="-1" mode="M646"/><axsl:template match="@*|node()" priority="-2" mode="M646"><axsl:apply-templates select="@*|*" mode="M646"/></axsl:template>
7260
7261 <!--PATTERN win-def_rke_resolve_group_value_dep-->
7262
7263
7264 <!--RULE -->
7265 <axsl:template match="oval-def:oval_definitions/oval-def:objects/win-def:regkeyeffectiverights_object/win-def:behaviors" priority="1000" mode="M647">
7266
7267 <!--REPORT -->
7268 <axsl:if test="@resolve_group">DEPRECATED BEHAVIOR IN: regkeyeffectiverights_object <axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M647"/></axsl:template><axsl:template match="text()" priority="-1" mode="M647"/><axsl:template match="@*|node()" priority="-2" mode="M647"><axsl:apply-templates select="@*|*" mode="M647"/></axsl:template>
7269
7270 <!--PATTERN win-def_servicetst-->
7271
7272
7273 <!--RULE -->
7274 <axsl:template match="win-def:service_test/win-def:object" priority="1001" mode="M648">
7275
7276 <!--ASSERT -->
7277 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:service_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a service_test must reference a service_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M648"/></axsl:template>
7278
7279 <!--RULE -->
7280 <axsl:template match="win-def:service_test/win-def:state" priority="1000" mode="M648">
7281
7282 <!--ASSERT -->
7283 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:service_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a service_test must reference a service_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M648"/></axsl:template><axsl:template match="text()" priority="-1" mode="M648"/><axsl:template match="@*|node()" priority="-2" mode="M648"><axsl:apply-templates select="@*|*" mode="M648"/></axsl:template>
7284
7285 <!--PATTERN win-def_service_object_verify_filter_state-->
7286
7287
7288 <!--RULE -->
7289 <axsl:template match="win-def:service_object//oval-def:filter" priority="1000" mode="M649"><axsl:variable name="parent_object" select="ancestor::win-def:service_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
7290
7291 <!--ASSERT -->
7292 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#windows') and ($state_name='service_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M649"/></axsl:template><axsl:template match="text()" priority="-1" mode="M649"/><axsl:template match="@*|node()" priority="-2" mode="M649"><axsl:apply-templates select="@*|*" mode="M649"/></axsl:template>
7293
7294 <!--PATTERN win-def_svcertst-->
7295
7296
7297 <!--RULE -->
7298 <axsl:template match="win-def:serviceeffectiverights_test/win-def:object" priority="1001" mode="M650">
7299
7300 <!--ASSERT -->
7301 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:serviceeffectiverights_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a serviceeffectiverights_test must reference a serviceeffectiverights_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M650"/></axsl:template>
7302
7303 <!--RULE -->
7304 <axsl:template match="win-def:serviceeffectiverights_test/win-def:state" priority="1000" mode="M650">
7305
7306 <!--ASSERT -->
7307 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:serviceeffectiverights_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a serviceeffectiverights_test must reference a serviceeffectiverights_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M650"/></axsl:template><axsl:template match="text()" priority="-1" mode="M650"/><axsl:template match="@*|node()" priority="-2" mode="M650"><axsl:apply-templates select="@*|*" mode="M650"/></axsl:template>
7308
7309 <!--PATTERN win-def_serviceeffectiverights_object_verify_filter_state-->
7310
7311
7312 <!--RULE -->
7313 <axsl:template match="win-def:serviceeffectiverights_object//oval-def:filter" priority="1000" mode="M651"><axsl:variable name="parent_object" select="ancestor::win-def:serviceeffectiverights_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
7314
7315 <!--ASSERT -->
7316 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#windows') and ($state_name='serviceeffectiverights_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M651"/></axsl:template><axsl:template match="text()" priority="-1" mode="M651"/><axsl:template match="@*|node()" priority="-2" mode="M651"><axsl:apply-templates select="@*|*" mode="M651"/></axsl:template>
7317
7318 <!--PATTERN win-def_sef_include_group_value_dep-->
7319
7320
7321 <!--RULE -->
7322 <axsl:template match="oval-def:oval_definitions/oval-def:objects/win-def:serviceeffectiverights_object/win-def:behaviors" priority="1000" mode="M652">
7323
7324 <!--REPORT -->
7325 <axsl:if test="@include_group">DEPRECATED BEHAVIOR IN: win-def:serviceeffectiverights_object<axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M652"/></axsl:template><axsl:template match="text()" priority="-1" mode="M652"/><axsl:template match="@*|node()" priority="-2" mode="M652"><axsl:apply-templates select="@*|*" mode="M652"/></axsl:template>
7326
7327 <!--PATTERN win-def_sef_resolve_group_value_dep-->
7328
7329
7330 <!--RULE -->
7331 <axsl:template match="oval-def:oval_definitions/oval-def:objects/win-def:serviceeffectiverights_object/win-def:behaviors" priority="1000" mode="M653">
7332
7333 <!--REPORT -->
7334 <axsl:if test="@resolve_group">DEPRECATED BEHAVIOR IN: serviceeffectiverights_object <axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M653"/></axsl:template><axsl:template match="text()" priority="-1" mode="M653"/><axsl:template match="@*|node()" priority="-2" mode="M653"><axsl:apply-templates select="@*|*" mode="M653"/></axsl:template>
7335
7336 <!--PATTERN win-def_srtst-->
7337
7338
7339 <!--RULE -->
7340 <axsl:template match="win-def:sharedresource_test/win-def:object" priority="1001" mode="M654">
7341
7342 <!--ASSERT -->
7343 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:sharedresource_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a sharedresource_test must reference a sharedresource_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M654"/></axsl:template>
7344
7345 <!--RULE -->
7346 <axsl:template match="win-def:sharedresource_test/win-def:state" priority="1000" mode="M654">
7347
7348 <!--ASSERT -->
7349 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:sharedresource_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a sharedresource_test must reference a sharedresource_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M654"/></axsl:template><axsl:template match="text()" priority="-1" mode="M654"/><axsl:template match="@*|node()" priority="-2" mode="M654"><axsl:apply-templates select="@*|*" mode="M654"/></axsl:template>
7350
7351 <!--PATTERN win-def_sharedresource_object_verify_filter_state-->
7352
7353
7354 <!--RULE -->
7355 <axsl:template match="win-def:sharedresource_object//oval-def:filter" priority="1000" mode="M655"><axsl:variable name="parent_object" select="ancestor::win-def:sharedresource_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
7356
7357 <!--ASSERT -->
7358 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#windows') and ($state_name='sharedresource_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M655"/></axsl:template><axsl:template match="text()" priority="-1" mode="M655"/><axsl:template match="@*|node()" priority="-2" mode="M655"><axsl:apply-templates select="@*|*" mode="M655"/></axsl:template>
7359
7360 <!--PATTERN win-def_sraptst-->
7361
7362
7363 <!--RULE -->
7364 <axsl:template match="win-def:sharedresourceauditedpermissions_test/win-def:object" priority="1001" mode="M656">
7365
7366 <!--ASSERT -->
7367 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:sharedresourceauditedpermissions_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a sharedresourceauditedpermissions_test must reference a sharedresourceauditedpermissions_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M656"/></axsl:template>
7368
7369 <!--RULE -->
7370 <axsl:template match="win-def:sharedresourceauditedpermissions_test/win-def:state" priority="1000" mode="M656">
7371
7372 <!--ASSERT -->
7373 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:sharedresourceauditedpermissions_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a sharedresourceauditedpermissions_test must reference a sharedresourceauditedpermissions_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M656"/></axsl:template><axsl:template match="text()" priority="-1" mode="M656"/><axsl:template match="@*|node()" priority="-2" mode="M656"><axsl:apply-templates select="@*|*" mode="M656"/></axsl:template>
7374
7375 <!--PATTERN win-def_sharedresourceauditedpermissions_object_verify_filter_state-->
7376
7377
7378 <!--RULE -->
7379 <axsl:template match="win-def:sharedresourceauditedpermissions_object//oval-def:filter" priority="1000" mode="M657"><axsl:variable name="parent_object" select="ancestor::win-def:sharedresourceauditedpermissions_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
7380
7381 <!--ASSERT -->
7382 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#windows') and ($state_name='sharedresourceauditedpermissions_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M657"/></axsl:template><axsl:template match="text()" priority="-1" mode="M657"/><axsl:template match="@*|node()" priority="-2" mode="M657"><axsl:apply-templates select="@*|*" mode="M657"/></axsl:template>
7383
7384 <!--PATTERN win-def_sra_include_group_value_dep-->
7385
7386
7387 <!--RULE -->
7388 <axsl:template match="oval-def:oval_definitions/oval-def:objects/win-def:sharedresourceauditedpermissions_object/win-def:behaviors" priority="1000" mode="M658">
7389
7390 <!--REPORT -->
7391 <axsl:if test="@include_group">DEPRECATED BEHAVIOR IN: win-def:sharedresourceauditedpermissions_object<axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M658"/></axsl:template><axsl:template match="text()" priority="-1" mode="M658"/><axsl:template match="@*|node()" priority="-2" mode="M658"><axsl:apply-templates select="@*|*" mode="M658"/></axsl:template>
7392
7393 <!--PATTERN win-def_srertst-->
7394
7395
7396 <!--RULE -->
7397 <axsl:template match="win-def:sharedresourceeffectiverights_test/win-def:object" priority="1001" mode="M659">
7398
7399 <!--ASSERT -->
7400 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:sharedresourceeffectiverights_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a sharedresourceeffectiverights_test must reference a sharedresourceeffectiverights_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M659"/></axsl:template>
7401
7402 <!--RULE -->
7403 <axsl:template match="win-def:sharedresourceeffectiverights_test/win-def:state" priority="1000" mode="M659">
7404
7405 <!--ASSERT -->
7406 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:sharedresourceeffectiverights_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a sharedresourceeffectiverights_test must reference a sharedresourceeffectiverights_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M659"/></axsl:template><axsl:template match="text()" priority="-1" mode="M659"/><axsl:template match="@*|node()" priority="-2" mode="M659"><axsl:apply-templates select="@*|*" mode="M659"/></axsl:template>
7407
7408 <!--PATTERN win-def_sharedresourceeffectiverights_object_verify_filter_state-->
7409
7410
7411 <!--RULE -->
7412 <axsl:template match="win-def:sharedresourceeffectiverights_object//oval-def:filter" priority="1000" mode="M660"><axsl:variable name="parent_object" select="ancestor::win-def:sharedresourceeffectiverights_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
7413
7414 <!--ASSERT -->
7415 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#windows') and ($state_name='sharedresourceeffectiverights_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M660"/></axsl:template><axsl:template match="text()" priority="-1" mode="M660"/><axsl:template match="@*|node()" priority="-2" mode="M660"><axsl:apply-templates select="@*|*" mode="M660"/></axsl:template>
7416
7417 <!--PATTERN win-def_sre_include_group_value_dep-->
7418
7419
7420 <!--RULE -->
7421 <axsl:template match="oval-def:oval_definitions/oval-def:objects/win-def:sharedresourceeffectiverights_object/win-def:behaviors" priority="1000" mode="M661">
7422
7423 <!--REPORT -->
7424 <axsl:if test="@include_group">DEPRECATED BEHAVIOR IN: win-def:sharedresourceeffectiverights_object<axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M661"/></axsl:template><axsl:template match="text()" priority="-1" mode="M661"/><axsl:template match="@*|node()" priority="-2" mode="M661"><axsl:apply-templates select="@*|*" mode="M661"/></axsl:template>
7425
7426 <!--PATTERN win-def_sidtst-->
7427
7428
7429 <!--RULE -->
7430 <axsl:template match="win-def:sid_test/win-def:object" priority="1001" mode="M662">
7431
7432 <!--ASSERT -->
7433 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:sid_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a sid_test must reference a sid_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M662"/></axsl:template>
7434
7435 <!--RULE -->
7436 <axsl:template match="win-def:sid_test/win-def:state" priority="1000" mode="M662">
7437
7438 <!--ASSERT -->
7439 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:sid_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a sid_test must reference a sid_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M662"/></axsl:template><axsl:template match="text()" priority="-1" mode="M662"/><axsl:template match="@*|node()" priority="-2" mode="M662"><axsl:apply-templates select="@*|*" mode="M662"/></axsl:template>
7440
7441 <!--PATTERN win-def_sid_object_verify_filter_state-->
7442
7443
7444 <!--RULE -->
7445 <axsl:template match="win-def:sid_object//oval-def:filter" priority="1000" mode="M663"><axsl:variable name="parent_object" select="ancestor::win-def:sid_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
7446
7447 <!--ASSERT -->
7448 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#windows') and ($state_name='sid_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M663"/></axsl:template><axsl:template match="text()" priority="-1" mode="M663"/><axsl:template match="@*|node()" priority="-2" mode="M663"><axsl:apply-templates select="@*|*" mode="M663"/></axsl:template>
7449
7450 <!--PATTERN win-def_sidsidtst-->
7451
7452
7453 <!--RULE -->
7454 <axsl:template match="win-def:sid_sid_test/win-def:object" priority="1001" mode="M664">
7455
7456 <!--ASSERT -->
7457 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:sid_sid_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a sid_sid_test must reference a sid_sid_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M664"/></axsl:template>
7458
7459 <!--RULE -->
7460 <axsl:template match="win-def:sid_sid_test/win-def:state" priority="1000" mode="M664">
7461
7462 <!--ASSERT -->
7463 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:sid_sid_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a sid_sid_test must reference a sid_sid_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M664"/></axsl:template><axsl:template match="text()" priority="-1" mode="M664"/><axsl:template match="@*|node()" priority="-2" mode="M664"><axsl:apply-templates select="@*|*" mode="M664"/></axsl:template>
7464
7465 <!--PATTERN win-def_sid_sid_object_verify_filter_state-->
7466
7467
7468 <!--RULE -->
7469 <axsl:template match="win-def:sid_sid_object//oval-def:filter" priority="1000" mode="M665"><axsl:variable name="parent_object" select="ancestor::win-def:sid_sid_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
7470
7471 <!--ASSERT -->
7472 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#windows') and ($state_name='sid_sid_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M665"/></axsl:template><axsl:template match="text()" priority="-1" mode="M665"/><axsl:template match="@*|node()" priority="-2" mode="M665"><axsl:apply-templates select="@*|*" mode="M665"/></axsl:template>
7473
7474 <!--PATTERN win-def_uactst-->
7475
7476
7477 <!--RULE -->
7478 <axsl:template match="win-def:uac_test/win-def:object" priority="1001" mode="M666">
7479
7480 <!--ASSERT -->
7481 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:uac_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a uac_test must reference a uac_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M666"/></axsl:template>
7482
7483 <!--RULE -->
7484 <axsl:template match="win-def:uac_test/win-def:state" priority="1000" mode="M666">
7485
7486 <!--ASSERT -->
7487 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:uac_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a uac_test must reference a uac_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M666"/></axsl:template><axsl:template match="text()" priority="-1" mode="M666"/><axsl:template match="@*|node()" priority="-2" mode="M666"><axsl:apply-templates select="@*|*" mode="M666"/></axsl:template>
7488
7489 <!--PATTERN win-def_usertst_dep-->
7490
7491
7492 <!--RULE -->
7493 <axsl:template match="win-def:user_test" priority="1000" mode="M667">
7494
7495 <!--REPORT -->
7496 <axsl:if test="true()">DEPRECATED TEST: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M667"/></axsl:template><axsl:template match="text()" priority="-1" mode="M667"/><axsl:template match="@*|node()" priority="-2" mode="M667"><axsl:apply-templates select="@*|*" mode="M667"/></axsl:template>
7497
7498 <!--PATTERN win-def_usertst-->
7499
7500
7501 <!--RULE -->
7502 <axsl:template match="win-def:user_test/win-def:object" priority="1001" mode="M668">
7503
7504 <!--ASSERT -->
7505 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:user_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a user_test must reference a user_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M668"/></axsl:template>
7506
7507 <!--RULE -->
7508 <axsl:template match="win-def:user_test/win-def:state" priority="1000" mode="M668">
7509
7510 <!--ASSERT -->
7511 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:user_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a user_test must reference a user_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M668"/></axsl:template><axsl:template match="text()" priority="-1" mode="M668"/><axsl:template match="@*|node()" priority="-2" mode="M668"><axsl:apply-templates select="@*|*" mode="M668"/></axsl:template>
7512
7513 <!--PATTERN win-def_userobj_dep-->
7514
7515
7516 <!--RULE -->
7517 <axsl:template match="win-def:user_object" priority="1000" mode="M669">
7518
7519 <!--REPORT -->
7520 <axsl:if test="true()">DEPRECATED OBJECT: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M669"/></axsl:template><axsl:template match="text()" priority="-1" mode="M669"/><axsl:template match="@*|node()" priority="-2" mode="M669"><axsl:apply-templates select="@*|*" mode="M669"/></axsl:template>
7521
7522 <!--PATTERN win-def_user_object_verify_filter_state-->
7523
7524
7525 <!--RULE -->
7526 <axsl:template match="win-def:user_object//oval-def:filter" priority="1000" mode="M670"><axsl:variable name="parent_object" select="ancestor::win-def:user_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
7527
7528 <!--ASSERT -->
7529 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#windows') and ($state_name='user_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M670"/></axsl:template><axsl:template match="text()" priority="-1" mode="M670"/><axsl:template match="@*|node()" priority="-2" mode="M670"><axsl:apply-templates select="@*|*" mode="M670"/></axsl:template>
7530
7531 <!--PATTERN win-def_userste_dep-->
7532
7533
7534 <!--RULE -->
7535 <axsl:template match="win-def:user_state" priority="1000" mode="M671">
7536
7537 <!--REPORT -->
7538 <axsl:if test="true()">DEPRECATED STATE: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M671"/></axsl:template><axsl:template match="text()" priority="-1" mode="M671"/><axsl:template match="@*|node()" priority="-2" mode="M671"><axsl:apply-templates select="@*|*" mode="M671"/></axsl:template>
7539
7540 <!--PATTERN win-def_usersid55tst-->
7541
7542
7543 <!--RULE -->
7544 <axsl:template match="win-def:user_sid55_test/win-def:object" priority="1001" mode="M672">
7545
7546 <!--ASSERT -->
7547 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:user_sid55_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a user_sid55_test must reference a user_sid55_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M672"/></axsl:template>
7548
7549 <!--RULE -->
7550 <axsl:template match="win-def:user_sid55_test/win-def:state" priority="1000" mode="M672">
7551
7552 <!--ASSERT -->
7553 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:user_sid55_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a user_sid55_test must reference a user_sid55_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M672"/></axsl:template><axsl:template match="text()" priority="-1" mode="M672"/><axsl:template match="@*|node()" priority="-2" mode="M672"><axsl:apply-templates select="@*|*" mode="M672"/></axsl:template>
7554
7555 <!--PATTERN win-def_user_sid55_object_verify_filter_state-->
7556
7557
7558 <!--RULE -->
7559 <axsl:template match="win-def:user_sid55_object//oval-def:filter" priority="1000" mode="M673"><axsl:variable name="parent_object" select="ancestor::win-def:user_sid55_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
7560
7561 <!--ASSERT -->
7562 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#windows') and ($state_name='user_sid55_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M673"/></axsl:template><axsl:template match="text()" priority="-1" mode="M673"/><axsl:template match="@*|node()" priority="-2" mode="M673"><axsl:apply-templates select="@*|*" mode="M673"/></axsl:template>
7563
7564 <!--PATTERN win-def_usersidtst_dep-->
7565
7566
7567 <!--RULE -->
7568 <axsl:template match="win-def:user_sid_test" priority="1000" mode="M674">
7569
7570 <!--REPORT -->
7571 <axsl:if test="true()">DEPRECATED TEST: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M674"/></axsl:template><axsl:template match="text()" priority="-1" mode="M674"/><axsl:template match="@*|node()" priority="-2" mode="M674"><axsl:apply-templates select="@*|*" mode="M674"/></axsl:template>
7572
7573 <!--PATTERN win-def_usersidtst-->
7574
7575
7576 <!--RULE -->
7577 <axsl:template match="win-def:user_sid_test/win-def:object" priority="1001" mode="M675">
7578
7579 <!--ASSERT -->
7580 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:user_sid_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a user_sid_test must reference a user_sid_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M675"/></axsl:template>
7581
7582 <!--RULE -->
7583 <axsl:template match="win-def:user_sid_test/win-def:state" priority="1000" mode="M675">
7584
7585 <!--ASSERT -->
7586 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:user_sid_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a user_sid_test must reference a user_sid_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M675"/></axsl:template><axsl:template match="text()" priority="-1" mode="M675"/><axsl:template match="@*|node()" priority="-2" mode="M675"><axsl:apply-templates select="@*|*" mode="M675"/></axsl:template>
7587
7588 <!--PATTERN win-def_usersidobj_dep-->
7589
7590
7591 <!--RULE -->
7592 <axsl:template match="win-def:user_sid_object" priority="1000" mode="M676">
7593
7594 <!--REPORT -->
7595 <axsl:if test="true()">DEPRECATED OBJECT: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M676"/></axsl:template><axsl:template match="text()" priority="-1" mode="M676"/><axsl:template match="@*|node()" priority="-2" mode="M676"><axsl:apply-templates select="@*|*" mode="M676"/></axsl:template>
7596
7597 <!--PATTERN win-def_usersidste_dep-->
7598
7599
7600 <!--RULE -->
7601 <axsl:template match="win-def:user_sid_state" priority="1000" mode="M677">
7602
7603 <!--REPORT -->
7604 <axsl:if test="true()">DEPRECATED STATE: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M677"/></axsl:template><axsl:template match="text()" priority="-1" mode="M677"/><axsl:template match="@*|node()" priority="-2" mode="M677"><axsl:apply-templates select="@*|*" mode="M677"/></axsl:template>
7605
7606 <!--PATTERN win-def_userrighttst-->
7607
7608
7609 <!--RULE -->
7610 <axsl:template match="win-def:userright_test/win-def:object" priority="1001" mode="M678">
7611
7612 <!--ASSERT -->
7613 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:userright_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a userright_test must reference a userright_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M678"/></axsl:template>
7614
7615 <!--RULE -->
7616 <axsl:template match="win-def:userright_test/win-def:state" priority="1000" mode="M678">
7617
7618 <!--ASSERT -->
7619 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:userright_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a userright_test must reference a userright_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M678"/></axsl:template><axsl:template match="text()" priority="-1" mode="M678"/><axsl:template match="@*|node()" priority="-2" mode="M678"><axsl:apply-templates select="@*|*" mode="M678"/></axsl:template>
7620
7621 <!--PATTERN win-def_userright_object_verify_filter_state-->
7622
7623
7624 <!--RULE -->
7625 <axsl:template match="win-def:userright_object//oval-def:filter" priority="1000" mode="M679"><axsl:variable name="parent_object" select="ancestor::win-def:userright_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
7626
7627 <!--ASSERT -->
7628 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#windows') and ($state_name='userright_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M679"/></axsl:template><axsl:template match="text()" priority="-1" mode="M679"/><axsl:template match="@*|node()" priority="-2" mode="M679"><axsl:apply-templates select="@*|*" mode="M679"/></axsl:template>
7629
7630 <!--PATTERN win-def_volumetst-->
7631
7632
7633 <!--RULE -->
7634 <axsl:template match="win-def:volume_test/win-def:object" priority="1001" mode="M680">
7635
7636 <!--ASSERT -->
7637 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:volume_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a volume_test must reference a volume_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M680"/></axsl:template>
7638
7639 <!--RULE -->
7640 <axsl:template match="win-def:volume_test/win-def:state" priority="1000" mode="M680">
7641
7642 <!--ASSERT -->
7643 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:volume_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a volume_test must reference a volume_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M680"/></axsl:template><axsl:template match="text()" priority="-1" mode="M680"/><axsl:template match="@*|node()" priority="-2" mode="M680"><axsl:apply-templates select="@*|*" mode="M680"/></axsl:template>
7644
7645 <!--PATTERN win-def_volume_object_verify_filter_state-->
7646
7647
7648 <!--RULE -->
7649 <axsl:template match="win-def:volume_object//oval-def:filter" priority="1000" mode="M681"><axsl:variable name="parent_object" select="ancestor::win-def:volume_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
7650
7651 <!--ASSERT -->
7652 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#windows') and ($state_name='volume_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M681"/></axsl:template><axsl:template match="text()" priority="-1" mode="M681"/><axsl:template match="@*|node()" priority="-2" mode="M681"><axsl:apply-templates select="@*|*" mode="M681"/></axsl:template>
7653
7654 <!--PATTERN win-def_wmitst_dep-->
7655
7656
7657 <!--RULE -->
7658 <axsl:template match="win-def:wmi_test" priority="1000" mode="M682">
7659
7660 <!--REPORT -->
7661 <axsl:if test="true()">DEPRECATED TEST: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M682"/></axsl:template><axsl:template match="text()" priority="-1" mode="M682"/><axsl:template match="@*|node()" priority="-2" mode="M682"><axsl:apply-templates select="@*|*" mode="M682"/></axsl:template>
7662
7663 <!--PATTERN win-def_wmitst-->
7664
7665
7666 <!--RULE -->
7667 <axsl:template match="win-def:wmi_test/win-def:object" priority="1001" mode="M683">
7668
7669 <!--ASSERT -->
7670 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:wmi_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a wmi_test must reference a wmi_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M683"/></axsl:template>
7671
7672 <!--RULE -->
7673 <axsl:template match="win-def:wmi_test/win-def:state" priority="1000" mode="M683">
7674
7675 <!--ASSERT -->
7676 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:wmi_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a wmi_test must reference a wmi_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M683"/></axsl:template><axsl:template match="text()" priority="-1" mode="M683"/><axsl:template match="@*|node()" priority="-2" mode="M683"><axsl:apply-templates select="@*|*" mode="M683"/></axsl:template>
7677
7678 <!--PATTERN win-def_wmiobj_dep-->
7679
7680
7681 <!--RULE -->
7682 <axsl:template match="win-def:wmi_object" priority="1000" mode="M684">
7683
7684 <!--REPORT -->
7685 <axsl:if test="true()">DEPRECATED OBJECT: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M684"/></axsl:template><axsl:template match="text()" priority="-1" mode="M684"/><axsl:template match="@*|node()" priority="-2" mode="M684"><axsl:apply-templates select="@*|*" mode="M684"/></axsl:template>
7686
7687 <!--PATTERN win-def_wmiobjnamespace-->
7688
7689
7690 <!--RULE -->
7691 <axsl:template match="win-def:wmi_object/win-def:namespace" priority="1000" mode="M685">
7692
7693 <!--ASSERT -->
7694 <axsl:choose><axsl:when test="not(@operation) or @operation='equals'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - operation attribute for the namespace entity of a wmi_object should be 'equals', note that this overrules the general operation attribute validation (i.e. follow this one)<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M685"/></axsl:template><axsl:template match="text()" priority="-1" mode="M685"/><axsl:template match="@*|node()" priority="-2" mode="M685"><axsl:apply-templates select="@*|*" mode="M685"/></axsl:template>
7695
7696 <!--PATTERN win-def_wmiobjwql-->
7697
7698
7699 <!--RULE -->
7700 <axsl:template match="win-def:wmi_object/win-def:wql" priority="1000" mode="M686">
7701
7702 <!--ASSERT -->
7703 <axsl:choose><axsl:when test="not(@operation) or @operation='equals'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - operation attribute for the wql entity of a wmi_object should be 'equals', note that this overrules the general operation attribute validation (i.e. follow this one)<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M686"/></axsl:template><axsl:template match="text()" priority="-1" mode="M686"/><axsl:template match="@*|node()" priority="-2" mode="M686"><axsl:apply-templates select="@*|*" mode="M686"/></axsl:template>
7704
7705 <!--PATTERN win-def_wmiste_dep-->
7706
7707
7708 <!--RULE -->
7709 <axsl:template match="win-def:wmi_state" priority="1000" mode="M687">
7710
7711 <!--REPORT -->
7712 <axsl:if test="true()">DEPRECATED STATE: <axsl:text/><axsl:value-of select="name()"/><axsl:text/> ID: <axsl:text/><axsl:value-of select="@id"/><axsl:text/><axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M687"/></axsl:template><axsl:template match="text()" priority="-1" mode="M687"/><axsl:template match="@*|node()" priority="-2" mode="M687"><axsl:apply-templates select="@*|*" mode="M687"/></axsl:template>
7713
7714 <!--PATTERN win-def_wmi57tst-->
7715
7716
7717 <!--RULE -->
7718 <axsl:template match="win-def:wmi57_test/win-def:object" priority="1001" mode="M688">
7719
7720 <!--ASSERT -->
7721 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:wmi57_object/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a wmi57_test must reference a wmi57_object<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M688"/></axsl:template>
7722
7723 <!--RULE -->
7724 <axsl:template match="win-def:wmi57_test/win-def:state" priority="1000" mode="M688">
7725
7726 <!--ASSERT -->
7727 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:wmi57_state/@id"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a wmi57_test must reference a wmi57_state<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M688"/></axsl:template><axsl:template match="text()" priority="-1" mode="M688"/><axsl:template match="@*|node()" priority="-2" mode="M688"><axsl:apply-templates select="@*|*" mode="M688"/></axsl:template>
7728
7729 <!--PATTERN win-def_wmi57_object_verify_filter_state-->
7730
7731
7732 <!--RULE -->
7733 <axsl:template match="win-def:wmi57_object//oval-def:filter" priority="1000" mode="M689"><axsl:variable name="parent_object" select="ancestor::win-def:wmi57_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
7734
7735 <!--ASSERT -->
7736 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#windows') and ($state_name='wmi57_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M689"/></axsl:template><axsl:template match="text()" priority="-1" mode="M689"/><axsl:template match="@*|node()" priority="-2" mode="M689"><axsl:apply-templates select="@*|*" mode="M689"/></axsl:template>
7737
7738 <!--PATTERN win-def_wmi57objnamespace-->
7739
7740
7741 <!--RULE -->
7742 <axsl:template match="win-def:wmi57_object/win-def:namespace" priority="1000" mode="M690">
7743
7744 <!--ASSERT -->
7745 <axsl:choose><axsl:when test="not(@operation) or @operation='equals'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - operation attribute for the namespace entity of a wmi57_object should be 'equals', note that this overrules the general operation attribute validation (i.e. follow this one)<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M690"/></axsl:template><axsl:template match="text()" priority="-1" mode="M690"/><axsl:template match="@*|node()" priority="-2" mode="M690"><axsl:apply-templates select="@*|*" mode="M690"/></axsl:template>
7746
7747 <!--PATTERN win-def_wmi57objwql-->
7748
7749
7750 <!--RULE -->
7751 <axsl:template match="win-def:wmi57_object/win-def:wql" priority="1000" mode="M691">
7752
7753 <!--ASSERT -->
7754 <axsl:choose><axsl:when test="not(@operation) or @operation='equals'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - operation attribute for the wql entity of a wmi57_object should be 'equals', note that this overrules the general operation attribute validation (i.e. follow this one)<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M691"/></axsl:template><axsl:template match="text()" priority="-1" mode="M691"/><axsl:template match="@*|node()" priority="-2" mode="M691"><axsl:apply-templates select="@*|*" mode="M691"/></axsl:template>
7755
7756 <!--PATTERN win-def_wmi57steresult-->
7757
7758
7759 <!--RULE -->
7760 <axsl:template match="win-def:wmi57_state/win-def:result" priority="1000" mode="M692">
7761
7762 <!--ASSERT -->
7763 <axsl:choose><axsl:when test="@datatype='record'"/><axsl:otherwise><axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - datatype attribute for the result entity of a wmi57_object must be 'record'<axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M692"/></axsl:template><axsl:template match="text()" priority="-1" mode="M692"/><axsl:template match="@*|node()" priority="-2" mode="M692"><axsl:apply-templates select="@*|*" mode="M692"/></axsl:template>
7764
7765 <!--PATTERN win-def_wuaupdatesearchertst-->
7766
7767
7768 <!--RULE -->
7769 <axsl:template match="win-def:wuaupdatesearcher_test/win-def:object" priority="1001" mode="M693">
7770
7771 <!--ASSERT -->
7772 <axsl:choose><axsl:when test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/win-def:wuaupdatesearcher_object/@id"/><axsl:otherwise>
7773 <axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the object child element of a wuaupdatesearcher_test must reference a wuaupdatesearcher_object
7774 <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M693"/></axsl:template>
7775
7776 <!--RULE -->
7777 <axsl:template match="win-def:wuaupdatesearcher_test/win-def:state" priority="1000" mode="M693">
7778
7779 <!--ASSERT -->
7780 <axsl:choose><axsl:when test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/win-def:wuaupdatesearcher_state/@id"/><axsl:otherwise>
7781 <axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - the state child element of a wuaupdatesearcher_test must reference a wuaupdatesearcher_state
7782 <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M693"/></axsl:template><axsl:template match="text()" priority="-1" mode="M693"/><axsl:template match="@*|node()" priority="-2" mode="M693"><axsl:apply-templates select="@*|*" mode="M693"/></axsl:template>
7783
7784 <!--PATTERN win-def_wuaupdatesearcher_object_verify_filter_state-->
7785
7786
7787 <!--RULE -->
7788 <axsl:template match="win-def:wuaupdatesearcher_object//oval-def:filter" priority="1000" mode="M694"><axsl:variable name="parent_object" select="ancestor::win-def:wuaupdatesearcher_object"/><axsl:variable name="parent_object_id" select="$parent_object/@id"/><axsl:variable name="state_ref" select="."/><axsl:variable name="reffed_state" select="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/><axsl:variable name="state_name" select="local-name($reffed_state)"/><axsl:variable name="state_namespace" select="namespace-uri($reffed_state)"/>
7789
7790 <!--ASSERT -->
7791 <axsl:choose><axsl:when test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#windows') and ($state_name='wuaupdatesearcher_state'))"/><axsl:otherwise>State referenced in filter for <axsl:text/><axsl:value-of select="name($parent_object)"/><axsl:text/> '<axsl:text/><axsl:value-of select="$parent_object_id"/><axsl:text/>' is of the wrong type. <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M694"/></axsl:template><axsl:template match="text()" priority="-1" mode="M694"/><axsl:template match="@*|node()" priority="-2" mode="M694"><axsl:apply-templates select="@*|*" mode="M694"/></axsl:template>
7792
7793 <!--PATTERN win-def_wuaupdatesearcherobjsearchcriteria-->
7794
7795
7796 <!--RULE -->
7797 <axsl:template match="win-def:wuaupdatesearcher_object/win-def:search_criteria" priority="1000" mode="M695">
7798
7799 <!--ASSERT -->
7800 <axsl:choose><axsl:when test="not(@operation) or @operation='equals'"/><axsl:otherwise>
7801 <axsl:text/><axsl:value-of select="../@id"/><axsl:text/> - operation attribute for the search_criteria entity of a wuaupdatesearcher_object must be 'equals'
7802 <axsl:value-of select="string('&#10;')"/></axsl:otherwise></axsl:choose><axsl:apply-templates select="@*|*" mode="M695"/></axsl:template><axsl:template match="text()" priority="-1" mode="M695"/><axsl:template match="@*|node()" priority="-2" mode="M695"><axsl:apply-templates select="@*|*" mode="M695"/></axsl:template>
7803
7804 <!--PATTERN win-def_sft_file_attribute_directory_value_dep-->
7805
7806
7807 <!--RULE -->
7808 <axsl:template match="oval-def:oval_definitions/oval-def:states/win-def:file_state/win-def:type" priority="1000" mode="M696">
7809
7810 <!--REPORT -->
7811 <axsl:if test=".='FILE_ATTRIBUTE_DIRECTORY'">
7812 DEPRECATED ELEMENT VALUE IN: file_state ELEMENT VALUE: <axsl:text/><axsl:value-of select="."/><axsl:text/>
7813 <axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M696"/></axsl:template><axsl:template match="text()" priority="-1" mode="M696"/><axsl:template match="@*|node()" priority="-2" mode="M696"><axsl:apply-templates select="@*|*" mode="M696"/></axsl:template>
7814
7815 <!--PATTERN win-def_ssr_stype_special_value_dep-->
7816
7817
7818 <!--RULE -->
7819 <axsl:template match="oval-def:oval_definitions/oval-def:states/win-def:sharedresource_state/win-def:shared_type" priority="1000" mode="M697">
7820
7821 <!--REPORT -->
7822 <axsl:if test=".='STYPE_SPECIAL'">
7823 DEPRECATED ELEMENT VALUE IN: sharedresource_state ELEMENT VALUE: <axsl:text/><axsl:value-of select="."/><axsl:text/>
7824 <axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M697"/></axsl:template><axsl:template match="text()" priority="-1" mode="M697"/><axsl:template match="@*|node()" priority="-2" mode="M697"><axsl:apply-templates select="@*|*" mode="M697"/></axsl:template>
7825
7826 <!--PATTERN win-def_ssr_stype_temporary_value_dep-->
7827
7828
7829 <!--RULE -->
7830 <axsl:template match="oval-def:oval_definitions/oval-def:states/win-def:sharedresource_state/win-def:shared_type" priority="1000" mode="M698">
7831
7832 <!--REPORT -->
7833 <axsl:if test=".='STYPE_TEMPORARY'">
7834 DEPRECATED ELEMENT VALUE IN: sharedresource_state ELEMENT VALUE: <axsl:text/><axsl:value-of select="."/><axsl:text/>
7835 <axsl:value-of select="string('&#10;')"/></axsl:if><axsl:apply-templates select="@*|*" mode="M698"/></axsl:template><axsl:template match="text()" priority="-1" mode="M698"/><axsl:template match="@*|node()" priority="-2" mode="M698"><axsl:apply-templates select="@*|*" mode="M698"/></axsl:template></axsl:stylesheet>