cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yves Vindevogel" <yves.vindevo...@implements.be>
Subject Error compiling the sitemap
Date Wed, 12 Nov 2003 15:43:16 GMT

I get a very strange error, and I don't see the problem:

org.apache.cocoon.ProcessingException: Language Exception:
org.apache.cocoon.components.language.LanguageException: Error compiling
sitemap_xmap: Line 0, column 0: could not parse error message: Note:
sun.tools.javac.Main has been deprecated.
/var/tomcat/work/Standalone/localhost/cocoon/cocoon-files/org/apache/cocoon/
www/floris/sitemap_xmap.java:73: ';' expected. private Object
matcher_""_N40000C_expr; ^ Line 224, column 8: Invalid expression statement.
Line 224, column 17: ';' expected. Line 329, column 12: ')' expected. Line
367, column 17: Identifier expected. Line 0, column 0: 5 errors, 1 warning


This is the sitemap in question, very simple one.

<?xml version="1.0"?>

<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">

 <map:pipelines>

  <map:pipeline>
   <map:match pattern="*.html">
   	<map:read src="content/{1}.html"/>
   </map:match>
  </map:pipeline>

 </map:pipelines>

</map:sitemap>

<!-- end of file -->

This is the main sitemap ... well, part for the mount of the submap
Rest is plain, original sitemap


<map:pipelines>


 	<map:pipeline>
   		<map:match pattern="floris">
     			<map:redirect-to uri="floris/index.html"/>
   		</map:match>

   		<map:match pattern="floris/**">
     			<map:mount uri-prefix="floris" src="floris/sitemap.xmap"
check-reload="yes"/>
   		</map:match>
	</map:pipeline>




We are running Cocoon 2.0  On Tomcat  4.1  with java 1.4.1_05 from Sun  on
Slackware 9.0



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message