Transformation Output File Paths are platform-specific
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 45
- Joined: Mon Aug 24, 2009 11:42 pm
Transformation Output File Paths are platform-specific
Hello.
Using OxygenXML 21.0, I move frequently back and forth between Windows on my desktop and Mac OS on my laptop. One annoying problem I cannot figure out how to get around is that Oxygen appears to save output file paths in XSLT transformation scenarios in a platform-specific manner.
For instance, assume I specify a relative output path (Save as) on Windows, e.g., ${pd}\..\output\exports\foo.xml. I then move to my laptop and open the same project file, the path retains the Windows directory delimiters, storing the result file using the Windows delimiters, and thus with the wrong name and in a path not intended.
So, my question is, is it possible for Oxygen XML to automatically translate the directory delimiters in a platform-aware manner, so that the output file ends up in the correct location?
Thank you.
Using OxygenXML 21.0, I move frequently back and forth between Windows on my desktop and Mac OS on my laptop. One annoying problem I cannot figure out how to get around is that Oxygen appears to save output file paths in XSLT transformation scenarios in a platform-specific manner.
For instance, assume I specify a relative output path (Save as) on Windows, e.g., ${pd}\..\output\exports\foo.xml. I then move to my laptop and open the same project file, the path retains the Windows directory delimiters, storing the result file using the Windows delimiters, and thus with the wrong name and in a path not intended.
So, my question is, is it possible for Oxygen XML to automatically translate the directory delimiters in a platform-aware manner, so that the output file ends up in the correct location?
Thank you.
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Transformation Output File Paths are platform-specific
Hi,
When specifying output paths you should always use "/" as it works both on Windows and Mac/Linux. So specify the paths something like:
and the scenario should work as well on Mac as it does on Windows.
I will add an internal issue on our side to automatically save the path with the proper separators so that the project scenarios can be used on any platform.
Regards,
Radu
When specifying output paths you should always use "/" as it works both on Windows and Mac/Linux. So specify the paths something like:
Code: Select all
${pd}/../output/exports/foo.xml
I will add an internal issue on our side to automatically save the path with the proper separators so that the project scenarios can be used on any platform.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 10
- Joined: Wed May 02, 2018 8:29 pm
Re: Transformation Output File Paths are platform-specific
I'm having the same issue with the responsive webhelp output on Linux, and my output is set to ${cfd}/temp/${cfn} (my publish template location is set to ${pd}/publish_template/lgc/lgcblack). Since I generate the output on Windows but our end users are on both Linux and Windows. On linux the logo in the header does not show up because the path it points to is
All other links to items in my publishing template use the generic path except for the path to the logo and favicon. For example my opt file has:
The style sheets in the output head show up correctly:
but the logo and favicon do not:
Is there a way I can fix this so the paths for the logo is correct?
Thanks,
Carolyn
Code: Select all
oxygen-webhelp\template\img/LEFT_RGB.png
All other links to items in my publishing template use the generic path except for the path to the logo and favicon. For example my opt file has:
Code: Select all
<resources>
<css file="master.css"/>
<css file="lgc_black.css"/>
<css file="lgc_topic.css"/>
<logo file="LEFT_RGB.png"/>
<favicon file="img/halicon.png"/>
<fileset>
<include name="img/**/*"/>
<exclude name="img/**/.svn"/>
<exclude name="img/**/.git"/>
</fileset>
</resources>
Code: Select all
oxygen-webhelp/template/master.css?buildId=2018122203
oxygen-webhelp/template/lgc_black.css?buildId=2018122203
oxygen-webhelp/template/lgc_topic.css?buildId=2018122203
Code: Select all
oxygen-webhelp\template\img/LEFT_RGB.png
oxygen-webhelp\template\img/halicon.png
Thanks,
Carolyn
-
- Posts: 407
- Joined: Mon Dec 05, 2011 6:08 pm
Re: Transformation Output File Paths are platform-specific
Hi Carolyn,
Thank you for your feedback.
I confirm this path issue is a bug in the current WebHelp implementation. The problem is already logged to our issue tracking tool in order to be analyzed by our development team. I have added your comments to it.
Regards,
Ionela
Thank you for your feedback.
I confirm this path issue is a bug in the current WebHelp implementation. The problem is already logged to our issue tracking tool in order to be analyzed by our development team. I have added your comments to it.
Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service