Miscellaneous topics that do not fit into specific categories.
It sounds like your computer is trying to open the XML file with Microsoft Word by default. Word cannot handle the custom XML structure that your accounting software (Lone Wolf) generates for T4 slips, which is why you see the warnings about unsupported XML elements. Opening and saving it in Word can actually corrupt the file, making it unusable for the government site.
To fix this, you need to make sure the XML file is not opened in Word at all. Instead, you should upload it directly to the government site from your file system. Typically, after Lone Wolf downloads the XML file, you can leave it on your desktop or in your Downloads folder and use the government site’s upload function to select it. Do not double-click the file.
If you want to ensure that XML files open with something safer (like a text editor) when double-clicked, you can change the default program on Windows:
Right-click the XML file, choose Open With, then Choose another app, select Notepad, and check Always use this app to open .xml files.
Once you do this, double-clicking the file won’t launch Word, preventing it from trying to modify the XML. You can then upload the file to the government site without any errors.
You do not need to edit the XML itself - the issue is purely that Word is interfering.
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin