DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22044>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22044 style-task and undefined parameters Summary: style-task and undefined parameters Product: Ant Version: 1.5.3 Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Look at the following example and think about what would happend if $myparam is undefined in build.xml: build.xml: <style ... style="template.xsl"> <param name="myparam" expression="$myparam"/> </style> template.xsl: ... <xsl:param name="myparam">MyParamDefaultValue</xsl:param> ... The value of myparam in the stylesheet would be "${myparam}" (litterally), not "MyParamDefaultValue" as expected. I think the style-task needs to remove undefined param values, or at least set them to "". --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]