Bugs item #1597411, was opened at 2006-11-16 02:28 Message generated for change (Comment added) made by drieseng You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1597411&group_id=31650
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Tasks Group: 0.85 >Status: Closed >Resolution: Invalid Priority: 5 Private: No Submitted By: BAR (barow) >Assigned to: Gert Driesen (drieseng) Summary: Passing parameters with <style> with .Net 2.0 Initial Comment: Using the <style> task I can not pass parameters from NAnt (0.85) to a .xsl file on a machine with the .Net 2.0 Framework installed. I've attached an example that works fine on one machine with Framework 1.1 installed, but behaves unexpectedly on a machine with both 1.1 and 2.0 Frameworks installed. Files styleProblem.build: NAnt build file transform.xsl: Attempt to create a root node and write the passed parameter as an attribute in.xml: Not important (example does no actual transformation) expectedOut.xml: The expected output of the build script (out.xml) ---------------------------------------------------------------------- >Comment By: Gert Driesen (drieseng) Date: 2006-11-16 17:17 Message: Logged In: YES user_id=707851 Originator: NO It's a bug in your XSLT (and in .NET 1.1, which was fixed in .NET 2.0). Use <xsl:param name="param" /> instead of <xsl:variable name="param" />. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1597411&group_id=31650 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ nant-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nant-developers
