Re: Disappearing forward slash from files paths
Brought to you by:
ovidiu
From: Ovidiu P. <ov...@ap...> - 2003-04-22 03:23:45
|
Hi George, Thanks for catching this, I've committed a fix in the repository. You can get the new version of xslt-process.el from here: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/xslt-process/ xslt-process/lisp/xslt-process.el?rev=HEAD&content-type=text/plain The fix involved calling 'urlize' on the value of the filename to be set to xslt-process-output-to-filename. Please let me know if this fixes your problem. Best regards, Ovidiu On Sunday, Apr 20, 2003, at 20:11 US/Pacific, George Spelvin wrote: > 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. > -- Ovidiu Predescu <ov...@ap...> http://www.google.com/search?btnI=&q=ovidiu (I'm feeling lucky) |