fix parseXml for oapmc