cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geert Josten" <geert.jos...@daidalos.nl>
Subject RE: re-design of sitemaps
Date Wed, 06 Jun 2007 16:49:29 GMT
> >> 3) definition of a sitemap schema
> >
> > http://cocoon.apache.org/schema/sitemap/cocoon-sitemap-1.0.xsd
> >
> >> 4) requirement that sitemaps validate against that schema 
> (would make 
> >> it easier to write sitemap tools)
> >
> > validation is off by default but can be activated, again only in 
> > Cocoon 2.2
> 
> Correct me if I am wrong, but I thought that it was 
> impossible to write a complete XML schema for the current 
> version of the sitemap. I thought all attempts hitherto were 
> only approximations. One of the major problems is that any 
> extensions a user writes (actions, transformations, etc.) 
> might introduce new elements and attributes into the sitemap 
> which the schema cannot know about a priori. I was looking 
> for a solution where any valid sitemap could be validated 
> against the schema, which seems to me to imply a change in 
> the structure of sitemaps.
> 
> Would it be right to say that the intention of this XML 
> schema is only to support a simple subset of all possible 
> current Cocoon sitemaps? Can one then provide the missing 
> functionality by writing one's own blocks using the 
> servlet-service framework?

Have you tried validating your own sitemaps to this XSD yet? It contains
constructs that allow entry of unknown elements..

Kind regards,
Geert
   
 
Drs. G.P.H. Josten
Consultant
 
 

Daidalos BV
Source of Innovation
Hoekeindsehof 1-4
2665  JZ  Bleiswijk
Tel.: +31 (0) 10 850 1200
Fax: +31 (0) 10 850 1199
www.daidalos.nl
KvK 27164984


De informatie - verzonden in of met dit emailbericht - is afkomstig van Daidalos BV en is
uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onbedoeld hebt ontvangen,
verzoeken wij u het te verwijderen. Aan dit bericht kunnen geen rechten worden ontleend.

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


Mime
View raw message