Hello,

I've got question: why handler's process method alters environment state
and does not restores it? The releveant code snippet:

    public boolean process(Environment environment) throws Exception {
        checkSanity();
        try {
            environment.setSourceHandler(this.sourceHandler);
            return sitemap.process(environment);
        } finally {
            environment.setSourceHandler(null);
        }
    }

After process() is invoked, no processing can be done in parent
sitemap (if any), which in turn means that no <map:handle-error>
pipelines might be executed.

Right now I'm going for walk-around: surround process() with
environment pushURI() and popURI() calls.

Vadim

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to