jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tobias Bocanegra <tri...@day.com>
Subject Re: JCR name regexp
Date Tue, 27 Oct 2009 21:07:47 GMT
well, sure. but i don't know it by heart :-)

for quick validation use:

org.apache.jackrabbit.spi.commons.conversion.NameParser.checkFormat(String
jcrName)

regards, toby

On Tue, Oct 27, 2009 at 11:41 AM, Patrick Plaatje <pplaatje@gmail.com> wrote:
> Hi all,
>
> i was wondering if a regular expression exists that will check a given
> string (nodename or path element) to be JCR compliant?
>
> Thanx,
>
> Patrick
>

Mime
View raw message