You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Berry van Halderen (JIRA)" <ji...@apache.org> on 2010/11/15 12:05:16 UTC

[jira] Updated: (JCR-2812) Allow whitespaces in base64 encoded binary fields of XML import files

     [ 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.


unsubscribe

Posted by Sena Gbeckor-Kove <se...@gmail.com>.
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.
>