0 Replies Latest reply on Nov 18, 2006 3:17 PM by RobertF57

    WML and DOCTYPE Error

    RobertF57
      When I try to view a file called index.cfm that contains the Coldfusion code shown below, I get the following error in my IE browser:

      -----------------
      The XML page cannot be displayed
      Cannot have a DOCTYPE declaration outside of a prolog. Error processing resource... (my URL)
      -----------------

      -----------------
      <cfcontent type="text/vnd.wap.wml"><?xml version="1.0"?>
      <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" " http://www.wapforum.org/DTD/wml13.dtd">
      <wml>
      <card title="First WML Example"><p>Hello, world!</p></card>
      </wml>
      -----------------

      I've read that this is what you're supposed to do if you want to render WML in a ColdFusion page. My target is a BlackBerry PDA but I'd like to check it in my browser just as a test. Is this even possible?

      Thanks.