From dev-return-25959-apmail-forrest-dev-archive=forrest.apache.org@forrest.apache.org Tue Oct 31 01:33:15 2006 Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 89117 invoked from network); 31 Oct 2006 01:33:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Oct 2006 01:33:13 -0000 Received: (qmail 91022 invoked by uid 500); 31 Oct 2006 01:33:24 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 90977 invoked by uid 500); 31 Oct 2006 01:33:23 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@forrest.apache.org List-Id: Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 90966 invoked by uid 99); 31 Oct 2006 01:33:23 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Oct 2006 17:33:23 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [65.77.211.84] (HELO www2.kc.aoindustries.com) (65.77.211.84) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Oct 2006 17:33:11 -0800 Received: from www2.kc.aoindustries.com (www2.kc.aoindustries.com [65.77.211.84]) by www2.kc.aoindustries.com (8.13.4/8.13.4) with ESMTP id k9V1WoJf007332 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 30 Oct 2006 19:32:50 -0600 Received: from localhost (localhost [[UNIX: localhost]]) by www2.kc.aoindustries.com (8.13.4/8.13.4/Submit) id k9V1Wnv9007241 for dev@forrest.apache.org; Mon, 30 Oct 2006 19:32:49 -0600 X-Authentication-Warning: www2.kc.aoindustries.com: indexgeo set sender to crossley@apache.org using -f Date: Tue, 31 Oct 2006 12:32:39 +1100 From: David Crossley To: dev@forrest.apache.org Subject: Re: HTML source files broken Message-ID: <20061031013239.GG20543@igg.indexgeo.com.au> References: <47D67264-BC61-4B9E-8C0F-DF9E84F88B54@mac.com> <20060926234622.GA29167@igg.indexgeo.com.au> <200610301535.47984.boerre@skolelinux.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200610301535.47984.boerre@skolelinux.no> User-Agent: Mutt/1.4.2.1i X-Virus-Checked: Checked by ClamAV on apache.org B??rre Gaup wrote: > David Crossley ????lii: > > Sjur Moshagen wrote: > > > HTML files are broken as source files, due to a bug in the creation > > > of the navigation system (menus, tabs, etc). Here's one case from our > > > site: > > > > > > Internal Server Error > > > > > > Message: null > > > > > > Description: No details available. > > > > > > Sender: org.apache.cocoon.servlet.CocoonServlet > > > > > > Source: Cocoon Servlet > > > > > > Request URI > > > > > > upload/upload-corpus-file.html > > > cause > > > > > > dispatcherError: 500 - Internal server error > > > The contract "siteinfo-meta-navigation" has thrown thrown an > > > exception by resolving raw data from "cocoon://upload/upload-corpus- > > > file.navigation.xml". > > > > > > dispatcherErrorStack: > > > org.apache.excalibur.source.SourceNotFoundException: Exception > > > during processing of cocoon://upload/upload-corpus-file.navigation.xml > > > request-uri > > > > > > /upload/upload-corpus-file.html > > > Apache Cocoon 2.2.0-dev > > > > > > > > > > > > When opening up http://localhost:8888/upload/upload-corpus- > > > file.navigation.xml it isn't found. When trying the next steps in the > > > sitemap chain, it goes like this: > > > > > > http://localhost:8888/upload/upload-corpus-file.menu.xml - not found > > > http://localhost:8888/upload/upload-corpus-file.book.xml - not found > > > http://localhost:8888/upload/menulinks-upload-corpus-file - ok > > > > > > Hm, I said in the other mail that it isn't Dispatcher related > > > (because it is broken somewhere between *.book.xml and **menulinks-*, > > > which are not Dispatcher-specific), but all the above matches are > > > found in the dispatcher/dataModel.xmap. > > > > It must be either Dispatcher-related or it is a problem > > with your site's menus, because our automatic builds > > of the seed site are fine with skins: > > > > http://forrest.zones.apache.org/ > > http://forrest.zones.apache.org/ft/build/forrest-seed/samples/embedded_html > >.html > > The reason for this error was the we had hyphens (-) in the filename. When we > replaced the hyphens with underscores, everything worked like a charm again. That is strange. I have a site that uses Dispatcher (pelt) and an html source which has hyphens in the filename. I get no errors. -David