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?

Hartelijke groet,

Huib Verweij.
--
Drs. Huib Verweij
Senior software developer - The Language Archive
Max Planck Institute for Psycholinguistics
P.O. Box 310
6500 AH Nijmegen
The Netherlands
t +31-24-3521911
e huib.verwey@mpi.nl
w http://www.mpi.nl/