May be it is due to you have used some special local characters such that I was not able to load GUI elements from xml file.
In order to solve the local character problem, you can save the EJ?source with .ejs extension.
It was announced that EJS 4.2.7 will support local character when save as .ejs file.
May be we can check out thios feature.
Could you upload the .ejs file for me to test it out.