forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r106031 - in forrest/trunk/plugins/org.apache.forrest.plugin.logs: . WEB-INF
Date Sat, 20 Nov 2004 22:28:54 GMT
Author: rgardler
Date: Sat Nov 20 14:28:53 2004
New Revision: 106031

Added:
   forrest/trunk/plugins/org.apache.forrest.plugin.logs/WEB-INF/
   forrest/trunk/plugins/org.apache.forrest.plugin.logs/WEB-INF/jtidy-xml.properties   (contents,
props changed)
Modified:
   forrest/trunk/plugins/org.apache.forrest.plugin.logs/input.xmap
Log:
use JTidy to read log file since it may not be well formed if it is still being written to

Added: forrest/trunk/plugins/org.apache.forrest.plugin.logs/WEB-INF/jtidy-xml.properties
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.logs/WEB-INF/jtidy-xml.properties	Sat
Nov 20 14:28:53 2004
@@ -0,0 +1,29 @@
+# Copyright 2002-2004 The Apache Software Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+indent=yes
+indent-spaces=4
+wrap=72
+markup=no
+output-xml=yes
+input-xml=yes
+show-warnings=no
+numeric-entities=yes
+quote-marks=yes
+quote-nbsp=yes
+quote-ampersand=yes
+break-before-br=yes
+uppercase-tags=no
+uppercase-attributes=no
+char-encoding=latin1

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.logs/input.xmap
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.logs/input.xmap	(original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.logs/input.xmap	Sat Nov 20 14:28:53 2004
@@ -17,6 +17,13 @@
 <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
 
   <map:components>
+    <map:generators default="tidied-xml">
+      <map:generator name="tidied-xml"      
+                   src="org.apache.cocoon.generation.HTMLGenerator">
+        <jtidy-config>WEB-INF/jtidy-xml.properties</jtidy-config>
+      </map:generator>
+    </map:generators>
+    
     <map:actions>
       <map:action logger="sitemap.action.sourcetype" name="sourcetype" src="org.apache.cocoon.acting.sourcetype.SourceTypeAction">
         <sourcetype name="J2SE">

Mime
View raw message