[opencms-dev] SVG files

M Butcher mbutcher at grcomputing.net
Wed Jul 14 19:34:01 CEST 2004


I just checked, and image/svg+xml is not in 
$CATALINA_HOME/webapps/opencms/WEB-INF/classes/mimetypes.properties

Try adding it, and see if that fixes the problem.

Matt

Jeff White wrote:
> Hi Matt
> 
> Version is 5.0.0/5.0.1 (we are running both versions).
> 
> I have declared the SVG to be all of these to no effect.
> 
> I can deliver the SVG file from a Tomcat/JSP appserver but when OpenCMS
> delivers it as raw content I get the impression it sets the resonse header
> to XML not SVG thus the Adobe plug-in does not process the SVG/XML.
> 
> Regards
> Jeff White
> 
> -----Original Message-----
> From: opencms-dev-admin at opencms.org
> [mailto:opencms-dev-admin at opencms.org]On Behalf Of M Butcher
> Sent: 12 July 2004 16:26
> To: opencms-dev at opencms.org
> Subject: Re: [opencms-dev] SVG files
> 
> 
> Which version of OpenCms? What type are you declaring the image (binary,
> image, plain)?
> 
> Matt
> 
> Jeff White wrote:
> 
>>I am trying to deliver SVG files in opencms and get the following error
>>
>>"Use of default namespace declaration attribute in DTD not supported."
>>
>>The SVG file is displayed OK when delivered by tomcat and when opened
>>directly in a browser with the Adobe plugin but not when it is stored as
>>plain content in OpenCMS.
>>
>>Has anyone got any ideas why this does not work...
>>
>>Thanks
>>Jeff White
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list