Closed javajeff closed 5 years ago
That depends heavily on 'how' you provide your XML to be validated. If it is a pre-parsed org.w3c.dom.Node
than you have no chance to get this information because it does not exist. For other input it depends on your local setup. So how are you validating?
What is an simple way to validate the XML to be able to get the line numbers for the schematron assertions and reports?
On Fri, Mar 23, 2018 at 12:54 AM, Philip Helger notifications@github.com wrote:
That depends heavily on 'how' you provide your XML to be validated. If it is a pre-parsed org.w3c.dom.Node than you have no chance to get this information because it does not exist. For other input it depends on your local setup. So how are you validating?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/phax/ph-schematron/issues/65#issuecomment-375571574, or mute the thread https://github.com/notifications/unsubscribe-auth/AC2l1NhpA5QmYFZGq9LDap0rquEGryg4ks5thKocgaJpZM4SuNXv .
I will try to prepare an example. It's not always obvious :)
I will try to prepare an example. It's not always obvious :)
I would also be interested
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.
I am closing this as duplicate of #52
I would like the schematron error message to include the line and column number of where in the document the error occurred.