jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-2812) Allow whitespaces in base64 encoded binary fields of XML import files
Date Fri, 26 Nov 2010 15:45:15 GMT

     [ https://issues.apache.org/jira/browse/JCR-2812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Jukka Zitting resolved JCR-2812.

    Resolution: Fixed
      Assignee: Jukka Zitting

An even simpler and more general fix is to modify the Base64 utility class to ignore whitespace
characters. Done in revision 1039423.

> 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
>            Assignee: Jukka Zitting
>            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