cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 30937] New: - Global parameters input module exception when concatenating
Date Mon, 30 Aug 2004 12:03:06 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30937>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30937

Global parameters input module exception when concatenating

           Summary: Global parameters input module exception when
                    concatenating
           Product: Cocoon 2
           Version: 2.1.5
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: sitemap components
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: lmorandini@ieee.org


In Cocoon 2.1.3, the concatenation of a global parameter and a string used to work:
<map:parameter name="image-path"
    value="{global:app-path}\resources\images\"/>

But in Cocoon 2.1.5 the same code gives:
<<
Message: Failed to load sitemap from file:/c:/web/noria/noriadev215/sitemap.xmap
Description: org.apache.cocoon.ProcessingException: Failed to load sitemap from
file:/c:/web/noria/noriadev215/sitemap.xmap:
org.apache.avalon.framework.configuration.ConfigurationException: Error while
creating node 'transform' at file:/c:/web/noria/noriadev215/sitemap.xmap:628:49
...
cause

java.lang.StringIndexOutOfBoundsException: String index out of range: 18
request-uri
/cocoon215/noriadev/refresh-map-locate.pdf
full exception chain stacktrace

Original Exception:
org.apache.avalon.framework.configuration.ConfigurationException: Error while
creating node 'transform' at file:/c:/web/noria/noriadev215/sitemap.xmap:628:49
    at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder.buildChildNodesList(AbstractParentProcessingNodeBuilder.java:128)
    at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder.buildChildNodes(AbstractParentProcessingNodeBuilder.java:136)
    at
org.apache.cocoon.components.treeprocessor.sitemap.MatchNodeBuilder.buildNode(MatchNodeBuilder.java:77)
    at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNodeBuilder.buildNode(PipelineNodeBuilder.java:113)
    at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNodeBuilder.buildNode(PipelinesNodeBuilder.java:65)
    at
...

Mime
View raw message