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 
&apos;rfEventDate&apos; must be private and have accessor  methods." 
source="com.puppycrawl.tools.checkstyle.checks.design.VisibilityModifierCheck"/>
     <error line="21" column="9" severity="error" message="Method 
&apos;createEventDate&apos; 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

Reply via email to