Fixed document repository
Support for "nt:base" if no nodeType specified.