The version is 1.0.
The driver is org.apache.xindice.client.xmldb.DatabaseImpl.
The error when I insert printStackTrace is:
XML:DB Exception occured 1
org.xmldb.api.base.XMLDBException:
at
org.apache.xindice.core.FaultCodes.createXMLDBException(FaultCodes.java:247)
at
org.apache.xindice.client.xmldb.CollectionImpl.storeResource(CollectionImpl.java:518)
at AddDocument_1.main(AddDocument_1.java:24)
BTW, I used the exact the same example to add a document from Xindice's
developer's guide, except, I am trying to add a document which is 11M in
size.
Small files work just fine.
Thanks
On Wed, 2004-02-18 at 19:16, Vadim Gritsenko wrote:
> Eric Zhang wrote:
>
> >The XML file I used is about 7.3M. When I use the string method, it gives me
> >an exception of: "Xindice exception occurred at 1"
> >
> >
>
> Several questions:
>
> 1) What is the Xindice version? Assuming 1.1...
> 2) What is the driver? (embed/xmlrpc)
> 3) Can you get a stacktrace (turn on debug mode, or insert
> e.printStackTrace somewhere)?
>
> And at the last, here is one pointer:
> http://xml.apache.org/xindice/faq.html#faq-N10083
>
>
> Vadim
--
Yue(Eric) Zhang
Database Analyst/DBA, TAPoR Project
Arts Department, University of Alberta
Edmonton, AB, Canada