fixed namespace bug in XML parsing