| Validating XML Documents Against a Schema / Custom Validators | |
Validation engines display messages in an output view at the bottom of the Oxygen XML Editor window. If such an output message (warning, error, fatal error, etc) spans between three to six lines of text and has the following format then the message is linked to a location in the validated document so that a click on the message in the output view highlights the location of the message in an editor panel containing the file referred in the message. This behavior is similar to the linked messages generated by the default built-in validator. The format for linked messages is:
AdditionalInfoURL: the URL string pointing to a remote location where additional information about the error can be found - this line is optional in a linked message.
Example of how a custom validation engine can report an error using the format specified above:
Type: E SystemID: file:///c:/path/to/validatedFile.xml Line: 10 Column: 20 AdditionalInfoURL: http://www.host.com/path/to/errors.html#errorID Description: custom validator message