| | |
| | | </if> |
| | | <!-- ========== --> |
| | | <script> |
| | | _errNum = 0 |
| | | result = 'NOTHING' |
| | | |
| | | if (caseSensitive == TRUE): |
| | |
| | | </script> |
| | | |
| | | <if expr="expect2Find == TRUE"> |
| | | <sequence> |
| | | <if expr="(result != 'NOTHING') and (grepRC == 0)"> |
| | | <call function="'checkRC'"> |
| | | { 'returncode' : 0, |
| | |
| | | </call> |
| | | </else> |
| | | </if> |
| | | <script> _errNum += STAXResult </script> |
| | | </sequence> |
| | | |
| | | <!-- == expect2Find == FALSE == --> |
| | | <else> |
| | | <sequence> |
| | | <if expr="(result == '') and (grepRC != 0)"> |
| | | <call function="'checkRC'"> |
| | | { 'returncode' : 0, |
| | |
| | | </call> |
| | | </else> |
| | | </if> |
| | | |
| | | <script> _errNum += STAXResult </script> |
| | | </sequence> |
| | | </else> |
| | | </if> |
| | | |
| | | <!-- ========== --> |
| | | <call function="'writeEndTagOperation'">{'fileFd' : fileFd}</call> |
| | | |
| | | <return> _errNum </return> |
| | | </sequence> |
| | | </function> |
| | | |