> See what I mean?
>
> This is not a bug. This is a compromise.
>
> Imagine that you generate the same HTML file 10 times in the same
> editing session (which is quite common) and that, each time, XXE asks
> you to confirm that you really want to overwrite the file, you would go
> crazy (Well, personally, I would go crazy).
I think that this is bad compromise. If XXE silently overwrites my source
file, I will quit using it, because it is dangerous. Your sample is strange
because when you for the first time say yes, you will loose you source file
and any later attempts to generate new HTML will fail :-). The reason why it
works, is that you have the file in memory and save it each time before the
transformation - what if XXE crashes during editing, or power is down? You
will loose you work.
I suggest to use different naming options. For instance you can add new
option that will not replace the filename extension with new extension, but
adds the new extension: source.xlm -> source.xml.xml (with WordML). Or you
can use something like source.xml -> sourceXX.xml, where the XX is
configurable string ("Word" for instance).
XXE is the best tool for me, in fact the only tool that meets most of my XML
editor expectations. But the fact, that I can silently loose my work makes
me doubtful. Are there other possibilites how can I silently delete my work
with XXE?
Thanks for your care, Jan