DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10277>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10277

Cannot set MIME type for ResourceReader





------- Additional Comments From [EMAIL PROTECTED]  2002-06-27 12:18 -------
Have a look at org\apache\cocoon\reading\AbstractReader.java:104 :

    /**
     * Get the mime-type of the output of this <code>Serializer</code>
     * This default implementation returns null to indicate that the
     * mime-type specified in the sitemap is to be used
     */
    public String getMimeType() {
        return null;
    }

So, this should be sitemap's task to implement mime-type usage. I'm sure you've 
tried this, but anyway, didn't this work: 
<map:read src="../build/lib/{1}.jar" mime-type="application/octet-stream" /> ?

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

Reply via email to