> From: TREGAN Fabien [mailto:[EMAIL PROTECTED]] > > something I do not understand about mime-type in C2 (the problème only > appears with C2, but maybe it's not C2 related ?) > > I use IE 5.5, and I use 2 serializers (default configuration) : > > in xmap: > <map:serializer name="svg2jpeg" > src="org.apache.cocoon.serialization.SVGSerializer" > logger="sitemap.serializer.svg2jpeg" mime-type="image/jpeg"/> > in xconf : > <component-instance name="xml" > class="org.apache.cocoon.serialization.XMLSerializer" > mime-type="text/xml" > logger="sitemap.serializer.xml"/> > > -when I acces image.svg and use the SVGserializer, IE reconize it's a > image/jpeg and open it as an image. > -when I open data.xml and use the XML serializer, IE open it an HTML file (I > have to use 'view source' to see my data, or to use a xml -> xhtml > transformer) > > When I open a .xml localy, IE reconize it as an xml file and display the > normal blue/red common treeview. > > Is it a C2 related problem ? Is it an hack from IE to handle XHTML ?
I don't think so. For me, if I see similar behavior, I just close/open IE and it works (shows XML as XML). Vadim --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>