The place the error is detected and the place the error must be fixed can be (and often are) different places.
Consider a simple example. You put a <div> tag at the beginning of a chapter. You neglect to match it with a closing </div>. The error will be detected at the very end of the chapter, but you'll very likely want to fix it by deleting the tag at the beginning!
|