Help with sitemap.xmap on 2.1 Dev - Driving me Crazy
I have compiled the cvs 2.1 dev version several times as one had suggested, some of the samples work some not. Specifically I wanted to run the Sample Forms - Form Validation, however the sitemap seems to be not right, it is not pointing to correct directory for the resource. 1. The main sitemap.xmap has the map:match pattern=*/** map:mount check-reload=yes src={1}/ uri-prefix={1}/ /map:match for a url of http://localhost:8080/cocoon/samples/formvalidation/test it should go to a sub mount of cocoon/samples and then use the cocoon/samples/sitemap.xmap right? please clarify if i am wrong. 2. the cocoon/samples/sitemap.xmap has: map:match pattern=formvalidation/test map:act type=form-validator map:parameter name=descriptor value=docs/samples/formvalidation/desc riptor.xml/ map:parameter name=validate-set value=car-reservation/ map:call resource=dynamic-page map:parameter name=target value=docs/samples/formvalidation/OK/ /map:call /map:act map:call resource=dynamic-page map:parameter name=target value=docs/samples/formvalidation/ERROR/ /map:call /map:match here, it looks for docs/samples/formvalidation/descriptor.xml under cocoon/ or under cocoon/samples ? fyi, I do have cocoon/samples/docs/samples/formvalidation/descriptor.xml BUT BUT the error I get when browing the url http://localhost:8080/cocoon/samples/formvalidation/test is below and why is it looking for cocoon/samples/formvalidation/sitemap.xmap ? org.apache.cocoon.ProcessingException: Failed to load sitemap from file:/u01/t41xbeta/t419/webapps/cocoon/samples/formvalidation/sitemap.xmap: org.apache.cocoon.ResourceNotFoundException: Resource not found.: org.apache.excalibur.source.SourceNotFoundException: Resource not found file:/u01/t41xbeta/t419/webapps/cocoon/samples/formvalidation/sitemap.xmap Having this additional level of cocoon/samples compared to 2.0.3 of just cocoon/ is throwing the sitemap off and cant find the resource. PLEASE HELP. Let me know how to correct the cocoon/samples/sitemap.xmap. Thank you. __ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos More http://faith.yahoo.com - 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]
Re: Help with sitemap.xmap on 2.1 Dev - Driving me Crazy
On Friday, Oct 18, 2002, at 18:19 Europe/London, aps olute wrote: I have compiled the cvs 2.1 dev version several times as one had suggested, some of the samples work some not. Specifically I wanted to run the Sample Forms - Form Validation, however the sitemap seems to be not right, it is not pointing to correct directory for the resource. I doubt this helps, but I get the same error. I am scratching my head over the Slide Samples, so I commiserate ! regards Jeremy - 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]