On Wed, 2003-08-06 at 16:36, Miguel Carvalho wrote: > Hi again, after i have upgraded to 2.0.4 and corrected some problems in the > transformer i ended up getting this: > > the first part of the result (marked) bellow is ok, and i am applying this > to the html serializer, and this is the result > > <!--This is ok--> <snip/>
> java.lang.ArrayIndexOutOfBoundsException: -1</pre></p><p><b>request-uri</b>< > pre>/dae/daestart</pre></p><p><b>original exception</b><pre>Original > exception : java.lang.ArrayIndexOutOfBoundsException: -1 > at org.apache.xml.utils.BoolStack.pop(BoolStack.java:134) > at > org.apache.xalan.serialize.SerializerToHTML.endElement(SerializerToHTML.java > :706) > at This is likely because your startElement and endElement calls do not line up. Double check the source of your transformer that for every call to startElement, you also do a call to endElement. For debugging purposes, you may want to put a LogTransformer after your transformer, which will log all SAX-events to a given logfile. <snip/> > at > org.apache.cocoon.www.sitemap_xmap.wildcardMatchN400194(sitemap_xmap.java:16 > 53) I see you're still using the compiled sitemap engine (which is indeed the default in 2.0.4). Do yourself a favor and change it to the interpreted engine, Cocoon's startup time will then be much faster (this can be changed in the cocoon.xconf file). -- Bruno Dumon http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center [EMAIL PROTECTED] [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
