cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niclas Hedhman <nic...@localbar.com>
Subject [C2] Sitemap error?
Date Tue, 04 Jul 2000 10:20:56 GMT
Following section
   <map:match pattern="nested-matchers/*">
    <map:match type="browser" pattern="name('Mozilla ?\?*')">
     <map:mount src="file:///home/www/mozilla-{1}-{2}/{../1}"/>
    </map:match>
   </map:match>

are using a "match" on type "browser", whereas the "browser" is defined
as a "chooser".
Should the above be

   <map:match pattern="nested-matchers/*">
    <map:choose type="browser">
      <when test="isName('Mozilla ?\?*')" >
         <map:mount src="file:///home/www/mozilla-{1}-{2}/{../1}"/>
      </when>
      <otherwise>
         <map:mount src="file:///home/www/generic"/>
      </otherwise>
    </map:choose>
   </map:match>

??

Niclas


Mime
View raw message