After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 752219 - xsltproc does not handle the Micorsoft windows/Unix / \ issue
xsltproc does not handle the Micorsoft windows/Unix / \ issue
Status: RESOLVED DUPLICATE of bug 750365
Product: libxslt
Classification: Platform
Component: general
unspecified
Other Windows
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2015-07-10 12:26 UTC by Stefan Olsson
Modified: 2016-04-19 13:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Stefan Olsson 2015-07-10 12:26:42 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
Comment 1 Stefan Olsson 2015-07-13 11:59:30 UTC
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
Comment 2 Nick Wellnhofer 2016-04-19 13:14:13 UTC

*** This bug has been marked as a duplicate of bug 750365 ***