Hi Scott, Yes, since I need to use it with servlet as an webapp with interface for query.
Trevor Leung -----Original Message----- From: Roth, Scott [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 09, 2003 9:45 PM To: '[email protected]' Subject: RE: Query Error Do you have a reason to use the Xindice implementation classes? If not, it is much simpler to use the XMLDB API interfaces. Then you don't have to worry about the implementation details; it is all abstracted for you. Look at: http://xml.apache.org/xindice/dev/guide-developer.html#N10232 For some sample code on how to get started. Scott -----Original Message----- From: Trevor Leung [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 09, 2003 5:11 AM To: Xindice-Users Subject: Query Error Hi, I use the attached java to connect the Xindice via XMLRPC, which can connect but with query error. Are there any wrong of it. I use org/apache/xindice/client/xmldb/xmlrpc/CollectionImpl.java to implement the connections For the query function with public ResourceSet query(String name, String queryLang, String query, Hashtable nsMap) { ..... } What parameter should I put into Hashtable? am I put the wrong parameter? The result is listed below: =============================================== java xmldbtest org.xmldb.api.base.XMLDBException: Query error null rs test1 test2 test3 test4 test5 test6 test7 test8 ======================================================= Thanks for your help, Regards, -------------------- Trevor Leung CINTEC, CUHK ------------------------------------------------------------------------------ Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential, proprietary copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by e-mail and then delete it. ==============================================================================
