Ensure that AA in colour class is always uppercase. XHTML is case sensitive (abYsis is xhtml)