i've got this match in my sitemap:
<map:match pattern="*">
<map:aggregate element="root">
<map:part src="plain/meta"/>
<map:part src="plain/{1}"/>
</map:aggregate>
<map:act type="resource-exists">
<map:parameter name="url" value="context://style/{1}.xsl"/>
<map:transform src="style/{../1}.xsl"/>
</map:act>
<map:select>
<map:when test="wap">
<map:transform src="style/wziml-wml.xsl"/>
<mal:serialize type="wap"/>
</map:when>
<map:otherwise>
<map:transform src="style/wziml-html.xsl"/>
<map:serialize type="html"/>
</map:otherwise>
</map:select>
</map:match>
it used to work fine, although i had to use context:/// instead of
context://. i just updated the site to use the latest c2 from cvs and now
i get this exception:
org.apache.cocoon.sitemap.PatternException: error occurred during
evaluation of expression "context://style/{1}.xsl" at position 17
null
at
org.apache.cocoon.sitemap.AbstractSitemap.substitute(AbstractSitemap.java:301)
at
org.apache.cocoon.www.sitemap_xmap.wildcardMatchN13(sitemap_xmap.java:873)
at
org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:730)
at
org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:686)
what's up with that?
on another note, i got this exception a little later:
DEBUG 59366 [cocoon ] (HttpProcessor[8080][4]): Exception in recycle:
java.lang.ClassNotFoundException: org.apache.xalan.stree.SourceTreeHandler
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at
org.apache.cocoon.transformation.TraxTransformer.recycle(TraxTransformer.java:575)
- donald
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]