David Crossley wrote: > Colin Paul Adams wrote: <snip/> > > 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: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]