According to https://docs.adobe.com/docs/en/spec/jcr/2.0/3_Repository_Model.html#3.2.1%20Namespaces <https://docs.adobe.com/docs/en/spec/jcr/2.0/3_Repository_Model.html#3.2.1 Namespaces> an empty URI part is totally valid and should be used for non-namespaced names!
> On 11. Feb 2020, at 11:50, Julian Reschke <[email protected]> wrote: > > On 11.02.2020 11:45, Konrad Windszus wrote: >> Also according to >> https://github.com/apache/jackrabbit/blob/b23d6734381e49f236c3705820126803555608b5/jackrabbit-spi/src/main/java/org/apache/jackrabbit/spi/Name.java#L39 >> the default namespace URI is the empty one! > > But that constant does not affect the name format.... > >>> On 11. Feb 2020, at 11:43, Konrad Windszus <[email protected]> wrote: >>> >>> But I am generating this expanded form via >>> DefaultNamePathResolver.getQName("newnode") >>> >>> This returns a org.apache.jackrabbit.spi.Name, whose toString() returns >>> "{}newnode". >>> Is the Name being returned by getQName then being wrong? > > Yes, please open a ticket. > > Best regards, Julian
