Template property returned different for docs created of 32 and 64 bit machines



we tested the code below on two documents (attached), once is created on a 32bit Windows 7 and the other one on 64 bit Windows 10. The code below returns the Template property with ".dot" extension for one of them and without the extension for the other. Why is it different? Shouldn't it be consistent and include extension in both cases?


Archive 2.zip (147.8 KB)

Thanks in advance,



Thanks for your inquiry. We have tested the scenario and noticed the reported issue. We have logged a ticket WORDSNET-15570 in our issue tracking system for further investigation and rectification. We will notify you as soon as it is resolved.

We are sorry for the inconvenience.

Best Regards,



Thanks for your patience. Please note our product team has investigated the issue and found it is expected behavior. If you try to unzip 64bitOS document and check \docProps\app.xml, you will see Template = CoreTemplate without extension. And then compare with 32bitOS\docProps\app.xml, there is Template = CoreTemplate.dot with .dot extension. Aspose.Words returns value from the document.