Joerg Heinicke wrote:

On 12.02.2004 19:37, [EMAIL PROTECTED] wrote:

joerg 2004/02/12 10:37:25

  Modified:    src/blocks/xmldb/samples sitemap.xmap
  Log:
  fixed sitemap mount sample


Mounting the sitemap is possible now, but not browsing it:
http://127.0.0.1:8888/samples/xmldb/browse/cocoon/sitemap.xmap.

It's strange as it returns ResouceNotFoundException on the file system. Making the file name broken intentionally like "sitemapxmap" results in expected "Document xmldb:xindice-embed:///db/cocoon/sitemapxmap not found".


Well, reason is in the parent sitemap:
<!-- ========================= Utilities ================================ -->


  <map:match pattern="**sitemap.xmap">
    <map:generate src="{0}"/>
    <map:serialize type="xml"/>
  </map:match>

Do you want to change the parent sitemap or rename sitemap.xmap file back to sitemap in the db?


There is also a problem with the following "click flow":
welcome page (http://127.0.0.1:8888/samples/xmldb/welcome) >
"Mount DB" (http://127.0.0.1:8888/samples/xmldb/xmount/welcome) >
"From DB" (http://127.0.0.1:8888/samples/xmldb/xmount/xwelcome) >
"Mount DB" (http://127.0.0.1:8888/samples/xmldb/xmount/xmount/ fails as it is now one level to deep)


Ok, I fixed navigation error.

Vadim




Reply via email to