Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 43859 invoked by uid 500); 31 Oct 2002 18:13:07 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 43677 invoked from network); 31 Oct 2002 18:12:59 -0000 To: cocoon-dev@xml.apache.org Subject: Re: [PROPOSAL] build-time XML validation via RELAX NG References: <1035953501.1245.2838.camel@ighp> <1036031450.1246.9614.camel@ighp> From: Colin Paul Adams Date: 31 Oct 2002 11:01:01 +0000 In-Reply-To: <1036031450.1246.9614.camel@ighp> Message-ID: Lines: 17 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N >>>>> "David" == David Crossley writes: David> I notice that the RNG grammar is catering for the David> deliberately broken lint/sitemap.xmap Actually, it's not deliberately broken - the invalid bits are commented out. What I've been doing is then to uncomment them one-by-one to test the power of the grammar to reject invalid constructs. Those that it fails to reject, I have added as comments to the grammar file, to provoke thoughts on what to tackle next. However, I finding it quite hard to see how to tackle these cases. I can't work out what the rules ought to be. They are certainly more complex than the comments against these invalid cases suggest. -- Colin Paul Adams Preston Lancashire --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org