Currently the external .jar file that performs the rule(s) validation cannot handle multi-line text and double-quotes existing in a rule's content. As a work-around we are removing any new-line characters and escaping double-quotes inside a rule's content.
As a result, only one validation error is reported and when reported , the error-trace is always in line# 1 with col# accordingly
Currently the external .jar file that performs the rule(s) validation cannot handle multi-line text and double-quotes existing in a rule's content. As a work-around we are removing any new-line characters and escaping double-quotes inside a rule's content. As a result, only one validation error is reported and when reported , the error-trace is always in line# 1 with col# accordingly
https://github.com/sotiriosalpha/rulesMS/blob/5354d907b317616f5f68bce25b66ae895d4473eb/server/api/functions/validate.js#L26-L34