<proofErr>
(Proofing Error Anchor)
This element specifies the presence of a start or end anchor for a single proofing error within a WordprocessingML document.
When proofing errors are stored in a document, their semantics shall be interpreted as follows:
Each proofing error with a
@type
attribute value ofspellStart
shall be linked with the next error with a@type
attribute ofspellEnd
. If one does not exist, then this error should be ignored.Each proofing error with a
@type
attribute value ofspellEnd
which was not preceded by an error with a@type
attribute value ofspellStart
(that was not previously matched to an end) should be ignored.Each proofing error with a
@type
attribute value ofgramStart
shall be linked with the next error with a@type
attribute ofgramEnd
. If one does not exist, then this error should be ignored.Each proofing error with a
@type
attribute value ofgramEnd
which was not preceded by an error with a@type
attribute value ofgramStart
(that was not previously matched to an end) should be ignored.
<w:p> <w:proofErr w:val="gramStart"/> <w:r> <w:t>This are</w:t> </w:r> <w:proofErr w:val="gramEnd"/> <w:r> <w:t xml:space="preserve"> an error.</w:t> </w:r> </w:p>
The <proofErr>
elements, with a @val
attribute value of gramStart
and gramEnd
respectively, delimit the start and end the content in this paragraph which is stored as a grammatical error. ]
Parent Elements |
---|
|
Attributes |
Description |
---|---|
|
Specifies the type of proofing error anchor at this location in the document. This type implies the necessary semantics for this element as defined by the parent element. <w:r> <w:t>are</w:t> </w:r> <w:proofErr w:val="gramEnd"/> <w:r> <w:t xml:space="preserve"> an error.</w:t> </w:r> The The possible values for this attribute are defined by the ST_ProofErr simple type (§2.18.77). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_ProofErr">
<attribute name="type" type="ST_ProofErr" use="required"/>
</complexType>