From: Eric L. <min...@gm...> - 2009-03-11 15:07:20
|
Wolfgang wrote: > Putting quotes around the path does work for me: > > exist:/db> put "test me.xml" Thanks for the reply. I'm on Windows Vista and I was giving the eXist client shell an absolute path. After reading your reply I knew that the path should be enclosed in "", but that I should not replace spaces with %20, which narrowed things down for me. After that it was easy to discover the problem: I had to use double instead of single backslashes (or simply use forward slashes) as illustrated here: exist:/db> put "C:\Users\guldkungen\workspace\python libxml2 xpath test\P24033.xml" parsed 0 bytes in 0ms. exist:/db> put "C:\\Users\\guldkungen\\workspace\\python libxml2 xpath test\\P24033.xml" storing document P24033.xml (1 of 1) ...done. parsing 13751 bytes took 36ms. parsed 13751 bytes in 36ms. exist:/db> rm P24033.xml removing document P24033.xml ...done. exist:/db> put "C:/Users/guldkungen/workspace/python libxml2 xpath test/P24033.xml" storing document P24033.xml (1 of 1) ...done. parsing 13751 bytes took 33ms. parsed 13751 bytes in 34ms. exist:/db> - Guldkungen |