#NEWLINE# def validateSchemaWithLxmlMenuCommand( cntlr ) : #NEWLINE# #INDENT# if ( ( cntlr . modelManager is None ) or ( cntlr . modelManager . modelXbrl is None ) ) : #NEWLINE# #INDENT# cntlr . addToLog ( _ ( 'No taxonomy loaded.' ) ) #NEWLINE# return #NEWLINE# #UNINDENT# thread = threading . Thread ( target = ( lambda dts = cntlr . modelManager . modelXbrl , c = cntlr : validateSchemaWithLxml ( dts , c ) ) ) #NEWLINE# thread . daemon = True #NEWLINE# thread . start ( )