You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Ugo Cei <u....@cbim.it> on 2002/07/25 18:20:18 UTC

Bug in Xalan, HEAD?

I have a stylesheet that stoppend working when I upgraded to the latest 
HEAD. Maybe it's due to the latest Xalan that is included. The relevant 
snippet from the logs follows. I've also attached the stylesheet.

----- Root Cause -----
java.lang.NoSuchMethodError
         at 
org.apache.xalan.processor.ProcessorKey.setPropertiesFromAttributes(ProcessorKey.java:161)
         at 
org.apache.xalan.processor.ProcessorKey.startElement(ProcessorKey.java:110)
         at 
org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHandler.java:665)
         at 
org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:459)
         at 
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:217)
         at 
org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XMLNamespaceBinder.java:873)
         at 
org.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamespaceBinder.java:590)
         at 
org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDValidator.java:777)
         at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:748)
         at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1453)
         at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
         at 
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:524)
         at 
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:580)
         at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
         at 
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
         at 
org.apache.avalon.excalibur.xml.JaxpParser.parse(JaxpParser.java:269)
         at 
org.apache.avalon.excalibur.xml.JaxpParser.parse(JaxpParser.java:226)
         at 
org.apache.excalibur.xmlizer.impl.TextXMLizer.toSAX(TextXMLizer.java:92)
         at 
org.apache.excalibur.xmlizer.impl.XMLizerImpl.toSAX(XMLizerImpl.java:75)
         at 
org.apache.avalon.excalibur.xml.xslt.XSLTProcessorImpl.sourceToSAX(XSLTProcessorImpl.java:295)
         at 
org.apache.avalon.excalibur.xml.xslt.XSLTProcessorImpl.getTransformerHandlerAndValidity(XSLTProcessorImpl.java:221)
         at 
org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:331)
         at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:380)
         at 
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:289)
         at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:474)
         at 
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:146)
         at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:83)
         at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:160)
         at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:107)
         at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:157)


-- 
Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
Phone: +39.0382.525100 - E-mail: u.cei@cbim.it

Re: Bug in Xalan, HEAD?

Posted by Ugo Cei <u....@cbim.it>.
Ugo Cei wrote:
> I have a stylesheet that stoppend working when I upgraded to the latest 
> HEAD. Maybe it's due to the latest Xalan that is included. The relevant 
> snippet from the logs follows. I've also attached the stylesheet.

It works if I substitute the current jars with xalan.jar, xercesImpl.jar 
and xml-apis.jar taken from the Xalan 2.4D1 distribution.

	Ugo


-- 
Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
Phone: +39.0382.525100 - E-mail: u.cei@cbim.it


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org