Okay, I've got error messages here from the following situation.

Whenever I serve *.wml pages from localhost and view them in a WAP browser
(Openwave's SDK) the pages will work, so the localhost/IIS is serving up the
wml pages correctly and all works fine with just static wml pages.

However, whenever I use CF to create a simple index.cfm using the CF
Built-in Template from the WML Wizard, it hangs up and I get a "compiler
error"

The following is the CF code for the WAP page:

----------code----------
<CFCONTENT TYPE="text/vnd.wap.wml"><?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//PHONE.COM//DTD WML 1.1//EN"
"http://www.phone.com/dtd/wml11.dtd";>
<wml>
<card>
<p>Hello World</p>
</card>
</wml>
----------code----------

Here is the error from both the Trace feature, and the HTTP Markup response
Windows:

BROWSER TRACE OUTPUT:
------------- DATA SIZE --------------
Uncompiled data from HTTP is 764 bytes.
.. found Content-Type: text/html.
Compiler Error: No translator for content-type: text/html
--------------------------------------
------------- DATA SIZE --------------
Uncompiled data from HTTP is 15 bytes.
.. found Content-Type: .
Compiler Error: compiler error
--------------------------------------

HTTP RESPONSE MARKUP OUTPUT:
The Syntax Checker found the following errors.
Error:At line 1, position 6
Message:Unknown element 'HTML'

Okay, so it sounds to me, like ColdFusion is making html pages even though I
placed a CFCONTENT in the first line which is supposed to change the mime
type to WML (which I know is being served correctly)

Am I on the right track? Does anyone have any idea where I would go next to
figure this out? I'm pulling my hair out trying to get a simple CF generated
WML page to work...

______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to