DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=21042>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=21042





------- Additional Comments From [EMAIL PROTECTED]  2006-07-17 15:09 -------
Created an attachment (id=18611)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=18611&action=view)
Patch for XSLTProcess

Resolves 2 bugs:

Number one was introduced by:
File file = new File(fileName);

fileName uses '/' as the path separator. file.getParent() will use the OS
specific separator.
This behaviour would result in XSL files being OS dependent.

Number two was introduced by:
liaison.addParam(fileDirParameter, (file.getParent()!=null) ? file.getParent()
: "" );

Usually one would concat the path with the file name in a manner such as:
dir + '/' + fileName 
If getParent() is null this would result into an absolute file name.
Extra checks are avoided on XSL side by returning "." instead of "".

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to