Question

xml error transformation

  • 30 August 2023
  • 3 replies
  • 29 views

Badge

Using RulesEngine.GetLastCaughtErrorsAsXML() gets you the errors in xml format. It looks like you can get those messages with various content (of course) and elements. Would there be any xsd available on these messages so we can write robust transformations on those (e.g. to return to an api call)?


3 replies

Badge +1

Unfortunately, an XSD is not available, but the format is documented extensively at: https://community.usoft.com/usoft-xml-formats-242/xml-error-messages-1503

Badge

Is it posible to let RulesEngine.GetLastCaughtErrorsAsXML() return the errors for a specific language other then the language that the rules engine is started with?

Badge +1

No, RulesEngine.GetLastCaughtErrorsAsXML() has no options to specify a language.

Reply