jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Shoener" <mshoe...@softwareapps.net>
Subject RE: What is allowed in the name of a property
Date Thu, 15 Oct 2009 17:21:43 GMT
Is there any way to escape the name of a property so it will be stored
properly and be able to be searched when querying the repository.

I tried using the "ISO9075.encode" function on the property name when saving
the document in the repository but it does not seem to help.

I tried querying using the original property name and the encoded name and
still no results in the query.


Best Regards,

Michael Shoener
Support Staff
Software Application Services, Inc.


-----Original Message-----
From: François Cassistat [mailto:f@maya-systems.com] 
Sent: Thursday, October 15, 2009 12:52 PM
To: users@jackrabbit.apache.org
Subject: Re: What is allowed in the name of a property

As far as I know, / : [ ] | * ' " and whitespaces are all illegal characters
for names.


Frank


Le 09-10-15 à 11:27, Michael Shoener a écrit :

> I have a mixin that allows my users to define custom properties.   
> Are there
> any characters that are not allowed in the name of a property (i.e.  
> spaces,
> semicolons, periods, etc)
>
> I am asking because I have a custom property called "Form Name"  
> which can
> have any value.  When setting that property on the document and 
> running a query that should return results based on that property it 
> returns none.
>
> Any help would be appreciated.
>
>
> Best Regards,
>
> Michael Shoener
> Support Staff
> Software Application Services, Inc.
>
>


Mime
View raw message