On 05.02.2004 21:21, Brent L Johnson wrote:

Im attempting to pass some parameters through to
the src of the HTML generator and I'm getting an
IOException.  Here is my sitemap snippet:

<map:match pattern="test.xml">
    <map:act type="request">
        <map:parameter name="parameters" value="true"/>
        <map:generate type="html"
src="http://www.somewebsite.com/someSearchUrl.cgi?param={searchParams}"/

        <map:transform src="styles/test.xsl"/>
        <map:serialize type="xml"/>
    </map:act>
</map:match>

I try to access this by going to
http://localhost/test.xml?searchParams=my%20param

I get an error that says "Could not get resource
http://www.somewebsite.com/someSearchUrl.cgi?param=my param"

It looks like it decodes the %20 and turns it back into a normal space
but the generator does NOT like that.  Does anyone have any suggestions
as to how I can get around this problem?  If I just hardcode my%20param
for the generator it works just fine.

The request parameters are not decoded back in the sitemap. Does the raw request param module work for you? See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23283 for an example. Unfortunately there is another bug open, that states that it might not work: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25102.


Joerg

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



Reply via email to