Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 82270 invoked by uid 500); 21 Mar 2001 01:26:55 -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 82223 invoked from network); 21 Mar 2001 01:26:49 -0000 Date: Tue, 20 Mar 2001 19:56:42 -0500 From: Matthew Cordes To: cocoon-users@xml.apache.org Subject: Re: Schema-validated XSP? (was: Re: C1 useless?) Message-ID: <20010320195642.A438@dt0b3n8e.maine.rr.com> References: <008a01c0b151$963fba00$0200000a@peter> <20010321114906.B31578@socialchange.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i In-Reply-To: <20010321114906.B31578@socialchange.net.au>; from jeff@socialchange.net.au on Wed, Mar 21, 2001 at 11:49:09AM +1100 Sender: Matthew Cordes X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Hi all, Is this already implemented? If I simply designate a validating parser in cocoon.properties wouldn't/couldn't it do something like this? Either way, I completely agree with your idea. It would make debugging a bit easier. I'd just want to be able to turn it off after development is done, i'm sure the performance hit is quite big. -matt On Wed, Mar 21, 2001 at 11:49:09AM +1100, Jeff Turner wrote: > On Wed, Mar 21, 2001 at 10:32:39AM +1100, peter@clickdocs.com.au wrote: > > G'day > > > > I'm using for building URLs, which can be tricky with multiple > > parameters. > > Ahh.. the number of times I've inadvertently mixed up and > like this... ;) > > > Raises the question: why not take advantage of the XSP's XML syntax and do > schema validation at each point in an XSP's transition to Java code? Eg, after > each taglib is applied, validation could be done against that taglib's schema. > > This could be a *huge* advantage over non-XML languages like JSP. A schema > could prevent (at compile-time) all sorts of problems, enforcing the syntax > *and* semantics of used taglibs. > > --Jeff > > > [snip] > > > > > > Regards, > > > > > > Peter > > > > > --------------------------------------------------------------------- > 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: