Abstract
The method proposed by D'Hoker (D'Hoker E. Nucl. Phys. B 451 (1995) 725; Phys. Lett. B 357 (1995) 839.) is used to obtain all representations of the BRST-antibracket cohomology on local functionals for YM theory. In this way we can give a simple proof of a theorem by Joglekar and Lee on the renormalization of local gauge-invariant operators.