You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Volkm@r" <pl...@arcor.de> on 2004/08/13 16:00:51 UTC
mime-type of sitemap.xmap
Is there any "correct" mime-type for sitemap.xmap?
(To set syntax highlightning in KDE I should mention the mime-type.)
--
Volkmar W. Pogatzki
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: mime-type of sitemap.xmap
Posted by Colin Paul Adams <co...@colina.demon.co.uk>.
>>>>> "Ugo" == Ugo Cei <ug...@apache.org> writes:
Ugo> Il giorno 13/ago/04, alle 17:34, Colin Paul Adams ha scritto:
>> application/xml
>>
>> text/xml is NEVER right! :-)
>>
Ugo> Ouch! Then why does the default Cocoon sitemap include
Ugo> something like
Ugo> <map:serializer logger="sitemap.serializer.xml"
Ugo> mime-type="text/xml" name="x ml"
I've no idea.
Anymore than I know why browsers expect text/html. I never knew they
were human!
:-)
--
Colin Paul Adams
Preston Lancashire
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: mime-type of sitemap.xmap
Posted by Ugo Cei <ug...@apache.org>.
Il giorno 13/ago/04, alle 17:34, Colin Paul Adams ha scritto:
> application/xml
>
> text/xml is NEVER right! :-)
>
Ouch! Then why does the default Cocoon sitemap include something like
<map:serializer logger="sitemap.serializer.xml"
mime-type="text/xml" name="x
ml" src="org.apache.cocoon.serialization.XMLSerializer"/>
Just curious,
Ugo
--
Ugo Cei - http://beblogging.com/
Re: mime-type of sitemap.xmap
Posted by Colin Paul Adams <co...@colina.demon.co.uk>.
>>>>> "Joerg" == Joerg Heinicke <jo...@gmx.de> writes:
Joerg> On 13.08.2004 17:34, Colin Paul Adams wrote:
>>>> Is there any "correct" mime-type for sitemap.xmap?
>>
>>> text/xml
>> application/xml text/xml is NEVER right! :-)
Joerg> Why? http://www.ietf.org/rfc/rfc3023.txt (though I didn't
Joerg> read it of course)
"If an XML document -- that is, the unprocessed, source XML document
-- is readable by casual users, text/xml is preferable to application/xml."
But it never is.
--
Colin Paul Adams
Preston Lancashire
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: mime-type of sitemap.xmap
Posted by Joerg Heinicke <jo...@gmx.de>.
On 13.08.2004 17:34, Colin Paul Adams wrote:
>>> Is there any "correct" mime-type for sitemap.xmap?
>
>> text/xml
>
> application/xml
>
> text/xml is NEVER right! :-)
Why?
http://www.ietf.org/rfc/rfc3023.txt (though I didn't read it of course)
Jörg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: mime-type of sitemap.xmap
Posted by Colin Paul Adams <co...@colina.demon.co.uk>.
>>>>> "Ugo" == Ugo Cei <ug...@apache.org> writes:
Ugo> Il giorno 13/ago/04, alle 16:00, Volkm@r ha scritto:
>> Is there any "correct" mime-type for sitemap.xmap?
Ugo> text/xml
application/xml
text/xml is NEVER right! :-)
--
Colin Paul Adams
Preston Lancashire
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: mime-type of sitemap.xmap
Posted by Ugo Cei <ug...@apache.org>.
Il giorno 13/ago/04, alle 16:00, Volkm@r ha scritto:
> Is there any "correct" mime-type for sitemap.xmap?
text/xml
--
Ugo Cei - http://beblogging.com/