Jan Bares wrote:
> you use the extension *.wml for WordML generated content. MS Word doesn't
> recognize this extension, it uses plain *.xml for WordML files.
> Unfortunately the *.wml is extension for Wireless Markup Language, which is
> confusing. I think you should use *.xml.

We know that. We thought than using .xml would make users inadvertently 
overwrite their source XML files.



> There is additional dangerous bug. I can change the output filename
> extension, but if it happens to match the source file extension and output
> directory is the same as input file directory, the input file is silently
> overwritten.

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).



Reply via email to