smartxml: normalizing document in loadXML instead of constructor