cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Corda, Ugo" <Ugo.Co...@usa.xerox.com>
Subject RE: Enabling the WML Mime Type
Date Fri, 11 Feb 2000 19:22:48 GMT
I think that's exactly what was happening to me (see my last note to Lars).

Ugo

		-----Original Message-----
		From:	Jeff Martin [mailto:jeff.martin@dial.pipex.com]
		Sent:	February 11, 2000 11:23 AM
		To:	cocoon-users@xml.apache.org
		Subject:	Re: Enabling the WML Mime Type

		You don't actually need these unless you are serving static
files aswell as
		those from cocoon.
		You may find your being tricked by an error processing your
style sheet as
		errors in the processing are returned to the client as an
HTML page.
		This can make debugging a bit tricky. I've actually ended up
writing my own
		client to spoof different user agents and show the response.
But you could
		try hand writting the request header using telnet.

		-----Original Message-----
		From: Lars Pettersson <lpe@sics.se>
		To: 'cocoon-users@xml.apache.org'
<cocoon-users@xml.apache.org>
		Date: 11 February 2000 10:48
		Subject: Re: Enabling the WML Mime Type


		>
		>No, the
		>
		><xsl:processing-instruction
	
>name="cocoon-format">type="text/wml"</xsl:processing-instruction>
		>
		>syntax is correct, but you are right about the mime types.
Your web server
		>has to bo configured to include the following:
		>
		>text/vnd.wap.wml wml
		>text/vnd.wap.wmlscript wmls
		>application/vnd.wap.wmlc wmlc
		>application/vnd.wap.wmlscriptc wmlsc
		>application/vnd.wap.wbxml wbxml
		>image/vnd.wap.wbmp wbmp
		>
		>Add it to your mime.types if you run Apache.
		>
		>/Lars
		>
		>
		>
		>On Thu, 10 Feb 2000, Corda, Ugo wrote:
		>
		>> I am trying to use Cocoon with the Nokia WAP Toolkit, but
the Toolkit
		>> complains about receiving a "text/html" mime type.
		>> My xsl file contains: <xsl:processing-instruction
		>>
name="cocoon-format">type="text/wml"</xsl:processing-instruction>, but it
		>> does not seem to be enough.
		>> Is there something else I should do to enable the WML
Mime Type?
		Something
		>> in the Apache settings?
		>>
		>> Thank you,
		>> Ugo Corda
		>>
		>>
		>>
---------------------------------------------------------------------
		>> To unsubscribe, e-mail:
cocoon-users-unsubscribe@xml.apache.org
		>> For additional commands, e-mail:
cocoon-users-help@xml.apache.org
		>>
		>>
		>
		>
	
>---------------------------------------------------------------------
		>To unsubscribe, e-mail:
cocoon-users-unsubscribe@xml.apache.org
		>For additional commands, e-mail:
cocoon-users-help@xml.apache.org
		>


	
---------------------------------------------------------------------
		To unsubscribe, e-mail:
cocoon-users-unsubscribe@xml.apache.org
		For additional commands, e-mail:
cocoon-users-help@xml.apache.org

Mime
View raw message