#NEWLINE# def validate( self , element , state ) : #NEWLINE# #INDENT# if ( len ( element . u ) > state . maxlength ) : #NEWLINE# #INDENT# return self . note_error ( element , state , 'exceeded' ) #NEWLINE# #UNINDENT# return True