Microsoft Office Tutorials and References
In Depth Information
Topic A: Working with XML
If your document does not specify content for each tag in the schema, a schema
violation occurs. Word uses several indicators to alert you to schema violations, as
shown in Exhibit 7-5.
One indication is a wavy purple line that appears to the left of the document
element in which the violation occurs.
Another indication appears in the XML Structure pane. In the “Elements in the
document” list, a question-mark icon appears next to the element in which the
When a schema violation indicator appears, you can examine the indicated element and
fix it. When you point to the question-mark icon in the XML Structure pane, a message
appears, describing the violation. When you fix the violation, the schema violation
Exhibit 7-5: Indicators of schema validation problems