cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anna Afonchenko" <a...@ubaccess.com>
Subject Generating invalid url
Date Mon, 30 Dec 2002 14:48:26 GMT
Hi All.
I have a pipeline that matches some http request with parameter indicating some url.
For example:
the http request is:
cocoon/testing?url=www.yahoo.com

<map:match pattern="testing">
    <map:act type="request">
        <map:parameter name="parameters" value="true"/>
        <map:generate src="http://{url}"/>
        <map:transform src="stylesheet.xsl"/>
        <map:serialize type="html"/>
    </map:act>
</map:match>

How I can check that the supplied url is valid?
Does generator throw some error that I can then catch in map:handle-errors?

Thank you very much for help.
Anna

Mime
View raw message