Judging solely by the error message (non-exhaustive patterns in 'white'), it sounds like it could be a bug in HaXml that was fixed in a patch of April 2009.  Try using a more recent release of HaXml.

Regards,
    Malcolm