> From: Gerhard Hipfinger [mailto:[EMAIL PROTECTED]]
> 
> Hi!
> 
> I have the following problem with sitemap processing in the current
> 2.1-dev CVS Snapshot.
> 
> I have the following action set:
> 
> 
> <snip>
>     <map:action-set name="linkkat">
> 
>       <map:act type="formEncoding">
>         <map:parameter name="form-encoding" value="utf-8"/>
>       </map:act>
> 
>       <map:act type="form" action="Create Kategorie">
>         <map:parameter name="validate-set" value="create"/>
>         <map:act type="dbAdd" action="Create Kategorie"/>
>       </map:act>
> </snip>

It looks like a bug (or, it is a feature - there is no sitemap
validation) in the sitemap implementation. This should not be allowed
and sitemap should not get loaded.

Action set can contain only actions and these actions can have only
parameters.


> Even if all parameters are validated without errors, the dbAdd action
is
> never called (not even a entry in the sitemap.log)
> 
> The DB configuration is 100% working, because when I do
> 
> <snip>
>     <map:action-set name="linkkat">
> 
>       <map:act type="formEncoding">
>         <map:parameter name="form-encoding" value="utf-8"/>
>       </map:act>
> 
>       <map:act type="form" action="Create Kategorie">
>         <map:parameter name="validate-set" value="create"/>
>       </map:act>
> 
>         <map:act type="dbAdd" action="Create Kategorie"/>
> 
>     </map:action-set>
> </snip>
> 
> A new record is successfully created. I guess I use the new
> TreeProcessor and not the compiled sitemap. Maybe there is a bug in
this
> implementation. Btw. - how do I use the old compiled sitemap style in
> current cvs snapshot?!? Or has the compiled version been deprecated
and
> is gone?

It is gone from 2.1-dev. Use 2.0.3-dev if you want compiled version.


Vadim


> Thanks in advance,
> Gerhard


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