Re: [basex-talk] "XUDY0027 - Insert target must not be empty" with default namespaces

2013-07-09 Thread Carlos MARCOS LAGUNAR
basex-talk Subject: Re: [basex-talk] "XUDY0027 - Insert target must not be empty" with default namespaces Or if you really want two and three in no namespace like your first example your starting data should be: /Andy On Mon, Jul 8, 2013 at 1:05 PM, Lukas Kircher wrote: Hi

Re: [basex-talk] "XUDY0027 - Insert target must not be empty" with default namespaces

2013-07-08 Thread Andy Bunce
Or if you really want two and three in no namespace like your first example your starting data should be: /Andy On Mon, Jul 8, 2013 at 1:05 PM, Lukas Kircher wrote: > Hi Carlos, > > the element in the second example is also bound to the default > namespace, so you have to take care of th

Re: [basex-talk] "XUDY0027 - Insert target must not be empty" with default namespaces

2013-07-08 Thread Lukas Kircher
Hi Carlos, the element in the second example is also bound to the default namespace, so you have to take care of this. Adding a wildcard to the name test (.../**:two*) should do the trick. Your final insert query then looks like this: insert node into db:open("MyDB", "q471pa0lnovkfflso7ecsd6nj1

[basex-talk] "XUDY0027 - Insert target must not be empty" with default namespaces

2013-07-08 Thread Carlos MARCOS LAGUNAR
Hi, I'm working with latests BaseX distribution. The problem arises when I change from a specific namespace to a default namespace on the XML file. >From that moment on the insertion becomes messy, since some of them fail. Example: Here is the source XML that I insert into the newly created Da