forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject cvs commit: xml-forrest/src/core/context resources.xmap
Date Wed, 28 Jan 2004 21:31:10 GMT
brondsem    2004/01/28 13:31:10

  Modified:    src/core/context resources.xmap
  Log:
  errors about filename.svg.xslt were misleading when a file was missing
  
  Revision  Changes    Path
  1.13      +6 -2      xml-forrest/src/core/context/resources.xmap
  
  Index: resources.xmap
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/core/context/resources.xmap,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- resources.xmap	19 Jan 2004 18:08:19 -0000	1.12
  +++ resources.xmap	28 Jan 2004 21:31:10 -0000	1.13
  @@ -76,10 +76,14 @@
                       <map:parameter name="mime-type" value="text/css" />
                     </map:call>
                  </map:when>
  -               <map:otherwise>
  +               <map:when test="{forrest:home}context/skins/common/{path}/{name}.svg.xslt">
                     <map:call resource="pipe-svg2png-resource">
                       <map:parameter name="path" value="{forrest:home}context/skins/common/{path}/{name}.svg.xslt"
/>
                     </map:call>
  +               </map:when>
  +               <map:otherwise>
  +                   <!-- this should always fail; it is used so the error has the correct
filename and extension -->
  +                  <map:read src=".../{path}/{name}.{ext}" mime-type="{mime-type}" />
                  </map:otherwise>
               </map:select>
         </map:resource>
  
  
  

Mime
View raw message