Greets-
Just bumped to 7.0.1 and java api calls to cmd.Add are failing with 'invalid filename' anytime a path is passed in that includes a drive letter such as "C:/dir/test.xml". If I remove the "C:" it works.... Also tried upper/lower case drive letter.
other api calls such as an xquery that writes to an output file (file:write('c:/dir/output.xml',$results) works fine...
Next, if I pull out the c:, the add document fails with a "Document is empty."
Switch back to 6.8 and everything works fine...
win32 jdk6_u29
Regards, Chad
Dear Chad,
with Version 7.0, the syntax of the ADD commands has changed; this might be reason for the confusion. How do your exact API calls look like?
Best, Christian ________________________________________
On Mon, Oct 24, 2011 at 7:45 PM, chadical chadical@yahoo.com wrote:
Greets- Just bumped to 7.0.1 and java api calls to cmd.Add are failing with 'invalid filename' anytime a path is passed in that includes a drive letter such as "C:/dir/test.xml". If I remove the "C:" it works.... Also tried upper/lower case drive letter. other api calls such as an xquery that writes to an output file (file:write('c:/dir/output.xml',$results) works fine... Next, if I pull out the c:, the add document fails with a "Document is empty." Switch back to 6.8 and everything works fine... win32 jdk6_u29 Regards, Chad
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
basex-talk@mailman.uni-konstanz.de