Remove unsafe XML parsing

Move to using xmlutils for all XML parsing. Resolves bug 1190229.
Grizzly backport of Mikal Still's master patch.

Change-Id: I43afb2e188bbea99ea30fe6cb2eb1aeedc4ddfd4