> 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?

I don't see any obvious error, so you might want to either show some code or
post a URL.

As for what the majority of WML developers are using, I can't imagine there
are that many left!

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
Get the mailserver that powers this list at http://www.coolfusion.com

Reply via email to