Checks for unused namespace declarations and location hints in XML