Hi I am using xindice version 1.1 and get the following error when adding some XML documents:
$ ./bin/xindice ad -v -c /db/legislation -f tmp.xml trying to register database XMLDB Exception 0: Failed to execute command 'InsertResource' on server: http://127.0.0.1:8888/xindice/, message: Error parsing Document org.xmldb.api.base.XMLDBException: Failed to execute command 'InsertResource' on server: http://127.0.0.1:8888/xindice/, message: Error parsing Document at org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.runRemoteCommand(CollectionImpl.java:125) at org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.storeResource(CollectionImpl.java:241) at org.apache.xindice.tools.command.AddDocument.execute(AddDocument.java:89) at org.apache.xindice.tools.XMLTools.execute(XMLTools.java:284) at org.apache.xindice.tools.XMLTools.process(XMLTools.java:164) at org.apache.xindice.tools.XMLTools.main(XMLTools.java:84) Caused by: org.apache.xmlrpc.XmlRpcException: Error parsing Document at org.apache.xmlrpc.XmlRpcClient$Worker.execute(XmlRpcClient.java) at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java) at org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.runRemoteCommand(CollectionImpl.java:113) ... 5 more [...@1db5ecorg.apache.xmlrpc.xmlrpcexception: Error parsing Document at org.apache.xmlrpc.XmlRpcClient$Worker.execute(XmlRpcClient.java) at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java) at org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.runRemoteCommand(CollectionImpl.java:113) at org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.storeResource(CollectionImpl.java:241) at org.apache.xindice.tools.command.AddDocument.execute(AddDocument.java:89) at org.apache.xindice.tools.XMLTools.execute(XMLTools.java:284) at org.apache.xindice.tools.XMLTools.process(XMLTools.java:164) at org.apache.xindice.tools.XMLTools.main(XMLTools.java:84) Note this doesnt always happen, just some XML files. I am putting a huge amount of XML documents which all conform to the same schema into a xindice database. About 25% are failing with the same error as above. I have double and triple checked the XML is valid by checking with a validating parser. Any ideas?