Sentence: The door has seven holes in it and the window.

Linguistic integrity: unacceptable

Sentence: How do you wonder whether John said that Mary solved the problem?

Linguistic integrity: unacceptable

Sentence: We told Tom that he should consult an accountant.
Linguistic integrity: acceptable