Validation of SIddhi query & CodeMirror