jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@adobe.com>
Subject Re: Strange XPath Issue
Date Fri, 08 Jul 2011 14:05:05 GMT
On 08.07.11 15:03, "Jack Kirsten" <jkfriends@hotmail.com> wrote:
>As I was browsing the repository, I noticed that vfs:metaData folder is
>actually at the root level of the repository.  So it is something like
>this:
>
>/ (root)
>  /vfs:metaData/
>      /<some JCR uuid>
>         /vfs:attributes/
>  etc....
>
>  /MyApp (sub-folder)
>      /documents/ (sub-folder)
>         /document-1.pdf (file)
>         /document-2.pdf (file)
>     /accounts/ (sub-folder)
>         /account.txt (file)
>
>So I'm thinking for some reason, Jackrabbit decided to make the metadata
>folder structure under root as opposed to making it as part of the
>document
>node itself.  That's why this XPath query works for me because it looks
>from
>the root.
>
>*/jcr:root/vfs:metaData//*[vfs:attributes/vfs:docType='TAX_DOCS']*
>...
>1) Is it possible to configure Jackrabbit to create the metadata folder
>under individual document level itself?

What creates the vfs:metaData in the first place? There is no such node
types or code in Jackrabbit that I know of - this looks like your
application is creating/importing this structure, right?

Regards,
Alex

-- 
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel





Mime
View raw message