Skip to content

Show XML Path (XPath) in Quality Report e.g. via Tooltip

🚀 Feature Request

Summary

In the Quality Report, it is currently not possible to see the XPath of a constraint when hovering over it. Showing the full path (e.g., objectWorkType/term) in a tooltip would make it easier to understand which element the constraint refers to.

Problem to Solve / User Story

As a user reviewing the Quality Report after validation, I want to see the XPath of each failed or applied constraint via tooltip, so that I can quickly identify which XML structure is affected — without having to switch back to “Manage Constraints”. Currently, only generic field names like Term, Concept Identifier, etc., are shown. However, these fields can occur in different contexts, and without the full XPath (e.g. as a tooltip), it’s often unclear which exact element the constraint applies to.

Proposed Solution

Introduce a tooltip in the Quality Report (similar to the requested feature for the Overview List) that shows the full XPath when hovering over a constraint label.

Tooltip should display the path like: objectWorkType/term, classification/term, etc.

Benefits

Increases clarity and reduces guesswork in validation results.

Saves time by avoiding back-and-forth navigation to the constraint editor.

Possible Drawbacks

Slight increase in UI complexity.

Relevant Logs or Screenshots (if applicable)

image

Requirements or Dependencies

This feature builds on an existing feature request for showing the XPath in the Overview List. Introducing the same enhancement in the Quality Report ensures a consistent UX across views.

Alternatives Considered

Another idea: adding a “Show paths” toggle in the UI to optionally display paths for all constraints.

Links / References

Related: Same request for overview list (#64)

Edited by Domenic Schäfer