Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 94387 invoked from network); 2 Feb 2000 00:21:03 -0000 Received: from phoenix.webslingerz.com (balld@206.66.49.24) by 63.211.145.10 with SMTP; 2 Feb 2000 00:21:03 -0000 Received: from localhost (balld@localhost) by phoenix.webslingerZ.com (8.8.7/8.8.7) with ESMTP id TAA09573 for ; Tue, 1 Feb 2000 19:16:58 -0500 Date: Tue, 1 Feb 2000 19:16:58 -0500 (EST) From: Donald Ball To: cocoon-dev@xml.apache.org Subject: Changing XSP taglib namespace configuration behavior In-Reply-To: <38976788.7367638C@apache.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 2 Feb 2000, Stefano Mazzocchi wrote: > Donald Ball wrote: > > > > On Mon, 31 Jan 2000, Stefano Mazzocchi wrote: > > > > > Meanwhile, I'll reply to the XSP questions, but when they deal with > > > implementation details, I just don't know more than you do. > > > > > > Anyway, if you find something you don't like, you know the golden rule: > > > fix it yourself! :) > > > > Me, I'm _trying_ to, but no one has voted on my proposal, so I'm just > > cooling my heels right now. > > I vote +1 to your previous proposal. > > Also, could you please try to come up with a solution that doesn't > require us to set a specific URL handler but that doesn't require you to > change the configurations out of the box? hmm. i'm not 100% sure i understand the desired constraints here. I think what you're saying is that you want me to come up with a solution that lets you map namespace URIs to .xsp files without using the resource:// URL? No wait, that doesn't make sense. What exactly do is the problem we're trying to solve? Anyway, what I'm thinking is that we should change the cocoon.properties file so that instead of hardcoding prefixes like so: processor.xsp.library.request.java = resource://org/apache/cocoon/processor/xsp/library/java/request.xsl we hardcode the URIs instead: processor.xsp.library.java = http://www.apache.org/1999/XSP/Request|resource://org/apache/cocoon/processor/xsp/library/java/request.xsl more descriptively: processor.xsp.library.java = namespaceURI|xspURI hmm. that syntax is atrocious. maybe it's time that we XMLized the cocoon.properties file: Hmm. that's much nicer. The rest of the the configuration file can be rewritten as XML similarly. Anyone have any significant objections and/or suggestions for rewriting cocoon's properties file in XML? Alternately, does anyone have any alternate syntax suggestions for associating namespace URIs with library URIs keeping the old properties file style syntax? - donald