On Saturday, June 1, 2002, at 11:40 AM, Vadim Gritsenko wrote:

>> I'm pretty confused by the difference in the cocoon.xconf files that
>> come with the Cocoon instalation and the file in the documentation and
>> your example in this email.
>
> What documentation?

The cocoon.xconf example on this page:
http://xml.apache.org/cocoon/developing/httprequest.html

>> This snippet seems match the cocoon.xconf in the online documentation,
>> but not the cocoon.xconf file that's packaged with the 2.0.2 installer.
>
> What do you mean?

The cocoon.xconf in ${cocoon}/WEB-INF/ is quite a bit different than in 
the documentation just referenced. It uses tags like:
   <xml-parser class="org.apache.avalon.excalibur.xml.JaxpParser" 
logger="core.xml-parser">
instead of:
   <component role="org.apache.cocoon.components.parser.Parser"
              class="org.apache.cocoon.components.parser.JaxpParser"/>
which is in the documentation.

You shed light on this below... I guess it's just my ignorance of Avalon 
configurations, and I've already started reading the Avalon docs and 
source and Cocoon.java, however the differences between the docs and 
distribution confused me a bit.

Thanks a lot for your help.

Justin

> You will have to study Avalon to get deeper knowledge of syntax of xconf
> file.
>
> In short, you can use either <component-instance> tag or <myothertag>,
> but latter must be defined then in the cocoon.roles file (inside
> cocoon.jar).
>
> Vadim


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

Reply via email to