You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Chris Foo <fo...@hotmail.com> on 2002/05/03 20:34:47 UTC

Re: Sitemap / Subsitemap

hello,
i hope someone can help me with sitemap/subsitemaps. in the sitemap located 
in the default cocoon directory (d:\tomcat\webapps\cocoon\sitemap.xmap) 
contains the sub-sitemap mount

    <map:match pattern="admin/**">
    <map:mount uri-prefix="admin" src="file:///d:/tomcat/webapps/admin/" 
check-reload="yes"/>
  	</map:match>

in the the sub-sitemap directory the sitemap file contains:

     <map:match pattern="*">
     <map:generate type="jsp" src="{1}.jsp"/>
     <map:serialize type="html"/>
     </map:match>

if i browse to <http://localhost:8080/cocoon/admin/welcome> the welcome page 
should be displayed, but i receive a "The root element is required in a 
well-formed document." any suggestions? the welcome.jsp is in the admin 
directory and it's the same welcome.jsp that is included in the sample 
cocoon files..

thanks,

chris





_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>