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]>

Reply via email to