You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by mp...@apache.org on 2005/07/14 10:54:17 UTC

svn commit: r219014 - in /cocoon/branches/BRANCH_2_1_X/src: blocks/faces/samples/cardemo/sitemap.xmap blocks/forms/samples/dreamteam/sitemap.xmap blocks/petstore/samples/sitemap.xmap webapp/sitemap.xmap

Author: mpo
Date: Thu Jul 14 01:54:14 2005
New Revision: 219014

URL: http://svn.apache.org/viewcvs?rev=219014&view=rev
Log:
fixing typo in mime-types for some image/gif and image/jpeg
mildly spread over code base probably via copy-paste
see http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=112132730607348&w=2

Modified:
    cocoon/branches/BRANCH_2_1_X/src/blocks/faces/samples/cardemo/sitemap.xmap
    cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/dreamteam/sitemap.xmap
    cocoon/branches/BRANCH_2_1_X/src/blocks/petstore/samples/sitemap.xmap
    cocoon/branches/BRANCH_2_1_X/src/webapp/sitemap.xmap

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/faces/samples/cardemo/sitemap.xmap
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/faces/samples/cardemo/sitemap.xmap?rev=219014&r1=219013&r2=219014&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/faces/samples/cardemo/sitemap.xmap (original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/faces/samples/cardemo/sitemap.xmap Thu Jul 14 01:54:14 2005
@@ -48,11 +48,11 @@
    
       <!-- images -->
       <map:match pattern="images/*.gif">
-        <map:read mime-type="images/gif" src="images/{1}.gif"/>
+        <map:read mime-type="image/gif" src="images/{1}.gif"/>
       </map:match>
    
       <map:match pattern="images/*.jpg">
-        <map:read mime-type="images/jpeg" src="images/{1}.jpg"/>
+        <map:read mime-type="image/jpeg" src="images/{1}.jpg"/>
       </map:match>
    
       <!-- CSS stylesheets -->

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/dreamteam/sitemap.xmap
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/dreamteam/sitemap.xmap?rev=219014&r1=219013&r2=219014&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/dreamteam/sitemap.xmap (original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/dreamteam/sitemap.xmap Thu Jul 14 01:54:14 2005
@@ -126,10 +126,10 @@
       <!-- images                                    -->
       <!-- ========================================= -->
       <map:match pattern="resources/*.gif">
-        <map:read mime-type="images/gif" src="resource://org/apache/cocoon/forms/resources/{1}.gif"/>
+        <map:read mime-type="image/gif" src="resource://org/apache/cocoon/forms/resources/{1}.gif"/>
       </map:match>
       <map:match pattern="flags/*.gif">
-        <map:read mime-type="images/gif" src="resources/flags/{1}.gif"/>
+        <map:read mime-type="image/gif" src="resources/flags/{1}.gif"/>
       </map:match>
       <!-- ========================================= -->
       <!-- CSS stylesheets and JavaScript files      -->

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/petstore/samples/sitemap.xmap
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/petstore/samples/sitemap.xmap?rev=219014&r1=219013&r2=219014&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/petstore/samples/sitemap.xmap (original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/petstore/samples/sitemap.xmap Thu Jul 14 01:54:14 2005
@@ -87,10 +87,10 @@
     </map:pipeline>
     <map:pipeline>
       <map:match pattern="images/*.gif">
-        <map:read mime-type="images/gif" src="images/{1}.gif"/>
+        <map:read mime-type="image/gif" src="images/{1}.gif"/>
       </map:match>
       <map:match pattern="images/*.jpg">
-        <map:read mime-type="images/jpeg" src="images/{1}.jpg"/>
+        <map:read mime-type="image/jpeg" src="images/{1}.jpg"/>
       </map:match>
     </map:pipeline>
   </map:pipelines>

Modified: cocoon/branches/BRANCH_2_1_X/src/webapp/sitemap.xmap
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/webapp/sitemap.xmap?rev=219014&r1=219013&r2=219014&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/webapp/sitemap.xmap (original)
+++ cocoon/branches/BRANCH_2_1_X/src/webapp/sitemap.xmap Thu Jul 14 01:54:14 2005
@@ -584,7 +584,7 @@
 
     <!-- images -->
     <map:match pattern="images/*.gif">
-      <map:read src="resources/images/{1}.gif" mime-type="images/gif"/>
+      <map:read src="resources/images/{1}.gif" mime-type="image/gif"/>
     </map:match>
 
     <!-- CSS stylesheets -->