cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Heinicke (JIRA) <j...@apache.org>
Subject [jira] Closed: (COCOON-1578) WebServiceProxyGenerator sample block error
Date Sat, 14 Oct 2006 13:52:36 GMT
     [ http://issues.apache.org/jira/browse/COCOON-1578?page=all ]

Jörg Heinicke closed COCOON-1578.
---------------------------------

    Fix Version/s: 2.2-dev (Current SVN)
                   2.1.10-dev (current SVN)
       Resolution: Fixed

This issue is no longer valid "as is". The wsproxy sample relies on xmlforms which has been
removed completely from the Cocoon code base. So this sample got disabled. Before reactivating
it, it has to be rewritten completely.

I removed the exclude-namespace-prefix="xalan". Don't know what else should have caused your
particular error.

Jörg

> WebServiceProxyGenerator sample block error
> -------------------------------------------
>
>                 Key: COCOON-1578
>                 URL: http://issues.apache.org/jira/browse/COCOON-1578
>             Project: Cocoon
>          Issue Type: Bug
>          Components: Blocks: Proxy
>    Affects Versions: 2.1.7
>         Environment: Operating System: other
> Platform: Other
>            Reporter: cogito
>         Assigned To: Cocoon Developers Team
>             Fix For: 2.2-dev (Current SVN), 2.1.10-dev (current SVN)
>
>
> http://localhost:8888/samples/blocks/proxy/wsproxy/ doesn't work in 2.1.7 
> build.
> I get this error message:
> "Impossible de résoudre le préfixe de l'espace de noms : xalan"
> (wich means in english: "unable to resolve xalan namespace"
> I've seen that this block has bugs (14916, 21339, 21340, 21399) open in the 
> main SVN trunk... but they don't seem to deal with this problem.
> I tried to remove: 
>   exclude-result-prefixes="xalan"
> from newWizard2html.xsl
> (just to see...)
> I get an other error message:
> C:\...\cocoon-2.1.7\build\webapp\stylesheets\system\xmlform2html.xslt (Le 
> fichier spécifié est introuvable)
> (in english: unable to find .../xmlform2html.xslt)
> Is it solve in the main trunk ?
> ------
> Full stacktrace of "unable to resolve xalan namespace":
> org.apache.cocoon.ProcessingException: Unable to get transformer handler for 
> file:/C:/developpement/apache/cocoon-
> 2.1.7/build/webapp/samples/blocks/proxy/stylesheets/newWizard2html.xsl: 
> org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating 
> Transform Handler
> 	at org.apache.cocoon.transformation.TraxTransformer.setup
> (TraxTransformer.java:318)
> 	at 
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline
> (AbstractProcessingPipeline.java:398)
> 	at 
> org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.se
> tupPipeline(AbstractCachingProcessingPipeline.java:620)
> 	at 
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipelin
> e(AbstractProcessingPipeline.java:503)
> 	at 
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process
> (AbstractProcessingPipeline.java:455)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke
> (SerializeNode.java:120)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeN
> odes(AbstractParentProcessingNode.java:46)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
> (PreparableMatchNode.java:130)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeN
> odes(AbstractParentProcessingNode.java:68)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke
> (PipelineNode.java:138)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeN
> odes(AbstractParentProcessingNode.java:68)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
> (PipelinesNode.java:92)
> 	at 
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
> (ConcreteTreeProcessor.java:234)
> 	at 
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
> (ConcreteTreeProcessor.java:176)
> 	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process
> (TreeProcessor.java:243)
> 	at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke
> (MountNode.java:117)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeN
> odes(AbstractParentProcessingNode.java:46)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
> (PreparableMatchNode.java:130)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeN
> odes(AbstractParentProcessingNode.java:68)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke
> (PipelineNode.java:138)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeN
> odes(AbstractParentProcessingNode.java:68)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
> (PipelinesNode.java:92)
> 	at 
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
> (ConcreteTreeProcessor.java:234)
> 	at 
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
> (ConcreteTreeProcessor.java:176)
> 	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process
> (TreeProcessor.java:243)
> 	at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke
> (MountNode.java:117)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeN
> odes(AbstractParentProcessingNode.java:46)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
> (PreparableMatchNode.java:130)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeN
> odes(AbstractParentProcessingNode.java:68)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke
> (PipelineNode.java:138)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeN
> odes(AbstractParentProcessingNode.java:68)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
> (PipelinesNode.java:92)
> 	at 
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
> (ConcreteTreeProcessor.java:234)
> 	at 
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
> (ConcreteTreeProcessor.java:176)
> 	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process
> (TreeProcessor.java:243)
> 	at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke
> (MountNode.java:117)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeN
> odes(AbstractParentProcessingNode.java:46)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
> (PreparableMatchNode.java:130)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeN
> odes(AbstractParentProcessingNode.java:68)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke
> (PipelineNode.java:138)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeN
> odes(AbstractParentProcessingNode.java:68)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
> (PipelinesNode.java:92)
> 	at 
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
> (ConcreteTreeProcessor.java:234)
> 	at 
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
> (ConcreteTreeProcessor.java:176)
> 	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process
> (TreeProcessor.java:243)
> 	at org.apache.cocoon.Cocoon.process(Cocoon.java:608)
> 	at org.apache.cocoon.servlet.CocoonServlet.service
> (CocoonServlet.java:1123)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at org.mortbay.jetty.servlet.ServletHolder.handle
> (ServletHolder.java:358)
> 	at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch
> (WebApplicationHandler.java:294)
> 	at org.mortbay.jetty.servlet.ServletHandler.handle
> (ServletHandler.java:567)
> 	at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
> 	at org.mortbay.jetty.servlet.WebApplicationContext.handle
> (WebApplicationContext.java:525)
> 	at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
> 	at org.mortbay.http.HttpServer.service(HttpServer.java:879)
> 	at org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
> 	at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
> 	at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
> 	at org.mortbay.http.SocketListener.handleConnection
> (SocketListener.java:218)
> 	at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:300)
> 	at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)
> Caused by: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in 
> creating Transform Handler
> 	at 
> org.apache.excalibur.xml.xslt.XSLTProcessorImpl.getTransformerHandlerAndValidit
> y(XSLTProcessorImpl.java:336)
> 	at org.apache.cocoon.transformation.TraxTransformer.setup
> (TraxTransformer.java:310)
> 	... 60 more
> Caused by: org.xml.sax.SAXException: Impossible de résoudre le préfixe de 
> l'espace de noms : xalan
> 	at org.apache.xalan.processor.XSLTAttributeDef.processPREFIX_LIST
> (XSLTAttributeDef.java:1281)
> 	at org.apache.xalan.processor.XSLTAttributeDef.processValue
> (XSLTAttributeDef.java:1451)
> 	at org.apache.xalan.processor.XSLTAttributeDef.setAttrValue
> (XSLTAttributeDef.java:1600)
> 	at 
> org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttributes
> (XSLTElementProcessor.java:343)
> 	at 
> org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttributes
> (XSLTElementProcessor.java:268)
> 	at org.apache.xalan.processor.ProcessorStylesheetElement.startElement
> (ProcessorStylesheetElement.java:104)
> 	at org.apache.xalan.processor.StylesheetHandler.startElement
> (StylesheetHandler.java:600)
> 	at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown 
> Source)
> 	at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement
> (Unknown Source)
> 	at 
> org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootEle
> mentHook(Unknown Source)
> 	at 
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher
> .dispatch(Unknown Source)
> 	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument
> (Unknown Source)
> 	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> 	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> 	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> 	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
> 	at org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:296)
> 	at org.apache.excalibur.xmlizer.DefaultXMLizer.toSAX
> (DefaultXMLizer.java:123)
> 	at org.apache.excalibur.xml.xslt.XSLTProcessorImpl.sourceToSAX
> (XSLTProcessorImpl.java:366)
> 	at 
> org.apache.excalibur.xml.xslt.XSLTProcessorImpl.getTransformerHandlerAndValidit
> y(XSLTProcessorImpl.java:276)
> 	... 61 more
> org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating 
> Transform Handler
> 	at 
> org.apache.excalibur.xml.xslt.XSLTProcessorImpl.getTransformerHandlerAndValidit
> y(XSLTProcessorImpl.java:336)
> 	at org.apache.cocoon.transformation.TraxTransformer.setup
> (TraxTransformer.java:310)
> 	at 
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline
> (AbstractProcessingPipeline.java:398)
> 	at 
> org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.se
> tupPipeline(AbstractCachingProcessingPipeline.java:620)
> 	at 
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipelin
> e(AbstractProcessingPipeline.java:503)
> 	at 
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process
> (AbstractProcessingPipeline.java:455)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke
> (SerializeNode.java:120)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeN
> odes(AbstractParentProcessingNode.java:46)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
> (PreparableMatchNode.java:130)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeN
> odes(AbstractParentProcessingNode.java:68)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke
> (PipelineNode.java:138)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeN
> odes(AbstractParentProcessingNode.java:68)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
> (PipelinesNode.java:92)
> 	at 
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
> (ConcreteTreeProcessor.java:234)
> 	at 
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
> (ConcreteTreeProcessor.java:176)
> 	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process
> (TreeProcessor.java:243)
> 	at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke
> (MountNode.java:117)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeN
> odes(AbstractParentProcessingNode.java:46)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
> (PreparableMatchNode.java:130)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeN
> odes(AbstractParentProcessingNode.java:68)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke
> (PipelineNode.java:138)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeN
> odes(AbstractParentProcessingNode.java:68)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
> (PipelinesNode.java:92)
> 	at 
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
> (ConcreteTreeProcessor.java:234)
> 	at 
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
> (ConcreteTreeProcessor.java:176)
> 	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process
> (TreeProcessor.java:243)
> 	at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke
> (MountNode.java:117)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeN
> odes(AbstractParentProcessingNode.java:46)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
> (PreparableMatchNode.java:130)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeN
> odes(AbstractParentProcessingNode.java:68)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke
> (PipelineNode.java:138)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeN
> odes(AbstractParentProcessingNode.java:68)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
> (PipelinesNode.java:92)
> 	at 
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
> (ConcreteTreeProcessor.java:234)
> 	at 
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
> (ConcreteTreeProcessor.java:176)
> 	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process
> (TreeProcessor.java:243)
> 	at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke
> (MountNode.java:117)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeN
> odes(AbstractParentProcessingNode.java:46)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
> (PreparableMatchNode.java:130)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeN
> odes(AbstractParentProcessingNode.java:68)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke
> (PipelineNode.java:138)
> 	at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeN
> odes(AbstractParentProcessingNode.java:68)
> 	at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
> (PipelinesNode.java:92)
> 	at 
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
> (ConcreteTreeProcessor.java:234)
> 	at 
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
> (ConcreteTreeProcessor.java:176)
> 	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process
> (TreeProcessor.java:243)
> 	at org.apache.cocoon.Cocoon.process(Cocoon.java:608)
> 	at org.apache.cocoon.servlet.CocoonServlet.service
> (CocoonServlet.java:1123)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at org.mortbay.jetty.servlet.ServletHolder.handle
> (ServletHolder.java:358)
> 	at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch
> (WebApplicationHandler.java:294)
> 	at org.mortbay.jetty.servlet.ServletHandler.handle
> (ServletHandler.java:567)
> 	at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
> 	at org.mortbay.jetty.servlet.WebApplicationContext.handle
> (WebApplicationContext.java:525)
> 	at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
> 	at org.mortbay.http.HttpServer.service(HttpServer.java:879)
> 	at org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
> 	at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
> 	at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
> 	at org.mortbay.http.SocketListener.handleConnection
> (SocketListener.java:218)
> 	at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:300)
> 	at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)
> Caused by: org.xml.sax.SAXException: Impossible de résoudre le préfixe de 
> l'espace de noms : xalan
> 	at org.apache.xalan.processor.XSLTAttributeDef.processPREFIX_LIST
> (XSLTAttributeDef.java:1281)
> 	at org.apache.xalan.processor.XSLTAttributeDef.processValue
> (XSLTAttributeDef.java:1451)
> 	at org.apache.xalan.processor.XSLTAttributeDef.setAttrValue
> (XSLTAttributeDef.java:1600)
> 	at 
> org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttributes
> (XSLTElementProcessor.java:343)
> 	at 
> org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttributes
> (XSLTElementProcessor.java:268)
> 	at org.apache.xalan.processor.ProcessorStylesheetElement.startElement
> (ProcessorStylesheetElement.java:104)
> 	at org.apache.xalan.processor.StylesheetHandler.startElement
> (StylesheetHandler.java:600)
> 	at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown 
> Source)
> 	at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement
> (Unknown Source)
> 	at 
> org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootEle
> mentHook(Unknown Source)
> 	at 
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher
> .dispatch(Unknown Source)
> 	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument
> (Unknown Source)
> 	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> 	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> 	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> 	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
> 	at org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:296)
> 	at org.apache.excalibur.xmlizer.DefaultXMLizer.toSAX
> (DefaultXMLizer.java:123)
> 	at org.apache.excalibur.xml.xslt.XSLTProcessorImpl.sourceToSAX
> (XSLTProcessorImpl.java:366)
> 	at 
> org.apache.excalibur.xml.xslt.XSLTProcessorImpl.getTransformerHandlerAndValidit
> y(XSLTProcessorImpl.java:276)
> 	... 61 more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message