Re: re-design of sitemaps

2007-06-08 Thread Antonio Gallardo
Stephen Winnall escribió: I understand that sentiment, but it would make sitemaps easier for me if I could validate them in my XML editor. And I suspect that we might have more user-friendly tools for Cocoon to make it easier to grok, if the sitemap could be easily marshalled and unmarshalled

Re: re-design of sitemaps

2007-06-08 Thread Stephen Winnall
On 8 Jun 2007, at 12:22, Antonio Gallardo wrote: A lot of people asked to have an schema of the sitemap, unfortunately nobody cared to update it. If you provide it, I am willing commit it. :) If I thought it were possible without changing the current syntax of the sitemap, I might try

Re: re-design of sitemaps

2007-06-07 Thread Carsten Ziegeler
Stephen Winnall wrote: On 6 Jun 2007, at 18:49, Geert Josten wrote: 3) definition of a sitemap schema http://cocoon.apache.org/schema/sitemap/cocoon-sitemap-1.0.xsd rvlet-service framework? Have you tried validating your own sitemaps to this XSD yet? It contains constructs that allow

RE: re-design of sitemaps

2007-06-07 Thread Christian Schlichtherle
Hi, many folks seem confused about XML Schema. If so, they may be confused about DTD or Relax NG as well. All of these are just definitions of a grammar, not semantics. So if a sitemap has been validated with a schema, this means no more than that the sitemap is well-formed XML which complies to

Re: re-design of sitemaps

2007-06-07 Thread Grzegorz Kossakowski
Christian Schlichtherle pisze: Hi, many folks seem confused about XML Schema. If so, they may be confused about DTD or Relax NG as well. All of these are just definitions of a grammar, not semantics. So if a sitemap has been validated with a schema, this means no more than that the sitemap is

Re: re-design of sitemaps

2007-06-07 Thread Peter Flynn
Stephen Winnall wrote: 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.

re-design of sitemaps

2007-06-06 Thread Stephen Winnall
Has anyone given any thought to a re-design of Cocoon's sitemaps in one of the new versions of Cocoon? I can see scope for improvement in the following areas: 1) modularisation 2) re-use of definitions (e.g. action sets, resources) 3) definition of a sitemap schema 4) requirement

Re: re-design of sitemaps

2007-06-06 Thread Reinhard Poetz
Stephen Winnall wrote: Has anyone given any thought to a re-design of Cocoon's sitemaps in one of the new versions of Cocoon? I can see scope for improvement in the following areas: 1) modularisation Cocoon 2.2 uses the servlet-service framework. See http://cocoon.zones.apache.org/daisy

Re: re-design of sitemaps

2007-06-06 Thread J.D. Williams
On Wed, 2007-06-06 at 14:10 +0200, Reinhard Poetz wrote: Stephen Winnall wrote: Has anyone given any thought to a re-design of Cocoon's sitemaps in one of the new versions of Cocoon? I can see scope for improvement in the following areas... Cocoon is tough enough to grok now without

Re: re-design of sitemaps

2007-06-06 Thread Stephen Winnall
Thanks for the reply: On 6 Jun 2007, at 14:10, Reinhard Poetz wrote: Stephen Winnall wrote: Has anyone given any thought to a re-design of Cocoon's sitemaps in one of the new versions of Cocoon? I can see scope for improvement in the following areas: 1) modularisation Cocoon 2.2 uses

Re: re-design of sitemaps

2007-06-06 Thread Stephen Winnall
On 6 Jun 2007, at 17:27, J.D. Williams wrote: On Wed, 2007-06-06 at 14:10 +0200, Reinhard Poetz wrote: Stephen Winnall wrote: Has anyone given any thought to a re-design of Cocoon's sitemaps in one of the new versions of Cocoon? I can see scope for improvement in the following areas

RE: re-design of sitemaps

2007-06-06 Thread Geert Josten
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

Re: re-design of sitemaps

2007-06-06 Thread Reinhard Poetz
Geert Josten wrote: 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

Re: re-design of sitemaps

2007-06-06 Thread Stephen Winnall
On 6 Jun 2007, at 18:49, Geert Josten wrote: 3) definition of a sitemap schema http://cocoon.apache.org/schema/sitemap/cocoon-sitemap-1.0.xsd rvlet-service framework? Have you tried validating your own sitemaps to this XSD yet? It contains constructs that allow entry of unknown