cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Piroumian Konstantin <KPiroum...@protek.com>
Subject RE: [INFO] Sitemap XML Schema is available
Date Fri, 07 Jun 2002 10:22:24 GMT
> From: Ivelin Ivanov [mailto:ivelin@apache.org] 
> 
> Hm, good point.
> 
> I was speaking from experience.
> A strong validating XML Schema can go a long way in saving 
> the processor
> validating logic headaches.
> I find XML Schema the right choice in this instance since it 
> allows rigorous
> structure check and the sitemap is a static document which is 
> either valid
> or not.

I've used it for manual validation of sitemaps, but as soon as it will be
finalized we can add it to the entity catalogue and use it for validation in
TreeProcessor.

Note, that I changed the namespace for sitemap to:
http://apache.org/cocoon/sitemap/2.0 (1.0 -> 2.0). So, if you want to try it
you should either edit the schema or change the namespace in your sitemap.

I am little bit amazed with the amount of feedback. Finalization of the
Schema require input from many interested parties. (BTW, thanks to Vadim for
his consultations by ICQ).

Konstantin

> 
> 
> Ivelin
> 
> 
> ----- Original Message -----
> From: "David Crossley" <crossley@indexgeo.com.au>
> To: <cocoon-dev@xml.apache.org>
> Sent: Friday, June 07, 2002 12:30 AM
> Subject: Re: [INFO] Sitemap XML Schema is available
> 
> 
> > Ivelin Ivanov wrote:
> > >
> > > Cool.
> > >
> > > Have you tried referencing the Schema from within the 
> sitemap files, so
> that
> > > the transformer (actually the parser it uses) validates 
> them before
> > > processing?
> >
> > That would be good if you can do it. However, beware of
> >  http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6200
> >  Parser failure with validate=true when processing stylesheet
> >
> > You would also need a mapping entry in the OASIS catalog
> > src/webapp/resources/entities/catalog
> >
> > --David
> >
> >
> >
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message