forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean T. Anderson" <...@bristowhill.com>
Subject Re: [jira] Commented: (FOR-805) The build/site/skin/*.css have extra carriage-return when generated on Windows.
Date Wed, 08 Feb 2006 03:34:02 GMT
Thorsten Scherler wrote:
> El mié, 08-02-2006 a las 09:19 +1100, David Crossley escribió:
> 
>>Would you please explain what you mean.
>>
>>-David
>>
>>Thorsten Scherler (JIRA) wrote:
>>
>>>    [ http://issues.apache.org/jira/browse/FOR-805?page=comments#action_12365471
] 
>>>
>>>Thorsten Scherler commented on FOR-805:
>>>---------------------------------------
>>>
>>><map:serializer logger="sitemap.serializer.text" mime-type="text/plain" name="text"
src="org.apache.cocoon.serialization.TextSerializer">
>>>        <encoding>UTF-8</encoding>
>>>      </map:serializer>
>>>
>>>Maybe that is the reason for the additional \r 
> 
> The above is taken from our main sitemap. Now in the resources.xmap that
> is actually handling the final transformation in css you can find:
> <map:serializer name="text" mime-type="text/plain"
> src="org.apache.cocoon.serialization.TextSerializer"/>
> 
> ¡Without! encoding. What I suggest is to add the encoding as well to the
> resource.xmap to see whether that makes the difference (I have the
> feeling that the whole issue could be based on encoding problems).

I tried adding the encoding to main/webapp/resources.xmap, but the 
'forrest run' basic.css and 'forrest site' basic.css still have the 
additional \r's.

However, perhaps I don't understood what to change and where. Here's 
what I tried:

C:\jta\Apache\forrest_07_branch\main\webapp>svn diff resources.xmap
Index: resources.xmap
===================================================================
--- resources.xmap      (revision 372002)
+++ resources.xmap      (working copy)
@@ -47,7 +47,10 @@
              <!-- <parameter name="gamma" type="float" value="0.48"/> -->
              <parameter name="gamma" type="float" value="0"/>
           </map:serializer>
-         <map:serializer name="text"   mime-type="text/plain" 
src="org.apache.cocoon.serialization.TextSerializer"/>
+         <map:serializer name="text"   mime-type="text/plain" 
src="org.apache.cocoon.serialization.TextSerializer">
+            <encoding>UTF-8</encoding>
+         </map:serializer>
+
        </map:serializers>
        <map:transformers default="xslt">
         <map:transformer name="pattern"

regards,

  -jean

Mime
View raw message