Re: [basex-talk] Importing XML using Java Classes vs Direct Commands

2017-01-27 Thread Christian GrĂ¼n
Hi Shaun, > The following exception is thrown: Hm, not on my machine. A reproducible example would be welcome. Thanks in advance, Christian > > run: > Jan 26, 2017 5:03:17 PM basextesting.BaseXTesting main > SEVERE: null > org.basex.core.BaseXException: "BaseXTarget.xml" (Line 1): No text

[basex-talk] Importing XML using Java Classes vs Direct Commands

2017-01-26 Thread Shaun Flynn
Hello there, I am attempting to create a database and add a resource to it programatically in Java. If I use this code: public static void main(String[] args) { try (ClientSession session = new ClientSession("localhost", 1984, "admin", "admin")) { session.execute("SET