I think the concern is that the eggs of a parasite that can infect humans will not be killed by most garden composting, as the temp. never gets high enough. Even if you worm your cats/dogs don't risk it, I lost sight in my left eye as a child because of this nasty little critter. It can survive 7 years as a cyst in your soil, so be very careful around contaminated beds. I wear surgical gloves all the time I'm dealing with soil.
Brian