cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oro smith <>
Subject Re: Cocoon and WAP problems
Date Fri, 18 Jun 2004 07:39:29 GMT
I get the error "invalid wml code" when i tested it in the wap emulator available at
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.

The sitemap corresponding to the error page is :

<map:when test="cat-message-by-uid">
<map:transform src="stylesheets/mail-message2document.xsl"/>

The mail-message2document.xsl starts like this:

<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
  exclude-result-prefixes="xsl page"

I tried to omit the xml declaration,but it doesnt work.

plz help.


> 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:
> For additional commands, e-mail:

Still single? Click here to find the perfect match.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message