On 13 November 2014 22:51, Catherine Wilbur cwilbur(_at_)uwindsor(_dot_)ca <
xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> wrote:
What would cause the following error to occur
Stylesheet file -xsl:/usr/local/finesrv/erp/jdedwardsoneworld/cron/
*LibrXML2CSV_stylesheet.xsl* does not exist
when I call the Saxon processor. The stylesheet file actually exists in
the directory specified.
Is it because I have not done the following to my stylesheet as specified
on listserv yesterday?
$ chmod ugo+x LibrXML2CSV_stylesheet.xsl
The chmod was suggested to be applied to a shell script, not the xsl file.
To debug, use lines
echo $FinesrvCronDir/LibrXML2CSV_stylesheet.xsl
ls -l $FinesrvCronDir/LibrXML2CSV_stylesheet.xsl
preceding the invocation of the XSL transformation and see what this
produces: it should show the correct full pathname and display all file
attributes.
It is possible that the user executing the transformation does not have
execute permission on one of the directories on the path leading to the xsl
file. Then saxon would report
Stylesheet file /foo/bar/blech.xsl does not exist
"Execute permission" for a directory means that you can cd there and access
files in or below that directory. Here's the ls -ld for my /tmp directory:
$ ls -ld /tmp
drwxrwxrwt 11 root root 4096 Nov 14 17:04 /tmp
The three 'x' indicate "execute permission" for the owner (root), users of
group root and all other users, respectively.
HTH
-W
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--