cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Muench" <smue...@us.oracle.com>
Subject Re: 1.6 problems
Date Tue, 18 Jan 2000 21:45:34 GMT
I've had trouble with some PI pseudo-attribute
tokenizers (maybe Cocoon does this, too) which
expect pseudo-attrs to have either Single or
Double quotes but don't account for both
cases.

<?pi x="y" z='q'?>

Maybe this is a place to start looking given
the kind of String Index error...

_________________________________________________________
Steve Muench, Consulting Product Manager & XML Evangelist
Business Components for Java Development Team

----- Original Message -----
From: "Michael Engelhart" <mengelhart@earthtrip.com>
To: "Cocoon Dev" <cocoon-dev@xml.apache.org>
Sent: Tuesday, January 18, 2000 1:30 PM
Subject: 1.6 problems


| Can anyone shed some light on this problem for me?  Are my PI's invalid or
| something?
|
| This gets thrown when accessing a document that worked fine in 1.5.
|
| java.lang.StringIndexOutOfBoundsException: String index out of range: -1
|     at java.lang.String.substring(Compiled Code)
|     at org.apache.cocoon.Utils.getPIPseudoAttributes(Compiled Code)
|     at
|
org.apache.cocoon.formatter.FormatterFactory.getType(FormatterFactory.java:8
| 2)
|     at
|
org.apache.cocoon.formatter.FormatterFactory.getFormatter(FormatterFactory.j
| ava:70)
|     at org.apache.cocoon.Engine.handle(Compiled Code)
|     at org.apache.cocoon.Cocoon.service(Cocoon.java:145)
|     at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
|     at
|
org.apache.tomcat.core.ServiceInvocationHandler.method(ServletWrapper.java:6
| 26)
|     at org.apache.tomcat.core.ServletWrapper.handleInvocation(Compiled
Code)
|     at
|
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:378)
|     at org.apache.tomcat.core.Context.handleRequest(Context.java:644)
|     at
| org.apache.tomcat.core.ContextManager.service(ContextManager.java:440)
|     at
|
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
| onnectionHandler.java:144)
|     at
| org.apache.tomcat.service.TcpConnectionThread.run(TcpEndpoint.java:304)
|     at java.lang.Thread.run(Thread.java)
|
|
|
|


Mime
View raw message