Bug with initFromXML on empty values