From: "TREGAN Fabien" <[EMAIL PROTECTED]> > sitemap contains : > > <map:readers default="resource"> > <map:reader name="jsp" logger="sitemap.reader.jsp" > src="org.apache.cocoon.reading.JSPReader"/> > </map:readers> > > but where is the name/src of the default reader ("resource") defined ?
Basic components are defined now in cocoon.xconf. The reader is: <readers> <component-instance name="resource" class="org.apache.cocoon.reading.ResourceReader" logger="sitemap.reader.resource" pool-max="32"/> </readers> There is discussion going on on the dev list about where to put these definitions in the future, but for now in the cocoon example webapp they are in cocoon.xconf for basic ones and sitemap for others. There is no technical reason for this AFAIK, you can define them where you prefer. -- Nicola Ken Barozzi [EMAIL PROTECTED] - verba volant, scripta manent - (discussions get forgotten, just code remains) --------------------------------------------------------------------- --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>