The
Results View displays the messages generated as a result of user
actions like validations, transformations, search operations and others. Each message is a
link to the location related to the event that triggered the message. Double clicking a
message opens the file containing the location and positions the cursor at the location
offset. The actions that can generate result messages are:
The view provides a toolbar with the following actions:
Group by actions
- A set of actions that group the messages according to a
selected criteria so that they can be presented in a hierarchical layout. The criteria
used for grouping can be the severity of the errors (error, warning, info message and
so on), the resource name, the description of the message and so on. The
Ungroup all action removes the grouping rule so that the
messages are presented as a continuous list.
Highlight
all results in editor
- Oxygen XML Editor highlights all matches obtained after executing an XPath
expression, or performing one of the following operations: Find
All, Find in Files, Search
References, and Search Declarations. Click
Highlight all results in editor again to turn off highlighting.
Note: To
customize highlighting behavior,
open the
Preferences dialog box and go to . You can do the following customizations:
- set a specific color of the highlights depending on the type of action you make.
- set a maximum number of highlights that the application displays at any given
time.
- Remove actions
- The
Remove
selected and
Remove all reduce the number of messages from the
view by removing them.
The actions available on the contextual menu are:
- Show message
- Displays a dialog box with the full error message, which is useful for a long message
that does not have enough room to be displayed completely in the view.
Previous
message
- Moves the selection in the view to the message above the current one.
Next
message
- Moves the selection in the view to the message below the current one.
Remove
selected
- Removes selected messages from the view.
Remove
all
- Removes all messages from the view.
Copy
- Copies the information associated with the selected messages:
- the file path of the document that triggered the output message,
- the path of the main file (in case of validation scenario it is the path of the file from which the validation
starts and which can be different than the validated file),
- error severity (error, warning, info message an so on.),
- name of validating processor,
- name of validation scenario,
- the line and column in the file that triggered the message.
- Select All
- Extends the selection to all the messages from the view.
- Print Results ...
- Sends the complete list of messages to a printer. For each message the included
details are the same as the ones for the Copy action.
- Save Results ...
- Saves the complete list of messages in a file in text format. For each message the
included details are the same as the ones for the Copy action.
- Save Results as XML
- Saves the complete list of messages in a file in XML format. For each message the
included details are the same as the ones for the Copy action.
- Group by
- A set of actions that group the messages according to a
selected criteria so that they can be presented in a hierarchical layout. The criteria
used for grouping can be the severity of the errors (error, warning, info message and
so on), the resource name, the description of the message and so on. The
Ungroup all action removes the grouping rule so that the
messages are presented as a continuous list.
Ungroup
all
- Removes the grouping rule set by a Group by action so that the
errors are presented as a continuous list.
- Show Group Columns
- Displays/hides columns used as grouping criteria.
- Restore Defaults
- Restores the column size for each column and the grouping rule that were saved in the
user preferences the last time when this view was used (possible in the previous Oxygen XML Editor session). If it is the first time when this view is used, the
action sets an initial default column size for each column and a grouping rule which is
appropriate for the type of messages, for example:
- group the messages by the path of the validated file in case of error messages
from a validation action or spelling errors reported by the action Check
Spelling in Files,
- no grouping rule for the results of applying an XPath expression.
- Expand All
- Expands all the nodes of the tree, which is useful when the messages are presented in
a hierarchical mode.
- Collapse All
- Collapses all the nodes of the tree, which is useful when the messages are presented
in a hierarchical mode.