yml and xml driver should not prevent inheriting nodetype setting from parent document

hopefully fixing a bug @rmsint found