Hi Lukas,

you're bugfix in Git worked! Thanks again, we're happily importing everything now.

Hartelijke groet,

Huib Verweij.

Op 4 jul 2011, om 22:19 heeft Lukas Kircher het volgende geschreven:

Hi Huib,


your last email cleared things up a bit, thanks. At least I can imagine
now where this strange (and for sure incorrect) behavior originates.

Is it possible for you to strip down the problem to a more basic version?


Regards,
Lukas



On Mon, Jul 4, 2011 at 1:46 PM, Huib Verwey <Huib.Verwey@mpi.nl> wrote:


Op 4 jul 2011, om 08:59 heeft Huib Verwey het volgende geschreven:

I've been playing with curl, uploading a document to the newly created "test" database and everything works fine. However, when I do the same but instead upload to the "lexus" database (the one I use for my webapp) I lose the namespace declaration again.

And I really do not know what to say now, so I'll leave it at that ;-).

Actually I do have comments.

Just to be clear: the "lexus" database was not empty like the "test" database.

We see the same behavior on our test machine and on our acceptation machine.

I tried another experiment using curl and the basexclient. I cleared the "lexus" db with the "delete /" command. Then I uploaded the test document with the dcr: attribute. When retrieving the test document, it was OK. Then I uploaded all the Lexus documents that were in the database before. When retrieving the test document, it was still OK. Then I cleared the database again, but immediately uploaded all the Lexus documents that were in the database before. After that I added the test document again. When I retrieved the test document it was missing the dcr namespace.

Odd huh?