Re: Autogenerated autoincremental IDs

2003-08-06 Thread Murray Altheim
Esteban Chiner wrote: Hello, I'm trying to insert documents in a collection using an automatic new ID. I use the CreateNewOID XML-RPC method and I get a huge hexadecimal number but I would like to have an autoincremental ID value (like 1, 2, 3, etc.). Is this possible with Xindice? Any workaround?

Re: dtd expansion

2003-08-06 Thread Murray Altheim
shane nuessler wrote: Hi Murray, I'm sure your advice is correct, but I just can't get it to ignore the comments. We;ve even gone back to Xindice 1.0 now because we couldn't get the methods working with 1.1 for RPC calls via Perl and VB. I'm really stuck, but will keep fighting it tomorrow I thi

Autogenerated autoincremental IDs

2003-08-06 Thread Esteban Chiner
Hello, I'm trying to insert documents in a collection using an automatic new ID. I use the CreateNewOID XML-RPC method and I get a huge hexadecimal number but I would like to have an autoincremental ID value (like 1, 2, 3, etc.). Is this possible with Xindice? Any workaround? Thank you very much,

Re: dtd expansion

2003-08-06 Thread Kevin O'Neill
We;ve even gone back to Xindice 1.0 now because we couldn't get the methods working with 1.1 for RPC calls via Perl and VB. I'm really stuck, but will keep fighting it tomorrow I think. I can't say if these interfaces work as they are not a part of the main distribution and the wire protocol cha

Re: dtd expansion

2003-08-06 Thread shane nuessler
Hi Murray, I'm sure your advice is correct, but I just can't get it to ignore the comments. We;ve even gone back to Xindice 1.0 now because we couldn't get the methods working with 1.1 for RPC calls via Perl and VB. I'm really stuck, but will keep fighting it tomorrow I think. Shane. Murray Alt

Re: XML-RPC-based enhancements

2003-08-06 Thread Kevin O'Neill
After running some tests there are some corrections I should make to my initial propositions. The xpath expression boolean(//[EMAIL PROTECTED]'1']) could be used for this. Again xindice doesn't support none element results at present. I've added a bug report and unit tests for this example thou

Re: deleting document via xml:DB in java!

2003-08-06 Thread Rupali Parab
Hi , I tried the delete method shown in the guide. however I am getting an XML DB exception while deleting. is there any other manner of deleting? I have attched my code below: Rupali my code:- -- Collection col = DatabaseManager.getCollection("xmldb:xindice://localhost:8080/db/G

Re: XML-RPC-based enhancements

2003-08-06 Thread Kevin O'Neill
I think it would be a big decision on behalf of the project to the xml- rpc wire protocol for direct useage as it is likely to change in response to bugs and other improvements. Having said that I've gone through each of the scenarios and added notes on how they can be achieved using the current

Re: dtd expansion

2003-08-06 Thread Murray Altheim
[cc: Thierry Michel] Murray Altheim wrote: shane nuessler wrote: Hi Kevin, Murry. Thankyou very much for your help. We are currently trying to store SMIL files for a project we are undertaking at the moment. The SMIL file has the DTD specified at the top to declare that SMIL version 2 is being us

Re: dtd expansion

2003-08-06 Thread Murray Altheim
shane nuessler wrote: Hi Kevin, Murry. Thankyou very much for your help. We are currently trying to store SMIL files for a project we are undertaking at the moment. The SMIL file has the DTD specified at the top to declare that SMIL version 2 is being used. But when we store and then retrieve th