# Expat expects the string to use this internal format. utf8::downgrade($xml) if $] ge '5.008'; $p->parse($xml);