Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 59506 invoked by uid 500); 13 Dec 2002 14:30:50 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 59493 invoked from network); 13 Dec 2002 14:30:50 -0000 From: "Geoff Howard" To: Subject: RE: problem with the sitemap and patterns Date: Fri, 13 Dec 2002 09:37:33 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Importance: Normal X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.leverageweb.com X-AntiAbuse: Original Domain - xml.apache.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [0 0] X-AntiAbuse: Sender Address Domain - leverageweb.com X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N >From what I understand, you should have seen your expected custom stylesheet. Are you certain it's finding your error.xsl, and are you certain there are no problems with it? Look in sitemap.log - trace the request as it's being processed. Geoff > -----Original Message----- > From: pmirco@inwind.it [mailto:pmirco@inwind.it] > Sent: Friday, December 13, 2002 4:00 AM > To: cocoon-users > Subject: RE: problem with the sitemap and patterns > > > Well, maybe what I supposed to know about pipelines and matchers is > wrong, but ... > > > src="mysite/sitemap.xmap" uri-prefix="mysite"/> > > > and the mounted pipeline is something like: > > > > > > > > > > > > Now, if I call > http://localhost:8080/cocoon/mysite/index.html > or > http://localhost:8080/cocoon/mysite/dir1/dir2/index.html > it works > > but if I try > http://localhost;8080/cocoon/mysite/anything.html > I get the well known white page with the blu header "Cocoon 2 - > Resource not found", > while I expected to find my custom error page. > > Coccon processes a request which begins with "mysite" and, according to > the "2 asterisks rule", the mounted pipeline is executed. > But there isn't a pattern that matches the request, an error occurs. > So why my custom handler isn't processed? > > Where I'm wrong? > > Cocoon 2.0.3 - Tomcat 4.1.12 - j2sdk1.4.0 - Win2k server > > ----------------------------------------------------------------------- > > > Nice guess, but three asterisks is not defined. mysite/** will match > > literally everything after the slash. If you need to seperate out the > file > > extension, you can do mysite/**.* (the values will be stored in {1} an > d {2}) > > but then you have to have a .XXX request. If you will only sometimes > have a > > .XXX match, you need to either split the pipeline into two different o > nes, > > or use a regexp matcher (which may not be defined in the default sitem > ap). > > > > Geoff Howard > > > > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. > > To unsubscribe, e-mail: > For additional commands, e-mail: > > > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: