jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Berry van Halderen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-2812) Allow whitespaces in base64 encoded binary fields of XML import files
Date Mon, 15 Nov 2010 11:05:16 GMT

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

View raw message