Disappearing forward slash from files paths
Brought to you by:
ovidiu
From: George S. <g_s...@ya...> - 2003-04-21 03:11:06
|
Hi, On W2K, XEmacs 21.4 patch 11, xslt-process2.2, Xalan2.4: The file name that gets written out to the temp dir when invoking view in browser, loses all slashes from its path, and therefore gets written to the same directory as the source XML file, but with a long name essentially comprising a whole path without slashes. For example: ~/WINNTTEMPXslt-process-output I hardly know any Lisp, but from mucking around in xslt-process.el urlize function, any other character besides / was inserted successfully into the string. But / simply vanishes from the temp-dir variable which tells me there's another regex involved. My workaround so far is to hard code the file path in two places: in xslt-process-do-run, where I set the file to "/Xslt-process-out.html", and also in xslt-process-invoke-browser-view to the same value. Otherwise the file to process will be both named incorrectly, and browse-url will not find the file in its expected location (and it would still be misnamed even in the right location). For reference, my TEMP var is simply c:\WINNT\TEMP. I tried variations on it as c:/WINNT/TEMP, tried other directories etc. Under the root dir, there's just no extra path so both xalan and browse URL can get to it (if I know how to work with variables in Lisp, I'd do it better) I'd be happy to provide more details if necessary. Advice greatly appreciated. __________________________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com |