The idea of replacing a divergence constraint by a divergence boundarycondition is investigated. The connections between the formulations areconsidered in detail. It is shown that the most common methods of usingdivergence boundary conditions do not always work properly. Necessaryand sufficient conditions for the equivalence of the formulations aregiven.