jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: string to number cast
Date Wed, 22 Jun 2005 08:06:15 GMT
Hi Pawel,

thanks for reporting this. I have created a jira issue:
http://issues.apache.org/jira/browse/JCR-143

this behaviour has been introduced with a fix for a similar problem 
where a string was not cast into a name literal.

I'll fix it asap.

regards
  marcel

Pawel Sabina wrote:
> hi,
> 
> i have node attribute of type String containing telephone number. when 
> i'am querying this node by phone_no attribute there is no node found? 
> its enough to prefix the number with non digit and then it is found. is 
> there any default casting done behind the scene, how can i force string 
> to be not casted?
> 
> /nodes/node[telephon_no='1234']
> 
> pawel
> 

Mime
View raw message