remove useless test when populating childNodeNames