cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Ng <>
Subject Re: How to add new media types for other browsers
Date Thu, 13 Jul 2000 23:50:08 GMT
The web clipper is restricted to 1kb download.  It is possible that 
the page you are attempting to render exceeds that.  If the output 
HTML contains nested tags and the end tags fall beyond where the page 
is truncated, you can end up with a blank page.

Try including the following meta-tag in the PalmVII style sheet.  It 
goes in the HTML head.

<meta name="PalmComputingPlatform" content="true">.

This overrides the limits and may alleviate the problem.  Keep in 
mind the reason for the limits.  The lower cost pricing plans are 
based on the number of kbytes a person transfers per month.

Steven Ng

At 9:37 AM -0700 7/13/00, wrote:
>Hi, we need your help.
>We are testing cocoon XSLT with several different browsers such as 
>wap, palm III
>and palm VII. We are using
>different media types to link to the different stylsheets. For WAP 
>and IE5, the
>system picks the right stylsheet,
>and everything works. However, we keep getting error message
>"org.apache.cocoon.processor.ProcessorException:Could not associated 
>to document: no matching stylesheet for explorer at .." on palm III 
>and a blank
>screen for palm VII.
>We have done the followings. Please call 415-904-6682 if you need details.
>1. Added the statement "browser.13 = palmIII=MOZILLA/1."  and  "browser.14 =
>to the file in a right order.
>(we have changed the search token to Mozilla/1, Mozilla, or 1, and put the
>statement as the first on the list)
>browser.0 = explorer=MSIE
>browser.1 = pocketexplorer=MSPIE
>browser.2 = handweb=HandHTTP
>browser.3 = avantgo=AvantGo
>browser.4 = imode=DoCoMo
>browser.5 = opera=Opera
>browser.6 = lynx=Lynx
>browser.7 = java=Java
>browser.8 = wap=Nokia
>browser.9 = wap=UP
>browser.10 = wap=Wapalizer
>browser.11 = mozilla5=Mozilla/5
>browser.12 = mozilla5=Netscape6/
>browser.13 = palmIII=MOZILLA/1.
>browser.14 = palmIII=MOZILLA/2.0
>browser.15 = netscape=Mozilla
>2. Added stylesheet statement to the testing .xml file:
><?xml version="1.0"?>
><?xml-stylesheet href="../xsl/palmVII.xsl" type="text/xsl" media="palmVII"?>
><?xml-stylesheet href="../xsl/palmIII.xsl" type="text/xsl" media="palmIII"?>
><?xml-stylesheet href="../xsl/wap.xsl" type="text/xsl" media="wap"?>
><?cocoon-process type="xslt"?>
>      <title>DM Work Management Logon</title>
>  3. Created stylesheet files as indicated above on href attribute.
>Gina Hua

Steven Ng
PGP Public Key -
"None of the modern machines, none of the modern paraphernalia... have any
power except over the people who choose to use them. -- GK Chesterton, 1906.

View raw message