On Mon, Oct 3, 2016 at 9:37 PM, Carsten Ziegeler <[email protected]> wrote: > For example, if you drop a file through webdav, I assume it's still > nt:Resource.
Had a look at the Webdav stuff and story here looks interesting. The default implementation in Jackrabbit uses nt:unstructured for the jcr:content node [1] however Sling integration changes the default to 'nt:resource' [2]. Not sure why they differ. But changing here should be simply specifying a new OSGi config or changing the default OSGi config. I know its case by case basis change but I am not able to figure out any easy way out here :( Chetan Mehrotra [1] https://github.com/apache/jackrabbit/blob/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/server/io/DefaultHandler.java#L112 [2] https://github.com/apache/sling/blob/trunk/bundles/jcr/webdav/src/main/java/org/apache/sling/jcr/webdav/impl/handler/DefaultHandlerService.java#L78
