If it is the PDF and you access it via Internet Explorer and the Adobe Plugin it is an issue of IE. IE requests the file twice.

Joerg

On 04.02.2004 14:44, Teator, Michael wrote:

Geoff,

The content is returned from a request to a JRun server that returns the
XML.

I tried setting the pipeline to noncaching, no difference.

I also tried taking JRun out of the equation with a simple test as follows.
If I try to retrieve http://localhost:8080/cocoon/test5.pdf, I see two
requests in the localhost access logs for test5.xml.

(note this is just a test sitemap... the XML normally comes from a http
request to another server, not from cocoon)

                <map:pipeline type="noncaching">
                        <map:match pattern="test*.xml" type="wildcard">
                                <map:generate type="file"
src="tests/test.xml"/>
                                <map:serialize type="html"/>
                        </map:match>
                        <map:match pattern="test*.pdf" type="wildcard">
                                <map:act type="request">
                                        <map:parameter name="parameters"
value="true"/>
                                        <map:generate type="file"
src="http://localhost:8080/cocoon/test{../1}.xml"/>
                                        <map:transform type="xslt-notinc"
src="tests/test.xsl"/>
                                </map:act>
                                <map:serialize type="fo2pdf"/>
                        </map:match>

etc etc...

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



Reply via email to