Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 55404 invoked by uid 500); 24 Oct 2002 10:42:55 -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 55390 invoked from network); 24 Oct 2002 10:42:54 -0000 Subject: Re: DTD v. WXS v. Schematron v. RelaxNG From: David Crossley To: cocoon-dev@xml.apache.org In-Reply-To: <1035442873.2525.412.camel@ighp> References: <1035442873.2525.412.camel@ighp> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 (1.0.3-6) Date: 24 Oct 2002 20:42:47 +1000 Message-Id: <1035456169.2488.454.camel@ighp> Mime-Version: 1.0 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N David Crossley wrote: > Colin Paul Adams wrote: > > Can't we decide which format we want to use? > > I would vote for anything other than DTD (as it is > > impossible to > > validate all possible sitemaps with a DTD - ... > > Yes, as we discussed a few days ago, this decision > is the next step. To help decide which technology, we > also need to consider how and when it will be used. > I presume that we are only talking about build-time > for now (on sitemap change time is a future issue). > > Something that applies a schema via external reference > is probably key. > > I have experimented further with Relax NG today. > The sitemap-v04.dtd converted into RNG okay when using > DTDinst. There is a supplied Ant task for Jing which > i am currently trying to get happening with Cocoon > build.xml (having trouble finding the JingTask class). > http://www.thaiopensource.com/relaxng/ > As Jeff said in another thread, JARV is probably the > framework that is needed. Jing can work with that. This works beautifully. If anyone else wants to try it, then i have added an "enhancement" patch to Bugzilla showing the few steps and providing a patch to build.xml http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13925 wo --David --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org