From: <ge...@o-...> - 2005-09-21 12:38:04
|
In exprettion -------------------------------- if ($a) then (....) else (....) -------------------------------- if "$a" is sequence. in previos CVS (from 13-09-2005 for example) all works! Internal Server Error Message: error FORG0006: effectiveBooleanValue: first item not a node, and sequence length>1 [at line 84, column 25] In call to function: etc:content(item*) [84, 25] etc:content() [5, 1] Description: org.apache.cocoon.ProcessingException: XMLDBException occurred: error FORG0006: effectiveBooleanValue: first item not a node, and sequence length>1 [at line 84, column 25] In call to function: etc:content(item*) [84, 25] etc:content() [5, 1]: org.xmldb.api.base.XMLDBException: error FORG0006: effectiveBooleanValue: first item not a node, and sequence length>1 [at line 84, column 25] In call to function: etc:content(item*) [84, 25] etc:content() [5, 1] Sender: org.apache.cocoon.servlet.CocoonServlet Source: Cocoon Servlet Request URI cause org.exist.xquery.XPathException: error FORG0006: effectiveBooleanValue: first item not a node, and sequence length>1 [at line 84, column 25] In call to function: etc:content(item*) [84, 25] etc:content() [5, 1] request-uri / full exception chain stacktrace org.apache.cocoon.ProcessingException: XMLDBException occurred: error FORG0006: effectiveBooleanValue: first item not a node, and sequence length>1 [at line 84, column 25] In call to function: etc:content(item*) [84, 25] etc:content() [5, 1]: org.xmldb.api.base.XMLDBException: error FORG0006: effectiveBooleanValue: first item not a node, and sequence length>1 [at line 84, column 25] In call to function: etc:content(item*) [84, 25] etc:content() [5, 1] at org.exist.cocoon.XQueryGenerator.generate(Unknown Source) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:575) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:183) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:483) at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:120) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:138) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(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:856) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) at org.mortbay.http.HttpContext.handle(HttpContext.java:1565) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:635) at org.mortbay.http.HttpContext.handle(HttpContext.java:1517) at org.mortbay.http.HttpServer.service(HttpServer.java:954) at org.mortbay.http.HttpConnection.service(HttpConnection.java:816) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) Caused by: org.xmldb.api.base.XMLDBException: error FORG0006: effectiveBooleanValue: first item not a node, and sequence length>1 [at line 84, column 25] In call to function: etc:content(item*) [84, 25] etc:content() [5, 1] at org.exist.xmldb.LocalXPathQueryService.execute(Unknown Source) ... 30 more |