cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Colin Paul Adams <co...@colina.demon.co.uk>
Subject Re: Accessing Berkeley DB XML documents
Date Thu, 15 Jul 2004 18:30:02 GMT
>>>>> "Martin" == Martin Holz <holz@fiz-chemie.de> 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

Mime
View raw message