jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dario Louzado <louza...@gmail.com>
Subject unable to query for mix:versionable nodes
Date Thu, 13 May 2010 16:58:22 GMT
After I added "mix:versionable" my query (both JCR-SQL2 and JCR-JQOM)
stopped working. I can only query using XPath (currently deprecated).

Here is my query example:
*select * from [doc:documento]*

Here is my nodetype/namespace definition CND file:

*<'doc'='http://www.senado.gov.br/cnd/doc/1.0'>

[doc:documento] > nt:file, mix:versionable
    - doc:dataCriacao (Date)
    - doc:autor (String)
    - doc:orgaoOrigem (String)
    - doc:dataPublicacao (Date)

[doc:docFolder] > nt:folder
    + * (doc:documento)

*What is wrong?

Thanks in advance.
Regards.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message