The subject behavior may occur when the HTML page and the .HTC and .XML files are all stored on the local computer.

To workaround this issue, you can use HTA (HTML Applications) files instead of HTML files, or you could create a local share where you save the HTML page and the .HTC and .XML files, and in Internet Explorer, add the share as a trusted site.