> When I don't encode the content stream,
> the modify succeeds, and the result is correct.
A lot of SOAP toolkits will do the base64-encoding for you, so I suspect =
problem is double-encoding.
From: fedora-users-bounces@... on behalf of Timothy Cornwell
Sent: Tue 5/17/2005 2:28 PM
Subject: [Fedora-users] (no subject)
I am trying to change the DC datastream with the modifyDatastreamByValue
method in APIM, but get this message:
"XML was not well formed. Content is not allowed in prolog."
I am base64-encoding the input content by using the
StreamUtility.encodeBase64 in fedora.server.utilities, but the encoding
seems to be a source for my error. When I don't encode the content =
the modify succeeds, and the result is correct.
Fedora-users mailing list