You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Alexander Klimetschek (Commented) (JIRA)" <ji...@apache.org> on 2012/02/21 19:43:47 UTC

[jira] [Commented] (SLING-1077) Try to encode map keys for value map implementations

    [ https://issues.apache.org/jira/browse/SLING-1077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13212792#comment-13212792 ] 

Alexander Klimetschek commented on SLING-1077:
----------------------------------------------

For reference, see SLING-2425 for issues with this encoding.
                
> Try to encode map keys for value map implementations
> ----------------------------------------------------
>
>                 Key: SLING-1077
>                 URL: https://issues.apache.org/jira/browse/SLING-1077
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR
>    Affects Versions: JCR Resource 2.0.4
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: JCR Resource 2.0.6
>
>
> The current value map implementations (JcrPropertyMap and JrModifiablePropertyMap) try to directly use the provided map key as a property name. If the name contains illegal characters (for a JCR) then setting/getting these properties fails.
> Therefore an encoding should be used to avoid these cases.
> We'll use the ISO9075 encoding as a start. Adding this encoding should be compatible to the current implementation as it just adds new use cases.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira