Hello list,
     Does anyone have a graceful way of handling errors that occur in
one <map:part> of a <map:aggregate> element?  For example a portion of
my sitemap.xmap:

<map:match pattern="**.html>
  <map:aggregate element="document">
    <map:part src="cocoon://{1}.xml"/>
    <map:part src="xdocs/menu.xml"/>
  </map:aggregate>
  <!-- transform and serialize -->
</map:match>

problem:
     If an error occurs in the cocoon://{1}.xml part, first a empty
<document/> element is transformed and serialized to a html document,
then the the <map:handle-errors> produced document is serialized to a
second document, concatenated with the first. (see
http://shine.stanford.edu:8080/laneweb/no/link/here.html)

ideal solution:
     I would like the <map:handle-errors> output to occur within the
<document> element so that the resulting page would not contain two
documents.

full sitemap.xmap available at
http://shine.stanford.edu/cgi-bin/viewcvs.cgi/laneweb/src/content/sitemap.xmap

     Thanks for any help,

        Charles



---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to