Thanks for the feedback. Opened OAK-4567 to track the change

On Mon, Jul 18, 2016 at 12:14 PM, Angela Schreiber <anch...@adobe.com> wrote:
> Additionally or alternatively we could create a separate method (e.g.
> putOakFile
> or putOakResource or something explicitly mentioning the non-referenceable
> nature of the content) that uses 'oak:Resource' and state that it requires
> the
> node type to be registered and will fail otherwise... that would be as easy
> to use as 'putFile', which is IMO important.

@Angela - What about Justin's suggestion later around changing the
current putFile implementation. Have it use oak:Resource is present
otherwise fallback to nt:resource. This can lead to compatibility
issue though as javadoc of putFile says it would use nt:resource

Chetan Mehrotra

Reply via email to