Hey thanks for identifying the problem and fixing it. If I don't specify a mime-type for map:read does it always default to "text/html"?
Nope : the ResourceReader (the default one) tries to determine the mime type from the extension of the "src" attribute using ServletContext.getMimeType().
Sylvain
-- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects } Orixo, the opensource XML business alliance - http://www.orixo.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
