Patent ID: 7562295

Claim:
A computer-readable storage medium, comprising: a first component for interpreting a word-processor document stored as an XML file; and a second component that is configured to perform actions, including: placing a first XML element that includes an opening tag and an ending tag that is placed before the beginning of an XML element that contains a spelling error and placing a second XML element that includes an opening tag and an ending tag that is placed after the XML element that contains the spelling error; wherein the first XML element includes an identifier indicating that it represents the beginning of the spelling error and wherein the second XML element includes an identifier indicating that it represents the end of the spelling error; wherein the first XML element and the second XML element do not include child elements and do not include content; wherein placement of the first XML element and the second XML element within the XML file do not affect the well formedness of the XML file; and placing a third XML element that includes an opening tag and an ending tag that is placed before the beginning of one or more XML elements that contain a grammar error and placing a fourth XML element that includes an opening tag and an ending tag that is placed after the one or more XML elements that contain the grammar error; wherein the third XML element includes an identifier indicating that it represents the beginning of the grammar error and wherein the fourth XML element includes an identifier indicating that it represents the end of the grammar error; wherein the third XML element and the fourth XML element do not include child elements and do not include content; wherein placement of the third XML element and the fourth XML element within the XML file do not affect the well formedness of the XML file.