fixes in cxml parser/builder