Hi, According to https://sling.apache.org/documentation/the-sling-engine/resources.html#resource-types the JCR resource provider determines the resource type as
"The value of the sling:resourceType property or the primary node type if the property is not set (a namespace separator colon is replaced by a slash, e.g. the nt:file primary node type is mapped to the nt/file resource type” However, I couldn’t find any code related to converting the colon to a slash in https://github.com/apache/sling-org-apache-sling-jcr-resource/blob/a1f5532981a118470c74afdba217fa480c1e0cec/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrItemResource.java#L120. Also it seems that in reality the resource type via Resource.getResourceType() is exposed still having the colon from the underlying “jcr:primaryType” value. I know that the servlet resolver somehow treats the resource type as having “/“ instead of “:” but I am wondering if that logic is specific to the servlet resolver. Am I misunderstanding something or is there a bug? Thanks, Konrad
