Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing methods to retrieve detailed diagnostics information from SVRL reports? #158

Open
ingofrank opened this issue Jul 17, 2023 · 3 comments
Assignees

Comments

@ingofrank
Copy link

The method getContent() of a DiagnosticReference returns information about a Schematron diagnostic validation message, but there seem to be no further methods in order to get explicit information (e.g. the diagnostic message in different languages etc.) from the returned data structure?!

@phax
Copy link
Owner

phax commented Jul 17, 2023

I see your point. Unfortunately that is a default JAXB generated method.
As the diagnostic-reference uses mixed="true" the payload of the object cannot be represented as List<Object>.

What I could do, is to add some sanity methods in SVRLHelper, but you need to let me know what you need exactly, as my primary use case scenario works without diagnostic references....

@ingofrank
Copy link
Author

ingofrank commented Jul 18, 2023

Ok, I see that there is the method getLang()to get the language (of the message) from a DiagnosticReference. So, that is fine.

It would be good enough for my use case, if we could get the text message from the content structure of the according DiagnosticReference returned by the method getContent().

phax added a commit that referenced this issue Aug 16, 2023
Copy link

stale bot commented Jan 7, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jan 7, 2024
@phax phax added pinned and removed wontfix labels Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants