No obvious cause for the failure yet but it feels like a bug that is
revealed by a particular configuration organization.

Cheers,

E.
—————
Eliot Kimber, Owner
Contrext, LLC
http://contrext.com




On 4/12/15, 12:19 PM, "Eliot Kimber" <ekim...@contrext.com> wrote:

>It's definitely a function of my local .basex settings. If I revert to the
>default settings (make the basex install dir .basexhome and remove
>~/.basex) then the replace succeeds.
>
>Trying to figure out what the setting is that results in the failure.
>
>Cheers,
>
>E.
>—————
>Eliot Kimber, Owner
>Contrext, LLC
>http://contrext.com
>
>
>
>
>On 4/12/15, 11:36 AM, "Eliot Kimber" <ekim...@contrext.com> wrote:
>
>>Using the basex Zip distribution for both 8.0.3 and 8.1, I'm getting a
>>failure on REPLACE but not ADD for the same XML data.
>>
>>This command succeeds:
>>
>>basexclient -c "CHECK dfst_dfst-sample-project_master; OPEN
>>dfst_dfst-sample-project_master; ADD to dfst/metadata.xml
>><dfst_metadata/>"
>>
>>
>>But this command fails
>>
>>basexclient -c "CHECK dfst_dfst-sample-project_master; OPEN
>>dfst_dfst-sample-project_master; REPLACE dfst/metadata.xml
>><dfst_metadata/>"
>>
>>"..." (Line 1): Premature end of file.
>>
>>
>>This definitely worked in the past, so something must have changed on my
>>system.
>>
>>Obviously, the error message is not very helpful in this case.
>>
>>Any idea what the problem might be or how I would diagnose this failure?
>>
>>Thanks,
>>
>>E.
>>
>>—————
>>Eliot Kimber, Owner
>>Contrext, LLC
>>http://contrext.com
>>
>>
>>
>>
>
>
>


Reply via email to