ERROR(wxml) in writing to file 
test.xml
Trying to close root but no tags are open.