synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Veithen <>
Subject Re: VFS Text Files with spaces don't work.
Date Thu, 02 Apr 2009 08:01:45 GMT
Are you sure that these spaces get trimmed inside the VFS transport
and not somewhere in your mediation? Normally the plain text message
builder is designed to strictly preserve the file content (including
spaces), so this would be a serious bug.


On Thu, Apr 2, 2009 at 08:52, kimhorn <> wrote:
> Run into a problem with VFS reading text files with fixed field length
> fields, where empty fields are padded with spaces. There are a number of B2B
> formats that do this.
> If the empty fields are at the start or end of the file then when these are
> inserted into XML as Payload the
> XML removes the spaces. The text should be wrapped in CDATA with double
> Quotes to preserve this space data; but VFS does not do this. So the fields
> at start or end of file get lost and hence the whole file is now garbage.
> Hopefully reading them as binary files (not plan text) will get over this ?
> Other ideas ?
> --
> View this message in context:
> Sent from the Synapse - Dev mailing list archive at
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message