cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@cvc.edu (Carlos)
Subject Using Docbook With Cocoon 2.0.2
Date Wed, 17 Apr 2002 01:45:23 GMT
I'm getting the following error with Cocoon 2.0.2 and the following pipeline
to transform Docbook documents. The pipeline is served from a sub-sitemap:


   <map:match pattern="">
    <map:redirect-to uri="welcome"/>
   </map:match>

   <map:match pattern="*.pdf">
    <map:generate src="docs/{1}.xml"/>
    <map:transform src="xsl/fo/cal.xsl"/>
    <map:serialize type="fo2pdf"/>
   </map:match> 

   <map:match pattern="*.html">
    <map:generate src="docs/{1}.xml"/>
    <map:transform src="xsl/xhtml/cal.xsl"/>
    <map:serialize type="xml"/>
   </map:match>

-- Error Message--
type fatal

message Stylesheet directed termination

description java.lang.RuntimeException: Stylesheet directed termination

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

request-uri

/cocoon/writing/stories.html


path-info

writing/stories.html


stack-trace

java.lang.RuntimeException: Stylesheet directed termination
    at 
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3231)
    at 
org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerH
andlerImpl.java:436)
    at org.xml.sax.helpers.XMLFilterImpl.endDocument(Unknown Source)
    at org.xml.sax.helpers.XMLFilterImpl.endDocument(Unknown Source)
    at 
org.apache.xerces.parsers.AbstractSAXParser.endDocument(AbstractSAXParser.ja
va:724)
    at 
org.apache.xerces.impl.XMLNamespaceBinder.endDocument(XMLNamespaceBinder.jav
a:704)
    at 
org.apache.xerces.impl.dtd.XMLDTDValidator.endDocument(XMLDTDValidator.java:
997)
    at 
org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(XMLDocumentScannerIm
pl.java:437)
    at 
org.apache.xerces.impl.XMLEntityManager.endEntity(XMLEntityManager.java:1150
)
    at 
org.apache.xerces.impl.XMLEntityManager$EntityScanner.load(XMLEntityManager.
java:3195)
    at 
org.apache.xerces.impl.XMLEntityManager$EntityScanner.skipSpaces(XMLEntityMa
nager.java:2867)
    at 
org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatc
h(XMLDocumentScannerImpl.java:987)
    at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocume
ntFragmentScannerImpl.java:333)
    at 
org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserCo
nfiguration.java:525)
    at 
org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserCo
nfiguration.java:581)
    at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
    at 
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:115
7)
    at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown Source)
    at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown Source)
    at 
org.apache.cocoon.components.language.markup.LogicsheetCodeGenerator.generat
eCode(LogicsheetCodeGenerator.java:175)
    at 
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.generate
Code(AbstractMarkupLanguage.java:390)
    at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat
eResource(ProgramGeneratorImpl.java:365)
    at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR
esource(ProgramGeneratorImpl.java:328)
    at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
ogramGeneratorImpl.java:291)
    at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
    at java.lang.Thread.run(Thread.java:536)


-- 
Carlos E. Araya
---+ WebCT Administrator/Trainer
 P | California Virtual Campus
 - | C/O De Anza College
 G | 21250 Stevens Creek Blvd
---+ Cupertino, CA 95014

email               carlos@cvc.edu
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

Paradoxically, a refusal to 'put a monetary value on life' means that life
is often undervalued.
-- Artificial Intelligence: A Modern Approach



---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message