Dear Mahender,
your mentioned problem seems to be fixed now.
For example in org.basex.examples.jaxrx:
// The java URL connection to the resource URL url = new URL("http://localhost:8984/basex/jax-rx/test/test2/input.xml");
will add the document input.xml to the subcollection test2 in the collection test.
Please check out the newest sources.
Kind regards, Andreas
Am 15.12.10 17:26, schrieb Christian GrĂ¼n:
I am using 6.3.4, but if I send a post request to /server/collection/subcollection, only the collection gets created (and the document is added to collection, not to subcollection).
Could you provide us with an sscce that allow us to reproduce the issue?
In view of the above, could you please throw more light on how the subcollections can be created using REST and how documents can be added to subcollections using REST?
The documentation will be updated with the upcoming official release.
Best, Christian _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk