For a Banach space X of R M -valued functions on a Lipschitz domain, let K(X) ⊂ X be a closed convex set arising from pointwise constraints on the value of the function, its gradient or its divergence, respectively. The main result of the paper establishes, under certain conditions, the density of K(X 0 ) in K(X 1 ) where X 0 is densely and continuously embedded in X 1 . The proof is constructive, utilizes the theory of mollifiers and can be applied to Sobolev spaces such as H 0 (div, Ω) and W 1,p 0 (Ω), in particular. It is also shown that such a density result cannot be expected in general.