Jasha,
your suggestion fix the broblem.
Thank you
Alessandro

2008/8/1 Jasha Joachimsthal <[EMAIL PROTECTED]>:
> Did you try to XML escape it as &amp;?
> When documents are created and managed from the CMS, no caption will
> contain @ & . < > \ / ? ' or "
>
> Jasha Joachimsthal
>
> www.onehippo.com
> Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466
> San Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA
> 94952-3329 +1 (707) 773-4646
>
>
>
>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of
>> Alessandro Vincelli
>> Sent: vrijdag 1 augustus 2008 16:30
>> To: Hippo CMS development public mailinglist
>> Subject: [HippoCMS-dev] Hippo Repository Adapter - document
>> propertycontains "&"
>>
>> I'm triyng to set some properties on hippo document.
>> But when the value of the property contains the character "&"
>> I receive http 400 error code.
>> I'm using:
>> nl.hippo.client.api.service.WebdavService
>>
>> Example:
>> I create the property:
>>
>> Collection<Property> collProps = new ArrayList<Property>();
>> collProps.add(new Property("h", "http://hippo.nl/cms/1.0";,
>> "caption", "some text and the character & "));
>>
>> Then I call the method executePropPatch():
>> webdavService.executePropPatch(documentPath, null, collProps);
>>
>> And I receive http 400 error code.
>> Any suggestions?
>> Thanks in advance
>> Alessandro
>> ********************************************
>> Hippocms-dev: Hippo CMS development public mailinglist
>>
>> Searchable archives can be found at:
>> MarkMail: http://hippocms-dev.markmail.org
>> Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
>>
>>
> ********************************************
> Hippocms-dev: Hippo CMS development public mailinglist
>
> Searchable archives can be found at:
> MarkMail: http://hippocms-dev.markmail.org
> Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
>
>
********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html

Reply via email to