You Andreas rock! I am PRETTY sure it did the trick.

Here is what it was
          <map:match pattern="*/*/**.pdf">
<map:read src="pubs/{1}/resources/shared/{3}.pdf" mime-type="application/pdf"/>
          </map:match>
this is what i changed it to
          <map:match pattern="*/*/**.pdf">
<map:read src="pubs/{1}/resources/shared/{3}.pdf" mime-type="application/pdf" >
              <map:parameter name="byte-ranges" value="false"/>
            </map:read>
          </map:match>

This was done in two places in Lneya. (resources.xmap and resoures-shared.xmap)

I consider this a work around. Any idea if someone is fixing this bug?
You think I should open a bug report with cocoon?

Thanks
David

Andreas Hartmann wrote:
David wrote:

It really only happens with PDFs around 400-500 KB and the demo sites don't allow me to upload something that large.


Maybe it is related to this problem?

http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=112496255207733&w=2

A workaround was to disable byte ranges for the resource reader
(see ResourceReader documentation).

-- Andreas


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

Reply via email to