cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christophe MALIGORNE <cmaligo...@odaxys.fr>
Subject RE: problem with upgrade from 1.7.2 to 1.7.4
Date Fri, 08 Sep 2000 07:56:52 GMT
the instructiopns are :
<?xml version="1.0"?>
<?cocoon-process type="xsp"?>
<?cocoon-process type="xslt"?>
<?xml-stylesheet href="contrat.xsl" type="text/xsl"?>

and they're the same on all my pages.

> -----Message d'origine-----
> De:	Robin Green [SMTP:greenrd@hotmail.com]
> Date:	vendredi 8 septembre 2000 00:56
> À:	cocoon-users@xml.apache.org
> Objet:	Re: problem with upgrade from 1.7.2 to 1.7.4
> 
> Christophe MALIGORNE <cmaligorne@odaxys.fr> wrote on Wed, 6 Sep 2000 
> 12:34:16 +0200:
> >I've just installed Cocoon 1.7.4 .
> >
> >Since the upgrade, I get  the following error when i call some
> doduments.
> >
> >String index out of range: 0java.lang.StringIndexOutOfBoundsException:
> >String index out of range: 0
> >	at java.lang.Throwable.fillInStackTrace(Native Method)
> >	at java.lang.Throwable.fillInStackTrace(Compiled Code)
> >	at java.lang.Throwable.<init>(Compiled Code)
> >	at java.lang.Exception.<init>(Compiled Code)
> >	at java.lang.RuntimeException.<init>(RuntimeException.java:47)
> >	at
> >java.lang.IndexOutOfBoundsException.<init>(IndexOutOfBoundsException.ja
> va:44
> >)
> >	at
> >java.lang.StringIndexOutOfBoundsException.<init>(StringIndexOutOfBounds
> Excep
> >tion.java:57)
> >	at java.lang.String.charAt(Compiled Code)
> >	at
> >org.apache.cocoon.processor.xslt.XSLTProcessor.getResource(Compiled
> Code)
> >	at
> >org.apache.cocoon.processor.xslt.XSLTProcessor.process(XSLTProcessor.ja
> va:10
> >7)
> >	at org.apache.cocoon.Engine.handle(Compiled Code)
> >	at Adhesion.executeCocoon(Compiled Code)
> >	at Adhesion.doPost(Adhesion.java:247)
> >	at Adhesion.doGet(Adhesion.java:81)
> >	at javax.servlet.http.HttpServlet.service(HttpServlet.java:499)
> >	at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
> >	at
> >org.apache.jserv.JServConnection.processRequest(JServConnection.java:31
> 4)
> >	at
> org.apache.jserv.JServConnection.run(JServConnection.java:188)
> >	at java.lang.Thread.run(Thread.java:479)
> >
> >For others documents, it works fine (and faster !).
> >all my document works correctly with 1.7.2.
> >
> 
> It looks like there is a problem in your <?xml-stylesheet ?> processing 
> instruction. Cocoon cannot find a href attribute. What does the 
> xml-stylesheet processing-instruction look like in the pages that don't 
> work, and are they different in the pages that do work - e.g. the COcoon
> 
> samples? (I have a hunch it's something to do with quote marks.)
> 
> --
> Robin
> 
> 
> ________________________________________________________________________
> _
> Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com.
> 
> Share information about yourself, create your own public profile at 
> http://profiles.msn.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org

Mime
View raw message