I'm getting the following error when trying to access HTML files:
stack-trace extract
java.lang.NullPointerException
at
org.apache.cocoon.www.file_.usr.local.tomcat.webapps.cocoon.writing.sitemap_
xmap.process(/usr/local/tomcat/work/localhost/cocoon/cocoon-files/org/apache
/cocoon/www/file_/usr/local/tomcat/webapps/cocoon/writing/sitemap_xmap.java:
327)
When I try to generate PDF it works but the titles are munged
Carlos
The relevant portion of the sitemap is listed below.
<!-- All Static. -->
<map:match pattern="*.pdf">
<map:generate src="docs/{1}.xml"/>
<map:transform src="stylesheets/xsl/fo/docbook.xsl"/>
<map:serialize type="fo2pdf"/>
</map:match>
<map:match pattern="*.html">
<map:generate src="docs/{1}.xml"/>
<map:transform src="stylesheets/xsl/html/cal.xsl"/>
<map:serialize type="html"/>
</map:match>
--
Carlos E. Araya
---+ WebCT Administrator/Trainer
P | California Virtual Campus
- | C/O De Anza College
G | 21250 Stevens Creek Blvd
---+ Cupertino, CA 95014
email [EMAIL PROTECTED]
web http://www.cvc1.org/ (work)
http://www.silverwolf-net.net (personal)
phone 408 257 0420 (work)
PGP Fingerprint: E629 5DFD 7EAE 4995 E9D7 3D2F 5A9F 0CE7 DFE7 1756
Three things are certain:
Death, taxes, and lost data.
Guess which has occurred.
---------------------------------------------------------------------
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]>