As noted in https://github.com/spring-projects/sts4/issues/533#issuecomment-694356696 trailing whitespace could be hard to spot if it's added after the document split marker. We should perhaps be more lenient.