|
If I go to the github writer2xhtml site you linked and search for use of removeExtension it appears to be defined in Misc.java (your link) but invoked in both EPUBWriter.java and in Application.java (and there is one use in the UNO routine as well) so it will remove up to two extensions if 2 extensions are provided as the target on the cli interface.
So I do not know if this behaviour is planned or just an accident of using the Application command line interface. Or if this happens in the UNO interface or ...
In general, I am not a fan of using multiple "." and spaces in a file name if you want it to be supported cross platform but if that is what the github writer2xhtml seems to be doing. But I have not written java code in over two decades so I only scanned the code.
Last edited by KevinH; 02-07-2026 at 10:01 AM.
|