It is an error if the value given for either startmark or endmark is not a valid mark in the document. In this test, an error must be reported since "mark3" is not a valid mark in the document.