>>>>> "Martin" == Martin Holz <[EMAIL PROTECTED]> writes:

    Vadim> Why do you need "custom SourceResolver"??? Just use the
    Vadim> regular one. See any of other source implementations as an
    Vadim> example.
    >>  I've been looking at XMLDBSource and XMLDBSourceFactory.
    >> 
    >> I guess there must be some way that cocoon knows to associate
    >> the xmldb scheme with these, but I can't figure out what it is.
    >> Nor what a SourceFactory is for.

    Martin> Yes, look into cocoon.xconf. There is a section
    Martin> "source-factories", which associates protocols with
    Martin> SourceFactories. Whenever a source of certain type is
    Martin> required, the coresponding's SourceFactory method
    Martin> getSource() is called by the SourceResolver.

Thanks. it all makes sense now.
-- 
Colin Paul Adams
Preston Lancashire

Reply via email to