add: } } else { ORBEON.util.Dom.removeClass(control, "xforms-required-filled"); ORBEON.util.Dom.removeClass(control, "xforms-required-empty"); 
context:     updateRequiredEmpty: function(control) {        if (ORBEON.util.Dom.hasClass(control, "xforms-required")) {            if (ORBEON.xforms.Controls.getCurrentValue(control) == "")                ORBEON.util.Dom.addClass(control, "xforms-required-empty");            else                ORBEON.util.Dom.removeClass(control, "xforms-required-empty");        }    }
meta: 7801	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7801/fe3f331b0c1996ba2a982104eca87602edf6cd7d/xforms.js/buggy/src/examples/web/ops/javascript/xforms.js