Bug#460983: PTS: Please link to Security Tracker
A second look lead to one more discovery:
On Wed, 23 Sep 2009, Raphael Geissert wrote:
> + <xsl:if test="$hasother and $other/@security!='0'">
> + <li>There <xsl:if test="$other/@security!='1'">are</xsl:if>
security is an attribute of the $other XML element
> + # Get security issues
> + if security.has_key(pkg):
> + elt = doc.createElement('security')
> + root_elt.appendChild(elt)
This sub-element is then not needed/wanted.
> + root_elt.setAttribute('security', security[pkg])
Here you assign the attribute without caring about the sub-element,
confirming that it's not needed.
Cheers,
--
Raphaël Hertzog
Reply to: