> From: Carlos [mailto:[EMAIL PROTECTED]] > > Vadim: > > In the error.log I get either a: > > FATAL_E (2002-04-17) > 08:32.19:079[core.xslt-processor](/cocoon/writing/stories.html) > HttpProcessor[8080][4]/TraxErrorHandler: Error in TraxTransformer: > javax.xml.transform.TransformerException: Stylesheet directed termination
Before that, search for a message from Xalan. It should have stylesheet systemID, line number, and a message. It might be marked as DEBUG. Vadim > > Or a > > ERROR (2002-04-16) 18:23.42:914[access](/cocoon/writing/stories.html) > HttpProcessor[8080][4]/CocoonServlet: Problem with servlet > java.lang.RuntimeException: Stylesheet directed termination > > The sitemap.log shows several instances of: > > DEBUG (2002-04-17) 08:32.12:513 [sitemap](/cocoon/writing/stories.html) > HttpProcessor[8080][4]/Handler: Beginning sitemap regeneration > ERROR (2002-04-17) 08:32.19:087 [sitemap](/cocoon/writing/stories.html) > HttpProcessor[8080][4]/Handler: Error compiling sitemap > java.lang.RuntimeException: Stylesheet directed termination > > > I have the dtd pointing to the right page, can it be because I am not using > the catalog? > > Carlos > > > On 04/16/02 18:54, "Vadim Gritsenko" <[EMAIL PROTECTED]> wrote: > > >> From: Carlos [mailto:[EMAIL PROTECTED]] > >> > >> 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: > > > > Carlos: > > > >> java.lang.RuntimeException: Stylesheet directed termination > > > > One of the stylesheet does not like your input. Search through Cocoon > > logs, usually there is a message from a stylesheet there. > > > > > > These two lines: > > > >> > > org.apache.cocoon.components.language.markup.LogicsheetCodeGenerator.gen > > erat > >> eCode(LogicsheetCodeGenerator.java:175) > > > >> at org.apache.cocoon.sitemap.Handler.run(Handler.java:270) > > > > suggest that stylesheet we are talking here about is sitemap.xsl. It can > > terminate itself if you have an error in your sitemap.xmap file. If you > > want to know what error - look in the logs. > > > > Vadim > > > > > >> <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:32 > > 31) > >> at > >> > > org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(Transfor > > merH > >> 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(AbstractSAXParse > > r.ja > >> va:724) > >> at > >> > > org.apache.xerces.impl.XMLNamespaceBinder.endDocument(XMLNamespaceBinder > > .jav > >> a:704) > >> at > >> > > org.apache.xerces.impl.dtd.XMLDTDValidator.endDocument(XMLDTDValidator.j > > ava: > >> 997) > >> at > >> > > org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(XMLDocumentScann > > erIm > >> pl.java:437) > >> at > >> > > org.apache.xerces.impl.XMLEntityManager.endEntity(XMLEntityManager.java: > > 1150 > >> ) > >> at > >> > > org.apache.xerces.impl.XMLEntityManager$EntityScanner.load(XMLEntityMana > > ger. > >> java:3195) > >> at > >> > > org.apache.xerces.impl.XMLEntityManager$EntityScanner.skipSpaces(XMLEnti > > tyMa > >> nager.java:2867) > >> at > >> > > org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dis > > patc > >> h(XMLDocumentScannerImpl.java:987) > >> at > >> > > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDo > > cume > >> ntFragmentScannerImpl.java:333) > >> at > >> > > org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardPars > > erCo > >> nfiguration.java:525) > >> at > >> > > org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardPars > > erCo > >> 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.gen > > erat > >> eCode(LogicsheetCodeGenerator.java:175) > >> at > >> > > org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.gene > > rate > >> Code(AbstractMarkupLanguage.java:390) > >> at > >> > > org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.gen > > erat > >> eResource(ProgramGeneratorImpl.java:365) > >> at > >> > > org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.cre > > ateR > >> esource(ProgramGeneratorImpl.java:328) > >> at > >> > > org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa > > d(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 [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 > >> > >> 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: <[EMAIL PROTECTED]> > >> For additional commands, e-mail: <[EMAIL PROTECTED]> > > > > > > > > --------------------------------------------------------------------- > > 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]> > > > > -- > 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 > > "A ship in harbor is safe, but that is not what ships are built for." > - William Shedd > > > > > --------------------------------------------------------------------- > 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]> --------------------------------------------------------------------- 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]>