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

Carsten Ziegeler commented on SLING-553:
----------------------------------------

I think it would be better to encode the "reference" information in the name 
instead of the value - if you use the value, it might class with a "real" value 
starting with "reference:".
We could use a name format that makes up an illegal property name to not clash 
with existing property names: something like "jcr:reference:PROPERTY_NAME"


> Allow references and paths to be loaded from JSON through JsonReader
> --------------------------------------------------------------------
>
>                 Key: SLING-553
>                 URL: https://issues.apache.org/jira/browse/SLING-553
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR Contentloader
>    Affects Versions: JCR Contentloader 2.0.2
>            Reporter: Bryce Ewing
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>         Attachments: contentloader.patch
>
>
> Allows references and paths to be loaded from json through JsonReader, when a 
> value starts with "reference:" or "path:".  Also needed to be able to 
> reference a file that had been loaded in from say test.html which loads as 
> just nt:file, so thought that when a reference is made to a nt:file type then 
> automatically add the "mix:referenceable" type.
> If either of these options doesn't seem like a good idea please let me know 
> what some other options might be.
> Cheers Bryce

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to