Fix for parsing from the Qt XML library