You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Adriano Smith <or...@sify.com> on 2005/03/07 13:04:14 UTC

wml doctype

is it compulsory to have the doctype and xml version for a wml page?

<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">

if i try to ignore the above declaration in the wml page and validate the wml in a wml validator there is no error. However an error occurs if i include the above lines in the wml code.

So i ignored the doctype and version declaration by commenting the lines on the sitemap and tested the wml page on the pda, the page doesnt load though.

Can anyone please help me and tell me as to y this happens and can i ignore the declaration??

thanks