Schema Validation
Validation for the Design mode is seamlessly integrated in the Oxygen XML Editor Eclipse plugin XML documents validation capability.
A schema validation error is presented by highlighting the invalid component:
- In the Attributes View.
- In the diagram by surrounding the component that has the error with a red border.
Invalid facets for a component are highlighted in the Facets View.
Components with invalid properties are rendered with a red border. This is a default color, but you can customize it in the Document checking user preferences. When hovering an invalid component, the tooltip will present the validation errors associated with that component.
When editing a value that is supposed to be a qualified or unqualified XML name, the application provides automatic validation of the entered value. This proves to be very useful in avoiding setting invalid XML names for the given property.
If you validate the entire schema using the Validate action from the XML menu or from the Validation toolbar drop-down menu, all validation errors will be presented in the Errors tab. To resolve an error, just click it (or double-click for errors located in other schemas) and the corresponding schema component will be displayed as the diagram root so that you can easily correct the error.