On Wed, Jan 23, 2008 at 03:53:38PM -0800, William Rowe wrote:
> security/vulnerabilities-oval.xml
>
> I'm ending up with deltas such as these...
>
> -<httpd_state
> xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#apache"
> id="oval:org.apache.httpd:ste:131" version="1" comment="the version of
> httpd is 1.3.1">
> -<version operation="equals" datatype="version">1.3.1</version>
> +<httpd_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5"
> id="oval:org.apache.httpd:ste:131" version="1" comment="the version of
> httpd is 1.3.1">
> +<version xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#apache"
> operation="equals" datatype="version">1.3.1</version>
> </httpd_state>
>
> What component are we missing in site/lib/ or should I have locally
> updated?
The fragment in the namespace URI is being dropped, odd. It works fine
for me. Does the patch below make any difference?
Index: xdocs/stylesheets/httpd-oval.xsl
===================================================================
--- xdocs/stylesheets/httpd-oval.xsl (revision 612495)
+++ xdocs/stylesheets/httpd-oval.xsl (working copy)
@@ -357,14 +357,14 @@
<!--
Print out the actual state element.
-->
- <xsl:element name="httpd_state"
namespace="http://oval.mitre.org/XMLSchema/oval-definitions-5#apache">
+ <httpd_state
xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#apache">
<xsl:attribute name="id"><xsl:value-of
select="$state_id"/></xsl:attribute>
<xsl:attribute name="version">1</xsl:attribute>
<xsl:attribute name="comment"><xsl:value-of
select="$state_comment"/></xsl:attribute>
<version datatype="version" operation="equals"
xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#apache">
<xsl:value-of select="@version"/>
</version>
- </xsl:element>
+ </httpd_state>
</xsl:template>
<!--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<!--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->