Gianugo Rabellino wrote:
> 
> Ciao,
> 
> in these days I wanted to test Eclipse (BTW, looks really great! too bad
> it does a bad job with indenting...) and I found the time to come up
> with an XPath-enabled DirectoryGenerator wich uses the X-pointerish
> syntax already implemented in the XMLDB stuff.

Way cool, I badly needed this for Forrest :)

> I find it really useful for my needs: the capability of having XPath
> queries in directory listings allows to get basic metadata from the XML
> documents that can be used for a number of things: as an example this
> might allow us to forget about book.xml for the Cocoon docs since the
> needed metadata would be pulled out from the files themselves.
> 
> Now, before committing it, I have some questions:
> 
> 1. XPathProcessor has been migrated to Avalon (release, not scratchpad)
> and AFAIK the Avalon version is the only one that will be maintained in
> the future, so I have used
> org.apache.avalon.excalibur.xml.xpath.XPathProcessor in my code;
> cocoon.roles, however, still points to the Cocoon implementation so, if
> committed, my code would not work unless we change cocoon.roles too. I
> think that this shouldn't bring any problem.
> 
> The same goes for the parser abstraction (though I've used the Cocoon
> one since this component is still in Avalon's scratchpad): Carsten's
> last email was definitely appropriate :) What's the best thing to do? Of
> course I can change my code and switch to Cocoon's XPathProcessor, but I
> don't like this solution that much.

I'm really agnostic to this. I fully trust Carsten's judgement.

> 2. Scratchpad or not? I'd go for the first, see if it works and behaves
> and then move it to the stable tree with some docs.

Yeah, scratchpad first, then main trunk with lots of examples and docs
:)

Should we start shipping XIndice with Cocoon? (I know Cocoon is already
big enough, but by making it easier to people to assemble things is the
way to go... at least until we have an apt-get-like thing for java.
still would like avalon to provide that... but it will take some time to
get people to agree on it :(

> 3. It might be the case to add this feature not as another generator but
> as an option to DirectoryGenerator itself (and, why not to FileGenerator
> as well). Maybe it's only me finding this stuff really useful, but I
> have the feeling that it might save lots of butts in real life. With
> this I can have a poor man's CMS with WEBDAV support built in minutes :)

I'm sure users will drive the evolution of it.

And count me as a user in this case :)

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<[EMAIL PROTECTED]>                             Friedrich Nietzsche
--------------------------------------------------------------------



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

Reply via email to