WIP: fix a compiler error in xml file2