Fix compiler warning in xmlparser