use xml-apis version 1.4.01, 2.0.2 seems busted