[fixes] ignore single doctypes in chekcing linked documents