I get the error "invalid wml code" when i tested it in the wap emulator available at
tagtag.com.On the mobile phone i get the error "Unable to fetch response". I get no
error with the opera web browser though.
This is actual flow:
1. login page is displayed for mail/login.wml.
2. After logging in the inbox is displayed.
url :mail/mail/mail.wml
3. I click on some mail for it to be displayed.....and the error: invalid wml page.
this is the url corresponding to the mail display page.
mail/mail/mail.wml?cmd=cat-message-by-id&id=3
The sitemap corresponding to the error page is :
<map:when test="cat-message-by-uid">
<map:transform src="stylesheets/mail-message2document.xsl"/>
</map:when>
The mail-message2document.xsl starts like this:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:page="http://apache.org/cocoon/paginate/1.0"
xmlns:mail="http://apache.org/cocoon/mail/1.0"
exclude-result-prefixes="xsl page"
>
I tried to omit the xml declaration,but it doesnt work.
plz help.
Smith.
Quoting [EMAIL PROTECTED]:
> On 17.06.2004 06:22, Oro smith wrote:
>
> > There seems to be some problem when using cocoon webmail with wap.
> After i login and the inbox is displayed, i try to click on the mail
> link.
> > However i get the message "invalid wml code".
> >
> > Does this have something to do with the cocoon sitemap and wap. If
> anyone has encountered the same problem plz let me know.
>
> You provide only very few information. Where do you see this error? On a
>
> mobile phone? It might be caused by the XML declaration, try to remove
>
> it by the correct serializer setting using
> <omit-xml-declaration>yes</omit-xml-declaration>.
>
> Joerg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
-------------------------------------------------
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]