Oxygen XML Author offers quick fixes for common errors that appear in XML documents.
Quick fixes are available for XML documents that are validated against XSD or Relax NG
schemas.
Note: For XML documents validated against XSD schemas, the quick fixes are only
available if you use the default Xerces validation engine.
Quick fixes are available
in
Text mode
and Author mode:
Oxygen XML Author provides quick fixes for numerous problems, including:
| Problem type |
Available quick fixes |
| A specific element is required in the current context |
Insert the required element |
| An element is invalid in the current context |
Remove the invalid element |
| The content of the element should be empty |
Remove the element content |
| An element is not allowed to have child elements |
Remove all child elements |
| Text is not allowed in the current element |
Remove the text content |
| A required attribute is missing |
Insert the required attribute |
| An attribute is not allowed to be set for the current element |
Remove the attribute |
| The attribute value is invalid |
Propose the correct attribute values |
| ID value is already defined |
Generate a unique ID value |
| References to an invalid ID |
Change the reference to an already defined ID |