You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Matt Sergeant <ma...@sergeant.org> on 2000/07/04 21:46:24 UTC
XSP mime type?
AxKit uses mime types to identify what processor to use at each
stage. I've been using application/x-xsp as the mime type for XSP, but I
was wondering if anyone had thought about a definitive mime type for XSP
in the cocoon group?
Please CC all replies as I'm not on the cocoon-dev list.
--
<Matt/>
Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org | AxKit: http://axkit.org
Re: XSP mime type?
Posted by Stefano Mazzocchi <st...@apache.org>.
Matt Sergeant wrote:
>
> AxKit uses mime types to identify what processor to use at each
> stage.
Hmmmm, I'd consider this a bad practice.
With namespaces, you have the ability to include several different
content types inside one file. For example, FO + SVG + MathML.
Mime-type is too weak of a concept to stand the power you need.
> I've been using application/x-xsp as the mime type for XSP, but I
> was wondering if anyone had thought about a definitive mime type for XSP
> in the cocoon group?
We carefully tried to avoid messing with mime-types inside the pipeline
(only after the serialization where all layers are flattened into one)
but "application/x-xsp" is good enough for me if you really need it.
--
Stefano Mazzocchi One must still have chaos in oneself to be
able to give birth to a dancing star.
<st...@apache.org> Friedrich Nietzsche
--------------------------------------------------------------------
Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------
Re: XSP mime type?
Posted by Matt Sergeant <ma...@sergeant.org>.
On Wed, 5 Jul 2000, Niclas Hedhman wrote:
> Matt Sergeant wrote:
>
> > AxKit uses mime types to identify what processor to use at each
> > stage. I've been using application/x-xsp as the mime type for XSP, but I
> > was wondering if anyone had thought about a definitive mime type for XSP
> > in the cocoon group?
>
> Doesn't Mimetypes has to be officially registered somewhere?
Not x- prefixed ones.
--
<Matt/>
Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org | AxKit: http://axkit.org
Re: XSP mime type?
Posted by Niclas Hedhman <ni...@localbar.com>.
Matt Sergeant wrote:
> AxKit uses mime types to identify what processor to use at each
> stage. I've been using application/x-xsp as the mime type for XSP, but I
> was wondering if anyone had thought about a definitive mime type for XSP
> in the cocoon group?
Doesn't Mimetypes has to be officially registered somewhere?
Niclas