You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2023/02/25 20:58:00 UTC

[jira] [Commented] (JCRVLT-691) The escaping "\0" is also used for single value Binary and String properties

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

Konrad Windszus commented on JCRVLT-691:
----------------------------------------

[~tripod] Do you remember if there is a reason for using {{\0}} in single value properties?

> The escaping "\0" is also used for single value Binary and String properties
> ----------------------------------------------------------------------------
>
>                 Key: JCRVLT-691
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-691
>             Project: Jackrabbit FileVault
>          Issue Type: Improvement
>            Reporter: Konrad Windszus
>            Priority: Major
>
> In JCRVLT-4 a special escaping for a multi-value property containing only a single value with the empty string was introduced. This escaping is also used for single-value String and Binary, although those are not ambiguous.
> The parsing of those values doesn't differ though whether it is containing the {{\0}} or not, but it would be good to omit those unnecessary characters in the serialization.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)