fixed css class handling for client-side xml validation