Costantino,

> I can access your site without problem with my mobile - but unfortunately
> not yet mine (http://titao.homelinux.org:8080/cocoon/hello.wml)...
> I also tried every possible combination with
> http://webcab.de/cgi-bin/fetchpage.cgi, checking the result in the core.log
> file.
> I am really puzzled, I don't understand what can be wrong.
> 
> Can you see something wrong in this log file (from an access test with the
> mobile)?

   Unfortunately at the moment, my mobile phone browser returns 'Service Not 
Available'
   so I can't do it from there with the phone.  My WML browser on my Palm PDA 
works with
   your site works just fine.


> Or can you suggest any other test that I can do?

If you try using netcat (nc) to access the pages you can see the problem:

simulating a proper WML browser (say Nokia):

$ nc www.caphnet.com 80
GET /index.xml HTTP/1.0
User-Agent: Nokia


returns:

HTTP/1.1 200 OK
Date: Tue, 10 Dec 2002 23:34:30 GMT
Server: Apache
Content-Type: text/vnd.wap.wml
X-Cocoon-Version: 2.0.2
Vary: User-Agent
Connection: close

<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" 
"http://www.wapforum.org/DTD/wml_1.1.xml";>
<wml xmlns:xsp="http://www.apache.org/1999/XSP/Core";><card id="CaphNet Main 
Menu" title="CaphNet Main Menu"><a title="Company" href="/company/index.xml">
About CaphNet</a><br/><a title="Browser" href="/browser/index.xml">CaphNet 
Family of Freedom Browser Software Platforms</a><br/><a title="Partnerships" 
href="/partnerships/index.xml">Join Us</a><br/><p/>
                The CaphNet site contents are written entirely in XML.
                
                The entire site can be viewed with any HTML or WML Browser.
                </card></wml>


And for the UP browser:


$ nc www.caphnet.com 80
GET /index.xml HTTP/1.0
User-Agent: UP

returns:

HTTP/1.1 200 OK
Date: Tue, 10 Dec 2002 23:33:54 GMT
Server: Apache
Content-Type: text/html
X-Cocoon-Version: 2.0.2
Vary: User-Agent
Connection: close

<wml xmlns:xsp="http://www.apache.org/1999/XSP/Core";>
<card id="CaphNet Main Menu" title="CaphNet Main Menu">
<a title="Company" href="/company/index.xml">About CaphNet</a>
<br>
<a title="Browser" href="/browser/index.xml">CaphNet Family of Freedom Browser 
Software Platforms</a>
<br>
<a title="Partnerships" href="/partnerships/index.xml">Join Us</a>
<br>
<p></p>
                The CaphNet site contents are written entirely in XML.
                
                The entire site can be viewed with any HTML or WML Browser.
                </card>
</wml>



Note that <!DOCTYPE is missing in the second version (I found out by 
experimenting, that the Content-Type field
does not really matter for the UP browser).  When I go to your WML page, it 
always returns <!DOCTYPE.  If you
arrange your sitemap so that <!DOCTYPE is never sent for the UP user agent, 
then you should be okay.  Are
you sure that the changes that you tried earlier accomplished that ?



Skip





-- 
 Dr. Everett (Skip) Carter      Phone: 831-641-0645 FAX:  831-641-0647
 Taygeta Scientific Inc.        INTERNET: [EMAIL PROTECTED]
 1340 Munras Ave., Suite 314    WWW: http://www.taygeta.com
 Monterey, CA. 93940            












---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to