MDL-13435 xmlize - now throwing exceptions on parsing error. Credit goes to Tim/Mahmoud