Sorry, I realized I should have included the stylesheet declaration <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:lxslt="http://xml.apache.org/xslt" xmlns:redirect="org.apache.xalan.xslt.extensions.Redirect" extension-element-prefixes="redirect">
Sean -----Original Message----- From: Sean Tiley [mailto:[EMAIL PROTECTED] Sent: Thursday, January 03, 2008 6:35 PM To: xalan-j-users.xml.apache.org Subject: RE: File not found during xsl transform Actually, I decided to revert to the xsl supplied with Checkstyle as I made some modifications and am not sure they were any good. It appears I did something wrong, for now with the original XSL transform I am getting the following error javax.xml.transform.TransformerException: java.lang.RuntimeException: Unrecognized XSLTC extension 'org.apache.xalan.xslt.extensions.Redirect:write' sigh Sean -----Original Message----- From: Sean Tiley [mailto:[EMAIL PROTECTED] Sent: Thursday, January 03, 2008 6:27 PM To: Dave Brosius Cc: Stanimir Stamenkov; xalan-j-users.xml.apache.org Subject: RE: File not found during xsl transform No question is dumb. Here is the path C:\XXXX\projects\XXXX\regsystemv2\XXXXXXXRegistrationSystem\build\checkstyle\ C_\XXXX\projects\XXXX\regsystemv2\XXXXXXXRegistrationSystem\build\regsystemv2\ XXXXXXXRegistrationSystem\Java Source\com\xxx\xxxx\businessobjects\event\eventdate As you can see there is one space in "Java Source" I know there should not be but for other files the xsl is trying to create it does not seem to be an issue. The XML document has <file> elements that look like the following <file name="C:\Sean\projects\XXXX\regsystemv2\XXXXXXXegistrationSystem\build\regsystemv2\XXXXXXXRegistrationSystem\Java Source\com\XXX\XXX\businessobjects\event\eventdate\DateFactory.java"> <error line="14" column="9" severity="error" message="Missing a Javadoc comment." source="com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocVariableCheck"/> <error line="14" column="30" severity="error" message="Variable 'rfEventDate' must be private and have accessor methods." source="com.puppycrawl.tools.checkstyle.checks.design.VisibilityModifierCheck"/> <error line="21" column="9" severity="error" message="Method 'createEventDate' is not designed for extension - needs to be abstract, final or empty." source="com.puppycrawl.tools.checkstyle.checks.design.DesignForExtensionCheck"/> </file> I am looking at using an xsl function to replace the @name attribute to something smaller Sean ________________________________________ From: Dave Brosius [mailto:[EMAIL PROTECTED] Sent: Thursday, January 03, 2008 6:19 PM To: Sean Tiley Cc: Stanimir Stamenkov; xalan-j-users.xml.apache.org Subject: RE: File not found during xsl transform I hate to ask a really dumb question, but are there spaces in the long path? "Sean Tiley" <[EMAIL PROTECTED]> 01/03/2008 05:52 PM To "Stanimir Stamenkov" <[EMAIL PROTECTED]>, "xalan-j-users.xml.apache.org" <xalan-j-users@xml.apache.org> cc Subject RE: File not found during xsl transform Thanks for the info Stanimir. I am really at a loss then as to why it works when I try it from a path with fewer characters. Same XML and same XSL files. I'll keep trying things Sean -----Original Message----- From: Stanimir Stamenkov [mailto:[EMAIL PROTECTED] Sent: Thursday, January 03, 2008 5:05 PM To: xalan-j-users.xml.apache.org Subject: Re: File not found during xsl transform Thu, 3 Jan 2008 15:46:39 -0500, /Sean Tiley/: > I am using Win XP 64 bit > The length of the path is 238 characters. While the "normal" maximum path length [1] on Windows is 260 characters, the Unicode versions of the Win32 file management functions support file paths up to ~32,000 characters on all WinNT versions and Win9x versions with Microsoft Layer for Unicode. As far as I know and as far as I've tried on Windows XP with Sun's Java 5 (not sure for 1.4) it handles paths longer than 260 characters just with no problem. [1] <http://msdn2.microsoft.com/en-us/library/aa365247.aspx#maximum_path_len gth> -- Stanimir