Publishing topic via DITA OT containing greek characters in file name
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 25
- Joined: Tue Feb 25, 2014 12:14 am
Publishing topic via DITA OT containing greek characters in file name
Post by david.badger »
Hi,
When attempting to publish a DITA topic via oXygen / DITA OT that contains greek characters in the file name, the publishing fails. I have been unable to find a solution or workaround.
For example, a file having the name α.dita (greek alpha character dot dita) results in the following message in the log:
I'd appreciate any feedback or insight into this matter, thank you!
When attempting to publish a DITA topic via oXygen / DITA OT that contains greek characters in the file name, the publishing fails. I have been unable to find a solution or workaround.
For example, a file having the name α.dita (greek alpha character dot dita) results in the following message in the log:
It appears that the ANT process is reading the args.input parameter as having an english 'a' character rather than the correct 'α' character, and thus cannot find the file. Users are checking these files out via CMS, so manually renaming the files is not a desirable workaround. Although all the topics in question are written in English, the greek characters in the file names represent chemical structures, and removing them is not a desirable workaround either.[DOTA069F][FATAL] Input file '... a.dita' cannot be located or read.
I'd appreciate any feedback or insight into this matter, thank you!
Re: Publishing topic via DITA OT containing greek characters in file name
Hi David,
I can reproduce this problem and we had a previous similar report about publishing DITA Maps containing Japanese characters but failed to find a solution yet.
Somehow Oxygen builds the proper command line and starts a new Java process for the DITA OT using it but the values containing non-ASCII characters are not properly interpreted on the DITA OT ANT side. This is probably a bug in the Java VM.
For example if you are not using Oxygen at all, you can create a command line to start the DITA OT looking like this:
and it will fail with:
So right now other than renaming the files to contain only ASCII names I do not have a workaround for you.
Regards,
Radu
I can reproduce this problem and we had a previous similar report about publishing DITA Maps containing Japanese characters but failed to find a solution yet.
Somehow Oxygen builds the proper command line and starts a new Java process for the DITA OT using it but the values containing non-ASCII characters are not properly interpreted on the DITA OT ANT side. This is probably a bug in the Java VM.
For example if you are not using Oxygen at all, you can create a command line to start the DITA OT looking like this:
Code: Select all
dita -i D:\projects\eXml\samples\dita\flowers\topics\α.dita -f xhtml
Code: Select all
Error: Failed to run pipeline: [DOTA069F][FATAL] Input file 'file:/D:/projects/eXml/samples/dita/flowers/topics/a.dita' cannot be located or read. Ensure that file was specified properly and that you have permission to access it.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
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