GNOME Bugzilla – Bug 752219
xsltproc does not handle the Micorsoft windows/Unix / \ issue
Last modified: 2016-04-19 13:14:13 UTC
Dear Sir or Madame Platform: Microsoft Windows 7 xsltproc version: Using libxml 20902, libxslt 10128 and libexslt 817 Problem If xsltproc is feed with an argument line consisting of Unix "style" directory path seperator character xsltproc will not accept the line. Example: The follwoing line will fail runing on Windows 7 (the line is in this case is generated by a ported third part tool) xsltproc -o "G:\Project\24\B Projekt\KraftKort.csv" "G:\Project\24\B Projekt\KraftKort\bom_with_title_block_2_csv.xsl" "G:\Project\24\B Projekt\KraftKort\KraftKort.xml" However the following line do work xsltproc -o "G:/Project/24/B Projekt/KraftKort.csv" "G:/Project/24/B Projekt/KraftKort/bom_with_title_block_2_csv.xsl" "G:/Project/24/B Projekt/KraftKort/KraftKort.xml" Suggested solution: xsltproc should be able to handle both type of director seperator character for portability aspects. That is, if xsltproc is running on Microsoft Windows platform it should scan the comannd line for \ character and replace them with / Regards /Stefan
This might be a copy of bug 750365 Extra info: The following work xsltproc -o "c:/temp/tt.csv" c:\temp\tt.xsl c:\temp\tt.xml xsltproc -o "..\temp\tt.csv" c:\temp\tt.xsl c:\temp\tt.xml but not xsltproc -o "c:\temp\tt.csv" c:\temp\tt.xsl c:\temp\tt.xml The error occure if the microsoft native directory path seperator is used to the -o argument. The template and xml input file is not affected
*** This bug has been marked as a duplicate of bug 750365 ***