Unless I'm mistaken, you should either use cfcontent or set the doctype --
not both.
--Ben Doom
Programmer & General Lackey
Moonbow Software
: -----Original Message-----
: From: Paolo Cesana [mailto:[EMAIL PROTECTED]]
: Sent: Monday, December 16, 2002 4:41 PM
: To: CF-Talk
: Subject: OT? WAP & WML using CF
:
:
: Hi there,
: I've set up the top of the page as
:
: <CFCONTENT TYPE="text/vnd.wap.wml">
:
: <?xml version="1.0"?>
: <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.2//EN"
: "http://www.wapforum.org/dtd/wml_1.2.xml" >
:
: as suggested in chpt 27 of the cf 5.0 pro book from WROX.
: (I also tried the phone.com and the latest 2.0 from WAPFORUM and
: they all give me the same error).
:
: I keep getting on my browser:
:
: The XML page cannot be displayed
: Cannot view XML input using XSL style sheet. Please correct the error
: and then click the Refresh button, or try again later.
:
: Cannot have a DOCTYPE declaration outside of a prolog.
: Error processing resource
: 'http://server/wap/chamsy/bl.html'. Line 4, Position 11
: <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.2//EN"
: "http://www.wapforum.org/dtd/wml_1.2.xml" >
: ----------^
:
: What am I doing wrong?
: Which DOCTYPE is the majority of WAP developers using?
:
: Tks/Rgds
:
:
:
: Paolo Cesana
: IT Development Mgr.
: "Electricity is not the result of a series of upgrades to the candle"
: Auth. unknown
:
:
: Miami International Forwarders (MIF)
:
: Phone: (305)594-0038 Ext. 7326
: Fax: (305)593-0431
: <mailto:[EMAIL PROTECTED]>
: <http://www.mif.com/>
:
:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.