I know option#1 and option#2 to call script in event policy.
When I use test.xsl as op script, the event policy is doing what as I wish.
But when I use test.xsl as event script, the event policy doesn't work usually, only sometimes it works normally.
When it doesn't work, following n /var/log/escript.log:
Jun 8 00:00:00 running event script 'test.xsl'
Jun 8 00:00:00 opening event script '/var/db/scripts/event/test.xsl'
Jun 8 00:00:00 reading event script 'test.xls'
Jun 8 00:00:03 error: [filename: xmn:rpc results] [line: 17] [column: 11] [input: routing
-engine] Opening and ending tag mismatch: routing-engine line 11 and load-configuration-
results
Jun 8 00:00:04 error: [filename: xmn:rpc results] [line: 18] [column: 7] [input: commit-
results] Opening and ending tag mismatch: commit-results line 7 and routing-engine
Jun 8 00:00:04 error: [filename: xmn:rpc results] [line: 27] [column: 6] [input: rpc-
reply] Opening and ending tag mismatch: rpc-reply line 6 and commit-results
Jun 8 00:00:04 error: [filename: xmn:rpc results] [line: 28] [column: 2] [input:
junoscript] Opening and ending tag mismatch: junoscript line 2 and rpc-reply
Jun 8 00:00:04 error: [filename: xmn:rpc results] [line: 30] Extra content at the end of
the document
Jun 8 00:00:04 commit script: xml-mode: could not read content
Jun 8 00:00:04 xmlXPathCompiledEval: evaluation failed
But when I use test.xsl as op scrtipt, there's no error in /var/log/op-script.log,it always works right.
Message Edited by pepeng on 06-08-2009 09:54 AM