Dear Mr.joerg,

As you had suggested, i saved the wml file to disk and tested it in the TTemulator.

however, unexpectedly, the page was displayed without error !!
The same page ie
"mail/mail/mail.wml?cmd=cat-message-by-id&id=3"
which gave "invalid wml code" previously works fine now ie. after being saved as 
test.wml.


 
1. login page is displayed for mail/login.wml.
 
> Is this page static? Has it an XML declaration >in it?

------> This page is static has an xml declaration as follows.
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" 
"http://www.wapforum.org/DTD/wml_1.1.xml";>

 2. After logging in the inbox is displayed.
> >     url :mail/mail/mail.wml
> 
> Is this page static? Has it an XML declaration in it?

-------> This is dynamic and starts with:

<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" 
"http://www.wapforum.org/DTD/wml_1.1.xml";

The above two pages are displayed without error.

The problem is in the next page which is also dynamic and starts like this.

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

It is this page which gives "invalid wml code" only when it is accessed through cocoon 
sitemap.
Otherwise it is ok.

Can this have something to do with the query string?
mail/mail/mail.wml?cmd=cat-message-by-id&id=3


Also i omitted the xml declaration by adding the following line in the serializer for 
wml.

<omit-xml-declaration>yes</omit-xml-declaration>

Cant figure out where the problem is. Should i use a wml validator maybe..

plz help.
smith





-------------------------------------------------
Still single? Click here to find the perfect match.
                                                                                
http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?141

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to