BaseX 7.x windows drive letter regression?

Monday, 24 October 2011 · 2 messages · last reply 25 Oct 2011
C
chadical24 Oct 2011 21:45 #
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
CG
Christian Grün25 Oct 2011 01:20 #
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
Quoted text · chadical · 21 lines
On Mon, Oct 24, 2011 at 7:45 PM, chadical <chadical at 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 at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk > >

⚡Generated with XQuery