DITA and XMetaL Discussion
jpcain429 October 15, 2015 at 7:23 pm
XMetaL 8 DITA-OT temporary files: Can we prevent renaming of files?October 15, 2015 at 7:23 pmParticipants 6Replies 7Last Activity 6 years, 11 months ago
We have a primary XML file that references another XML file for references to image files. In the primary XML file, the image reference is to a print-friendly image file (e.g., eps, indesign, etc). We have a new transform that generates HTML for online. Rather than have users manage multiple image file references, our HTML transform simply looks to match a print image file with a similarly named online image file. This transform works great in a straight-up DITA-OT installation. However, after configuring this online transform for use within XMetaL, the preprocessing that creates copies of the source files being transformed to a temp folder randomly renames all of the referenced files. This breaks all of our resulting image file references. Is it possible to prevent preprocessing from renaming the referenced files?
Jimjpcain429 October 16, 2015 at 1:21 am
Reply to: XMetaL 8 DITA-OT temporary files: Can we prevent renaming of files?October 16, 2015 at 1:21 am
Every file, except for the primary file as input to the transform, is renamed. Is there a way to disable this behavior?
JimDerek Read October 16, 2015 at 6:10 pm
Reply to: XMetaL 8 DITA-OT temporary files: Can we prevent renaming of files?October 16, 2015 at 6:10 pm
If you are running the Japanese edition then this behaviour is normal, and should not be altered if your file names are in Japanese (or non-Latin in general) as the DITA OT cannot handle those characters.
If you are not running the Japanese edition this is not normal. The setting for this must have somehow been enabled.
In either case (Japanese edition or standard edition) you can disable this setting:
1. Tools > Configure Output
2. Switch to the Advanced tab and check for this setting: cmd_fs_sandboxing = yes
3. Change the value to nojpcain429 October 16, 2015 at 7:16 pm
Reply to: XMetaL 8 DITA-OT temporary files: Can we prevent renaming of files?October 16, 2015 at 7:16 pm
Hmmm, I checked, but cmd_fs_sandboxing is already set to no. Output options are below.
cmd_always_open_log = no
ANT_OPTS = “-Xmx256m”
cmd_fs_sandboxing = no
cmd_cms_sandboxing = yes
cmd_dita_before_14_compatible = no
cmd_dita_ot_per_user_version = 14
_rem_cmd_synchro_mode = 2
Does anything else look off? I checked our custom print_local_
.xml and cmd_fs_sandboxing is set to no in that as well.
Any other possible ideas?
JimDerek Read October 16, 2015 at 11:28 pm
Reply to: XMetaL 8 DITA-OT temporary files: Can we prevent renaming of files?October 16, 2015 at 11:28 pm
These all look normal for version 8.
You mention that changes have been made to the print_local.xml file. That would be where I think I'd concentrate my efforts.
Can you revert that to a default copy and see what happens?jpcain429 October 20, 2015 at 5:04 pm
Reply to: XMetaL 8 DITA-OT temporary files: Can we prevent renaming of files?October 20, 2015 at 5:04 pm
I set cmd_cms_sandboxing = no and the referenced files are no longer getting renamed. Is there other behavior that depends on this config item being set to “yes”?Derek Read October 20, 2015 at 9:24 pm
Reply to: XMetaL 8 DITA-OT temporary files: Can we prevent renaming of files?October 20, 2015 at 9:24 pm
That command is comes into play if you are using a CMS that has an integration with XMetaL Author Enterprise.
In my testing (without a CMS installed) it does not rename the files.jpcain429 October 22, 2015 at 4:43 pm
Reply to: XMetaL 8 DITA-OT temporary files: Can we prevent renaming of files?October 22, 2015 at 4:43 pm
We are using the Documentum Webtop integration with XMetaL. The only change that I made was to set cmd_cms_sandboxing = no. Once I did that, the output files were no longer getting renamed.
- You must be logged in to reply to this topic.