https://github.com/BaseXdb/basex-examples/blob/master/src/main/java/org/base... is not working for me.
I'm using source code from github (7.5.1 beta). Is it just me?
Also, any update on the status of March 2011 regarding the questions: Is it possible to create child Collections within a database through the XMLDB API? And is it possible to insert XMLResources in a child Collection through the XMLDB API?
thanks .. Jason
XMLDBInsert returns:
=== XMLDBInsert ===
* Get collection.
* Create new resource. Exception in thread "main" java.lang.NullPointerException at com.plutext.basex.samples.XMLDBInsert.main(XMLDBInsert.java:52)
==============
[basex-talk] xmldb api and child collections
Andreas Weiler andreas.weiler at uni-konstanz.de Sun Mar 27 14:10:31 CEST 2011 Previous message: [basex-talk] xmldb api and child collections Next message: [basex-talk] BaseX 6.6 Update - Soft-Files.com Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Sorry, it seems that this is not supported right now. We will have a look into this. In the meantime, you could use our own API for your scenario.
Kind regards, Andreas
Am 26.03.2011 um 17:59 schrieb frans at planet:
Is it possible to create child Collections within a database through the XMLDB API? And is it possible to insert XMLResources in a child Collection through the XMLDB API?
Regards, Frans
BaseX-Talk mailing list BaseX-Talk at mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Hi Jason,
https://github.com/BaseXdb/basex-examples/blob/master/src/main/java/org/base...
in order to make the example work, you first need to run XMLDBCreate. I have extended the JavaDoc to point to this issue.
Also, any update on the status of March 2011 regarding the questions: Is it possible to create child Collections within a database through the XMLDB API?
In BaseX, databases and collections are similar concepts. See e.g. [1] for more information on how we handle databases, collections and documents.
Best, Christian
basex-talk@mailman.uni-konstanz.de