jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sena Gbeckor-Kove <sena...@gmail.com>
Subject unsubscribe
Date Mon, 15 Nov 2010 11:07:33 GMT

On 15 Nov 2010, at 12:05, Berry van Halderen (JIRA) wrote:

> 
>     [ https://issues.apache.org/jira/browse/JCR-2812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
> 
> Berry van Halderen updated JCR-2812:
> ------------------------------------
> 
>    Attachment: patch
> 
> This is a very simple, but effective way just to strip out whitespaces before the actual
import of the Binary properties.
> Patch against trunk revision 1023682, but equally applicable to 2.1 or earlier versions.
> 
> 
>> Allow whitespaces in base64 encoded binary fields of XML import files
>> ---------------------------------------------------------------------
>> 
>>                Key: JCR-2812
>>                URL: https://issues.apache.org/jira/browse/JCR-2812
>>            Project: Jackrabbit Content Repository
>>         Issue Type: Improvement
>>         Components: jackrabbit-core
>>   Affects Versions: 2.1.2, 2.2.0
>>           Reporter: Berry van Halderen
>>           Priority: Minor
>>            Fix For: 2.2.0
>> 
>>        Attachments: patch
>> 
>> 
>> When importing files using Session.importXML(), the Binary property values are Base64
encoded.  However you cannot put whitespaces in them, and XML files with binaries in them
become very long lines.  The files are more manageable if whilespaces could be put in them,
as is common to do in base base64 encoded files.
> 
> -- 
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
> 


Mime
View raw message