> From: Stephan Michels [mailto:[EMAIL PROTECTED]] > > On Thu, 21 Feb 2002, Gianugo Rabellino wrote:
<snip/> > > > <base>xmldb:dbxml:///db/</base> > > > > Base should be is xmldb:xindice///db/. > > > > Also, you are getting the error from the XML:DB source protocol, not > > from the generators, please double check your settings: > > I also added the the line > <driver type="xindice" > class="org.apache.xindice.client.xmldb.DatabaseImpl"/> > into the cocoon.xconf > > > When I now try the request > http://vernjava:8080/cocoon/xmldb/addressbook?xpath=//person[lname=%27Cl etus%2 > 7] > > I got following exception: > org.apache.cocoon.ProcessingException: Could not read resource > xmldb:xindice://vernjava:4080/addressbook: > java.lang.StringIndexOutOfBoundsException: String index out of range: -11 > at > org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:1 66) > at > org.apache.cocoon.components.pipeline.CachingEventPipeline.process(Cachi ngEven > tPipeline.java:255) > Stack trace of the StringIndexOutOfBoundsException will be of greater help. And the version of the Cocoon you are using. Vadim --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>