Paolo; I have a feeling this DTD is incomplete and the parser is trying to correct itself by reading the XML document in the comments.
Try copying the DTD to a local file and removing the comment info at the top. Also, look at the last line fo the DTD for an unclosed tag. M -----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 Get the mailserver that powers this list at http://www.coolfusion.com

