Hi David,
This might require special casing zero length binary documents, but have you
considered using an AdHocQuery like:
xdmp:document-insert(..., binary {} ,... )
Kind regards,
Geert
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of
> Lee, David
> Sent: woensdag 12 januari 2011 15:52
> To: [email protected]
> Subject: [MarkLogic Dev General] Inserting zero length
> documents with XCC (cant)
>
> I cant find this anywhere ...
>
>
>
> Is it a known limitation that you cannot store zero length
> binary documents in MarkLogic Server ?
> When I try to do a insert() of a zero length file using XCC I
> get this error:
>
>
>
> com.marklogic.xcc.exceptions.ServerConnectionException: An
> established connection was aborted by the software in your
> host machine
>
> [Session: user=DLEE, cb={default} [ContentSource: user=DLEE,
> cb={none} [provider: address=home/192.168.1.10:8016, pool=0/64]]]
>
>
>
>
>
> Is this expected ? a bug ? any idea how to work around it if
> it's a bug ?
>
>
>
>
>
>
>
> ----------------------------------------
>
> David A. Lee
>
> Senior Principal Software Engineer
>
> Epocrates, Inc.
>
> [email protected] <mailto:[email protected]>
>
> 812-482-5224
>
>
>
>
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general