Nothing wrong here. I double-checked my own stuff (I use Openwave SDK 
5.0 and 4.1) and my pages work just fine. The only thing I can think of 
is to change the doctype-public and doctype-system setttings for the wml 
serializer in sitemap.xmap (or define another one with wml 1.3 
references). If you are using something not in the wml 1.1 DTD, you 
might have a problem.

Regards,

Lajos




Ralph Holz wrote:

> Lajos,
> 
>> I've tested with both, without any problems. Can I see your sitemap 
>> entry?
> 
> 
> Sure.
> 
> This is the sitemap for the WML version:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0";>
> 
> <map:components>
>         <map:generators default="file"/>
>         <map:transformers default="xslt"/>
>         <map:readers default="resource"/>
>         <map:serializers default="wml"/>
>         <map:selectors default="browser"/>
>         <map:matchers default="wildcard"/>
> </map:components>
>         <map:pipelines>
>                 <map:pipeline>
>                         <map:match pattern="start.xml">
>                                 <map:generate src="start.xml"/>
>                                 <map:transform src="start-mobile.xsl"/>
>                                 <map:serialize type="wml"/>
>                         </map:match>
> 
>                         <map:match pattern="britain.xml">
>                                 <map:generate src="start.xml"/>
>                                 <map:transform src="categories-mobile.xsl">
>                                         <map:parameter name="category" 
> value="britain"/>
>                                 </map:transform>
>                                 <map:serialize type="wml"/>
>                         </map:match>
>                         <map:match pattern="*.xml">
>                                 <map:generate src="{1}.xml"/>
>                                 <map:transform src="doc-mobile.xsl"/>
>                                 <map:serialize type="wml"/>
>                         </map:match>
>                         <map:match pattern="*.jpg">
>                                 <map:read mime-type="image/jpeg" 
> src="{1}.jpg"/>
>                         </map:match>
>                         <map:match pattern="*.gif">
>                                 <map:read mime-type="image/gif" 
> src="{1}.gif"/>
>                         </map:match>
>                 </map:pipeline>
>         </map:pipelines>
> </map:sitemap>
> 
> And this is the Cocoon sitemap entry:
> ...
>         <map:pipelines>
> 
>                 <map:pipeline>
>                         <map:match pattern="itb/**">
>                                 <map:mount check-reload="yes" 
> src="itb/sitemap-mobile.xmap" uri-prefix="itb" reload-method="synchron"/>
>                         </map:match>
>                 </map:pipeline>
> 
> </map:pipelines>
> 
> 
> Thanks for help,
> Ralph
> 
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 
> 



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

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

Reply via email to