cvs: pearweb /public_html/dtd package1_0to2_0.xsl
| From: | Greg Beaver | Date: | Sun, 29 Aug 2004 00:45:56 +0000 |
| Subject: | cvs: pearweb /public_html/dtd package1_0to2_0.xsl | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-23479@lists.php.net to get a copy of this message | ||
cellog Sat Aug 28 20:45:56 2004 EDT
Modified files:
/pearweb/public_html/dtd package1_0to2_0.xsl
Log:
since optional is populated with the default value, only use it if optional="yes"
http://cvs.php.net/diff.php/pearweb/public_html/dtd/package1_0to2_0.xsl?r1=1.5&r2=1.6&ty=u
Index: pearweb/public_html/dtd/package1_0to2_0.xsl
diff -u pearweb/public_html/dtd/package1_0to2_0.xsl:1.5
pearweb/public_html/dtd/package1_0to2_0.xsl:1.6
--- pearweb/public_html/dtd/package1_0to2_0.xsl:1.5 Sat Aug 28 20:44:23 2004
+++ pearweb/public_html/dtd/package1_0to2_0.xsl Sat Aug 28 20:45:56 2004
@@ -313,7 +313,7 @@
<xsl:element name="package">
<xsl:attribute name="channel">pear</xsl:attribute>
<xsl:attribute name="name"><xsl:value-of
select="."/></xsl:attribute>
- <xsl:if test="@optional">
+ <xsl:if test="@optional='yes'">
<xsl:attribute name="optional"><xsl:value-of
select="@optional"/></xsl:attribute>
</xsl:if>
<xsl:if test="@rel='ge'">