Stefano Mazzocchi wrote:

Sylvain Wallez wrote:

The sitemap namespace contains a version number : "http://apache.org/cocoon/sitemap/1.0";, so what about upgrading to "1.1" ? It would be fairly easy for the TreeProcessor to autoconfigure itself depending on the root element namespace and so handle gracefully both versions, even inside a single Cocoon instance (i.e. sitemaps and subsitemaps in different versions).

while the sitemap namespace was introduced exactly for this, I think that we should try to remove possible duplication of effort (and code).

There will be absolutely no duplication of effort, as this will only be a matter of adding a few lines in cocoon.xconf or treeprocessor-builtins.xml to map different names on a single class.

So, I would agree to name the Cocoon 2.1 sitemap namespace as

http://apache.org/cocoon/sitemap/1.1

since it is different from the old one (and this definately helps sitemap editors!) but I would try to make an effort to have the same code interpret the two of them.

This also mean that Sitemap 1.1 *extends* Sitemap 1.0, that is:

- all tags included in sitemap 1.0 keep the same meaning in 1.1
- only new elements and attributes are added to the sitemap 1.1

Also, as I wrote previously, I think we are perfectly consistent with the *design ideas* that stay underneath the sitemap and we don't need to change anything that is currently included in 1.0 (we spent so much time figuring out those tag names!!!)


--
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to