![]() |
OVAL Language Deprecation PolicyDocument version: 1.0 Date: April 2, 2009 DefinitionWhen an OVAL Language construct is marked as deprecated its usage becomes strongly discouraged and it may be removed in a later release. Reasons
Deprecation Policy
Deprecation Process
Deprecation DetectionThe OVAL Common Schema will include a "deprecated_info" element which defines a structure that will be used to flag schema-defined constructs as deprecated. The deprecated_info element:
This element will be implemented inside of an <xsd:appinfo> container inside of a language construct. It will be accompanied by a Schematron rule that will report a warning for using a deprecated element upon validation. Example
<xsd:element name="fileauditedpermissions_test" substitutionGroup="oval-def:test">
<xsd:annotation>
<!-- annotations -->
</xsd:annotation>
<xsd:appinfo>
<oval:deprecated_info>
<oval:version>5.5</oval:version>
<oval:reason>Replaced by filesaudtiedpermissions_better_test>/oval:reason>
<oval:comment>Did not align with Win32 API>/oval:comment>
</oval:deprecated_info>
<sch:pattern id="foo_pattern">
<sch:rule context="win-def:fileauditedpermissions_test">
<sch:report>
DEPRECATED ELEMENT: <sch:value-of select="name()"/>
</sch:report>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
<!-- element definition -->
</xsd:element>
Page Last Updated: May 06, 2009 |
Language ReleasesUpcoming ReleasesPrevious Releases |
|||||||||