Open demonicjelly opened 2 months ago
Can you also try to download the latest DITA OT 4.2.1 and try the same thing with it? Also what is your use case for attempting to do this? It does not seem to make sense.
This is a simplified example of a set of inputs we've been given. And need to use Java 8 as we are using Dita-OT within some of our software. I put up the use case like this to try simplify it down to the root of the error. Will look into seeing if it is resolved by 4.2.1.
Expected Behavior
Successful Run of the dita-ot run
With the following inputs of valid Dita (checked using oxygen XML editor): Within main.dita we reference main2.ditamap
And within main.2 we reference back to main.ditamap
This causes the mapref warning type messages related to stylesheet looping and stating Failed to transform document, however should continue to finish the operation and run the normalize steps completing the operation. This has been tested on Mac and succeeds only with the same looping warnings (does not have an issue with the Failing to process copy-in attributes) as shown in the following stack trace
Actual Behavior
An Error is thrown stating Failed to process copy-to attributes and Failing to delete after copy as can be seen in the stack trace.
Copy of the error message, log file or stack trace
Steps to Reproduce
Download the following files: SimpleSample.zip
Run the test case:
dita-ot-3.7.4\bin\dita --input=SimpleSample\main.ditamap --format=dita -Droot-chunk-override=to-content
Environment