I have atached what I beleive to be a extremly simple sitemap.xmap. But when I try to use it I get an error.
description org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling sitemap_xmap: Line 324, column 54: '}' expected Line 63, column 11: class org.apache.cocoon.www.sitemap_xmap should be declared abstract; it does not define method process(org.apache.cocoon.environment.Environment, org.apache.cocoon.components.pipeline.StreamPipeline, org.apache.cocoon.components.pipeline.EventPipeline) in class org.apache.cocoon.sitemap.AbstractSitemap Line 0, column 0: 2 errors Anyone have any ideas? If you want to see the error check out http://216.87.136.82:8080/cocoon2/20030130.html
<?xml version="1.0"?> <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0"> <map:components> <map:transformers default="xslt"> <map:transformer name="xslt" label="content" src="org.apache.cocoon.transformation.TraxTransformer"> <use-request-parameters>false</use-request-parameters> <use-browser-capabilities-db>false</use-browser-capabilities-db> </map:transformer> </map:transformers> <map:generators default="file"> <map:generator name="file" label="content" src="org.apache.cocoon.generation.FileGenerator"/> <map:generator label="content,data" name="stream" src="org.apache.cocoon.generation.StreamGenerator"/> </map:generators> <map:serializers> <map:serializer name="html" mime-type="text/html" label="content" src="org.apache.cocoon.serialization.HTMLSerializer"> <doctype-public>-//W3C//DTD HTML 4.0 Transitional//EN</doctype-public> <doctype-system>http://www.w3.org/TR/REC-html40/loose.dtd</doctype-system> <omit-xml-declaration>true</omit-xml-declaration> <encoding>UTF-8</encoding> <indent>1</indent> </map:serializer> </map:serializers> </map:components> <map:matchers default="wildcard"> <map:matcher name="wildcard" src="org.apache.cocoon.matching.WildcardURIMatcher"> </map:matcher> </map:matchers> <map:pipelines> <map:pipeline> <map:match pattern="*"> <map:generate type="file" src="20030130.xml"/> <map:transform type="xslt" src="daily2html.xsl"/> <map:serialize type="html"/> </map:match> </map:pipeline> </map:pipelines> </map:sitemap>
--------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>