Hi,
I am using xindice 1.0 on Unix and trying to build an XML object using the
exaples given in the User's guide.
I have changed the org.apache.xindice.examples.XPathQueryXMLObject.java  to
org.apache.xindice.examples.XPathQueryXMLObjectNK.java and have compiled it
and copied the XPathQueryXMLObjectNK.class file to $XINDICE_HOME/java/lib
The java classpath points to the right jar files.

Now, when I tri to install the xml object, I get 'Can not create xml object"
and subsequently 'duplicate xml object' error.

> xindiceadmin add_xmlobject -i
org.apache.xindice.examples.XPathQueryXMLObjectNK -n NKXpath -c
/db/addressbook
ERROR : XMLObject Cannot Create

>xindiceadmin add_xmlobject -i
org.apache.xindice.examples.XPathQueryXMLObjectNK -n NKXpath -c
/db/addressbook
ERROR : XMLObject Duplicate Object

When I try to delete object, it does not find the object.

Can someone please tell me what is it I am doing wrong?

Thanks a lot in advance.

-Nutan

Reply via email to