Technician was loosening the flange bolts next to a valve assembly to change a gasket. The line was charged with heated Sodium Hydroxide. The technician drained the line via a bleed valve upstream, but noted that there was little discharge. As he loosened the flange, the liquid in the pipe sprayed into his face. He suffered minor chemical burns.