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 44038 invoked from network); 1 Jul 2000 10:00:23 -0000 Received: from adamo6.supereva.it (HELO mail.supereva.it) (195.110.96.96) by locus.apache.org with SMTP; 1 Jul 2000 10:00:23 -0000 Received: (qmail 12129 invoked from network); 1 Jul 2000 09:59:55 -0000 Received: from unknown (HELO ARES) (151.35.2.48) by mail.supereva.it with SMTP; 1 Jul 2000 09:59:55 -0000 Message-ID: <00ef01bfe343$360a6c70$30022397@ARES> Reply-To: "Nicola Ken Barozzi" From: "Nicola Ken Barozzi" To: References: <395CD669.DEC70286@apache.org> Subject: Re: [C2] (hopefully) last sitemap major changes Date: Sat, 1 Jul 2000 11:51:16 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N This is the first time I am posting something on this list, so I would like to say hi to everyone. :-) Before I found out about Cocoon I was planning something similar... fortunately I found Cocoon before the code writing! Thanks to all the Cocoon developers! ------------------- initial compliments finished ------------------- ----- Original Message ----- From: "Stefano Mazzocchi" > Ok, I spent the whole afternoon on this and I'm pretty happy with the > results. Please, throw rock at it and let's see how solid this is. We will see how solid it is only after using it! ;-) Anyway you have your asbesto suit! > 2) filter becomes transformer > > One main reason for this: filter and its verbe are the same word in > English... this causes big troubles in sitemap validation, while > "transform" and "transformer" are different words and have different > semantics inside the sitemap. transformer reminds me of small robot toys... > 3) increased redirection capabilities > > > > > a "resource" being a > > > > where the "name" attribute is the ID and "resource" is the IDREF. +1 Imho one should use resources, it is easier when uris change, but this doesn't mean uris are not to be allowed. > 5) added the notion of "error handling" (which includes metaevents > handling) as such > > > > ... > > > > > > I am using Cocoon for two projects and one is an intranet. Here security and error handling are not an option. When I first saw the sitemap proposal I thought it was a good idea (I still think it is), but error handling was not in it. Now it is... but why don't we define a standard DTD for notifications and standard XLST for main browsers? Something like (mixed notation) foo_title foo_description foo_message foo.stacktrace Another thing is security. Now I made my taglib for security but why not specify it in the sitemap? How does it relate to the contracts? This is what I am using now: if (request.isUserInRole("")) { } OFF TOPIC: By the way, I went crazy trying to make security work in Tomcat; in the documentation they say they tested it but it doesn't work! In fact it is bugged, they froze the wrong code, so to make it work you have to change three lines of code and recompile, then all works ok. > 6) added the notion of "views" and pipeline "labels". > > for example > > > > > > > > > > > .... > > > > > > > > where it can be viewed as > > g -(content)-> t -> s [normal view] > +-----> t -> s [schema view] > +----------> s [content view] > > The sitemap allows each "producing" component (generators and > transformers) to attach "default labels" to these components so that > > > > > > > > is totally equivalent to > > > > > > if the "parser" generator (which here is default), has attached as > default label "content"... such as in > > > > > > this should allow us to use sitemaps for simple views (such as content > or schema) without introducing too much sitemap-creation overhead and > reduce readability with a bunch of