Greetings all,
I am trying to solve all the mysteries of the universe ... but I first
wanted to conquer
sub sitemaps!!! and I could use some collective wisdom of this list on
this ....
I got an example of an XSL and XML working in the main sitemap but
decided
to get elegant and moved the pipeline to the sub sitemap in the
sub-directory.
the directory structure is cocoon --> c2 --> vcard
The main sitemap in /cocoon (pipeline only shown below) now looks like
this:
<map:pipeline>
<map:match pattern="vcard/**">
<map:mount uri-prefix="vcard"
check-reload="yes"
reload-method="synchron"
src="c2/vcard/sitemap.xmap"/>
<map:mount uri-prefix="vcard/**"
check-reload="yes"
reload-method="synchron"
src="c2/vcard/sitemap.xmap"/>
</map:match>
</map:pipeline>
Note: I have also tried ... src="c2/vcard/"
without the sitemap.xmap explicityly specified
*************************************
the sub sitemap in vcard is shown below
<map:pipelines>
<map:pipeline>
<map:match pattern="">
<map:generate src="documents/vcard.xml"/>
<map:transform src="stylesheets/vcard_one.xsl"/>
<map:serialize type="html"/>
</map:match>
</map:pipeline>
</map:pipelines>
This worked perfectly when the pipeline was in the main sitemap
*************************************
Now in the browser I am getting the following fatal error
--------------------------------------------------------------------------------
type fatal
message Language Exception
description org.apache.cocoon.ProcessingException: Language Exception:
org.apache.cocoon.components.language.LanguageException: Could not load
class for program 'org\apache\cocoon\www\sitemap_xmap' due to a
java.lang.ClassNotFoundException: org.apache.cocoon.www.sitemap_xmap
sender org.apache.cocoon.servlet.CocoonServlet
source Cocoon servlet
request-uri
/cocoon/vcard
path-info
vcard
********************
In the Tomcat shell window I am getting the following exception
java.lang.RuntimeException: Stylesheet directed termination at
org.apache.xalan.transformer.TransformerImpl.run
(TranformerImpl.java:3174) at java.lang.Thread.run(Unknown source)
**********************
I have looked at the FAQ and have tried the suggestions from the
userdocs.
I had seen an archived message that suggested to some other person
with the same problem that the problem should be at line 3174 of
sitemap_xmap.java ...
There weren't that many lines in that file and I could not locate
TransformerImpl.java.
Nothing seems to work and I am at my wits end.
Any suggestions would help.
Thanks
Conrad
---------------------------------------------------------------------
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]>