OK, thanks by your reply. I am testing with
http://sourceforge.net/projects/mime-util .
James Abley wrote:
Sniff it with JMimeMagic?
Cheers,
James
On May 22, 2009 6:25 PM, hsp_ piccina...@ibest.com.br wrote:
Hi;
In my application, often happen to a file be stored with a fake
Hi;
In my application, often happen to a file be stored with a fake mimetype,
because its extension name that's where I suppose to recognize the mimetype
is. Sometimes the content would not be indexed so.
Is there such a way to recognize with more precision the mimetypes? I would
appreciate this
Ok, I am aware, but I need the references in my model. I won't change my
model, hope the jackrabbit will be better in references in near future.
Thanks
Helio
Alexander Klimetschek wrote:
On Mon, May 11, 2009 at 6:31 PM, hsp_ piccina...@ibest.com.br wrote:
Is there some way that I could get
Hi;
Is there some way that I could get the references with offSet and limit
parameters?
--
View this message in context:
http://www.nabble.com/Node.getReferences%28%29-with-offSet-tp23486788p23486788.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
Hi;
How the xpath could help me in the following case:
I have to retrieve 3 levels of path below a relative path, for example:
A
|_B
|_C
|_D
|_E
|_F
|_G
starting in /A, I need to retrieve the nodes:
/A/B
/A/C
/A/C/D
/A/C/D/E
/A/C/D/F
(not /A/C/D/F/G and the other that
=javax.naming.InitialContext /
param name=url value=java:comp/env/jdbc/Test /
So, it was what I did in the blocks, are they right?
Thanks in advanced for your help.
Helio.
Alexander Klimetschek wrote:
On Mon, Feb 9, 2009 at 7:53 PM, hsp_ piccina...@ibest.com.br wrote:
2009-02-09 16:51:59,732 ERROR
So, the solution is rebuild my own jackrabbit 1.4.8 with the classes afected
patched in version 1.5, while I don't be able to upgrade to 1.5, this way
all configurations will manage connection by JNDI, right?
Thanks Thomas and Alexander.
Thomas Müller-2 wrote:
Hi,
And about other blocks
Hi;
I need to configure the repository in the other way it is working. I will
create a new empty instance.
Nowadays it is working with jackrabbit version 1.4.8, and the repository
configuration is (using by JNDI):
---
Repository
FileSystem
Hi;
I have a need to search node in a level that not match some names.
Take the following tree:
A
A/B
A/B/D
A/C
A/C/E
So, I want to retrieve the nodes only under A, that have the names (or path)
not equal to B (node A/C would be the result in this case).
I tried some searches with xpath and
Hi, I also have interest in this solution.
--
View this message in context:
http://www.nabble.com/Deleting-a-node-also-delete-version-history-of-the-node-tp18104105p18221650.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
Hi;
How I could assign null or blank value into a Date property?
For ex: I have a property that not necessary I put a value in the creation
of node, so at this point it is null. In other situation I get this node and
put some date value into the property, and this node will return in some
And, in the future could I save another date in that property?
Tks
Helio
--
View this message in context:
http://www.nabble.com/Assign-null-to-a-Date-property-tp17430211p17437908.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
I did the following expression:
//element(*,nt:base)(@prop:nome | @prop:categoria)
And it returned:
javax.jcr.query.InvalidQueryException: Lexical error at line 1, column 32.
Encountered: @ (64), after : (: Lexical error at line 1, column 32.
Encountered: @ (64), after : (: Lexical error at
Hi;
How is the correct way to specify column names in result list in an Xpath
search?
I did the following:
1: //element(prop:a | prop:b, nt:base)
and
2: //element(*, nt:base)(prop:a | prop:b)
neigther 1 nor 2 worked.
Thanks.
Helio.
--
View this message in context:
query statement is correct?
regards
marcel
hsp_ wrote:
Hi;
Sorry by put a message in jira, without have sure that was a bug
Well, my problem remains almost the same.
Like you wrote:
You need to escape the initial digit of the uuid. Digits are not valid
start characters for XML
Hi;
Sorry by put a message in jira, without have sure that was a bug
Well, my problem remains almost the same.
Like you wrote:
You need to escape the initial digit of the uuid. Digits are not valid
start characters for XML names.
I would to know if is there in jackrabbit a way in get the result set of a
query like (from 1 to 20).
In version 1.4 there is the count() function, but if I am get the pages of
result set with 20 records each, how to do this in jackrabbit, is there some
funcionality I could use for this?
Thanks
Hi;
I'm afraid in future about to deprecate the Blob external funcionality. I am
aware the new configuration is better and would to migrate.
My question is how to migrate the data presents in filesystem by the
configuration externalBlob true to the newest configuration DataStore?
What I have to
Is there a best way to check if exists a node in repository (by the path
and/or by the uuid).
I have a use case that now is trying to load the node, if it is not null
means it exists, otherwise.
So, I guess that would have a better solution that doesn't need to load all
node, could you help
Which is faster Jukka?
Tks in advanced
Helio
Jukka Zitting wrote:
Hi,
On Nov 22, 2007 9:37 PM, hsp_ [EMAIL PROTECTED] wrote:
Is there a best way to check if exists a node in repository (by the path
and/or by the uuid).
Use session.itemExists(/absolute/path) or node.hasNode(relative
Hi, is there some way to do a search that brings me all the nodes that refers
to a node or some node below it in path? (xpath and sql if possible)
nodes referenceables:
- nodeR1
|_ nodeR2
|_ nodeR3
nodes to search:
- nodeX (prop:x refers to nodeR1)
- nodeY (prop:x refers to nodeR3)
Hi;
I have a xpath search that was working on v1.3 and now, after upgrade to
v1.3.1, stopped to work.
That is:
/jcr:root/Folder//element(*, nt:base)[childNode/@prop:name = 'false']
And the exception:
avax.jcr.query.InvalidQueryException: Encountered ] at line 1, column 136.
Was expecting one
Hi;
I need to do a search that compare the value in a date propertie adding a
constant to this propertie, something like this:
//element(*,nt:base)[ (@prop:date + xs:dateTime('+dateContant+') )
xs:dateTime('+today+')];
My dificult is on: (@prop:date + xs:dateTime('+dateContant+') )
because the
Hi;
I saw in another thread in this forum a post that I can do a query like
this:
select * from nt:base where jcr:path = '/MyFolder/MyNode' OR
jcr:path='MyFolder/MyOtherNode'.
But when I try it I get an error:
Invalid combination of jcr:path clauses
But, It would to work, doesn't it?
Att
Helio
Hello;
I would to know if the value stored in a property of type string has some
size limitation.
I was thinking on put in such propertie a text in html format. Will this
propertie suport this value, I mean, not only a phrase like this is the
text in the property, but something like:
This is the
I think have misunderstanding this post.
I am in trouble with persistence (see my last post) and when saw this
message, I thougth that it would be an alternative to configuration.
I understood that in my repository.xml, the datasources would (should?!)
have one dbshema per each (workspace,
26 matches
Mail list logo