Hi,
for example when my first pipeline manage *.html and my second pipeline manage *.xhtml, all html files will be correctly treat if i try to acces to xhtml file tomcat send me an error : " toto.xhtml" not found. My pipeline is correctly configured because if i put the *.xhtml first then all xhtml files will be correctly treated and if i try to acces html files Tomcat send me an error like "toto.html" not found...
Nicolas, can you post your sitemap (or a snippet if it's large) ?
This works fine for me (first xhtml and then html):
<map:match pattern="*.xhtml"> <map:read src="{1}.xhtml"/> <map:serialize type="xml"/> </map:match>
<map:match pattern="*.html">
<map:read src="{1}.html"/>
<map:serialize type="html"/>
</map:match>
I guess you meant <map:generate> instead of <map:read>.
Remember that <map:read> defines the whole pipeline and as such terminates sitemap execution. So the <map:serialize/> above is totally useless, even if not harmful.
Ask Carsten which AFAIU should not be far from you ;-)
Sylvain
-- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]