[basex-talk] Problem with BaseX inserting a namespace … how do I stop it

2012-04-02 Thread Mike Hawkes
Hi I have a weird problem ... I'm running a query via the PHP interface and run the following query: declare variable $DB external; insert node audit QID='C54B14ED-C748-4DF0-87F2-91F505BE207B' UID='i1' guid='CC9D4D2B-B380-494B-B0F6-4D72471557B0'

Re: [basex-talk] Moving to log4j, java.util.logging, Apache Commons Logging, etc?

2012-04-02 Thread Christian Grün
Work started on that, present in my github tree (https://github.com/charles-dyfis-net/basex/commits/java_util_logging). Good news, I'll look at that soon. FYI -- I rather strongly disagree with building our own indirection layer to dynamically switch between logging libraries, when at least

Re: [basex-talk] Problem with BaseX inserting a namespace … how do I stop it

2012-04-02 Thread Christian Grün
Hi Mike, thanks for your report. It would be great if you could provide us with a small example that allows us to reproduce the issue (an export of your original database with the namespace (which is being added to the new node) may suffice). Best, Christian On Mon,

Re: [basex-talk] Problem with BaseX inserting a namespace … how do I stop it

2012-04-02 Thread Christian Grün
Sorry, I still got some questions.. drop database test create database test /initialdb.xml The database you're creating seems to be called test; what's initialdb.xml? 14:00:00.710    [127.0.0.1:49788]       QUERY(4)        declare variable $DB external; insert node audit

Re: [basex-talk] Problem with BaseX inserting a namespace … how do I stop it

2012-04-02 Thread Mike Hawkes
The database contains root auditlog ... elements should end up in here ... /auditlog /root The initial XML file contains the initial nodes with which to populate the XML database (root plus numerous other nodes). The PHP code inserts additional nodes as it runs. For every node I

Re: [basex-talk] Problem with BaseX inserting a namespace … how do I stop it

2012-04-02 Thread Mike Hawkes
Hi Lukas/Christian It's the built-in one as far as I'm aware - I haven't done anything special to add or remove any parsers. But that's sent me down a path where I can get it reliably. It appears that it's coming from another query that I run to check the state of a web-site. As soon as I run

Re: [basex-talk] Moving to log4j, java.util.logging, Apache Commons Logging, etc?

2012-04-02 Thread Charles Duffy
On 04/02/2012 08:07 AM, Christian Grün wrote: Work started on that, present in my github tree (https://github.com/charles-dyfis-net/basex/commits/java_util_logging). Good news, I'll look at that soon. FYI -- I rather strongly disagree with building our own indirection layer to dynamically

Re: [basex-talk] Problem with BaseX inserting a namespace … how do I stop it

2012-04-02 Thread Mike Hawkes
Yep - this definitely causes problems. Insert a node that includes a namespace and all subsequent nodes end up with a namespace inserted. So ... I think this presents a bug: root nodes without namespace/ new nodes work well/ /root vs. root nodes without namespace/ node with

Re: [basex-talk] Moving to log4j, java.util.logging, Apache Commons Logging, etc?

2012-04-02 Thread Charles Duffy
On 04/02/2012 08:07 AM, Christian Grün wrote: Work started on that, present in my github tree (https://github.com/charles-dyfis-net/basex/commits/java_util_logging). Good news, I'll look at that soon. FYI -- I just checked in today's work (which includes better support for controlling