Hello to all. I work with Xml Schema, there is a question about returning errors during validation of the xsd scheme with an xml document. For example, we have a valid xsd scheme compiled from an xml document and there is a valid xml document itself. For example, we purposely make the mistake of going beyond the range of any element in the xml file and check it according to the scheme. By default, the error is as follows: Error XSDError in file (path to file) (line with error) (column with error) (error text) here is an example: content of element is not match its type defenition: maxInclusive facet. I need to return an error code using the example of any available error. Example: we received the same error (retrurn 34) depending on the context of the error, and this error code already produces our text in Russian (Element sia does not correspond to a valid value). The problem is, how do I properly implement all this? How can I track any error in the xml document that the user makes and provide for the output of her error code and error in Russian? I would be very grateful if someone puts a test case. I looked at the messageHandler, qInstallMessageHandler.

  • one
    It seems not the first day on the site, but with the formatting message horror! - αλεχολυτ
  • From the mobile writing. - Disastricks
  • Put the application Stack Exchange , everything is quite conveniently formatted. There are under Android , and under iOS . - αλεχολυτ
  • Thank you, right now I download. - Disastricks

0