unexpected XML handling