Hi Jean-Pierre,

What version of the CMS are you using? 
I have just yesterday fixed an issue for HippoCMS-6.04.xx branch regarding 
Xinha and spaces being inserted at places they shouldn't be, for example: a 
long String containing a 'special' character like ë would get a space inserted 
after the ë character. 
This issue has to do with the HTML-Cleaner component, which has to be updated 
to resolve it. Currently only the trunk and HippoCMS-6.04.xx Branch have this 
fix.

You can update your HTML-Cleaner by editing /hippo-cms/editor/project.xml and 
adding the following dependencies (they replace older dependencies):

    <!-- HTMLCleaner -->
    <dependency>
      <id>daisy:daisy-util</id>
      <version>1.1</version>
      <type>jar</type>
      <properties>
        <war.bundle>true</war.bundle>
        <cocoon.bundle>true</cocoon.bundle>
      </properties>
    </dependency>
    
    <dependency>
      <id>hippo-cocoon-extensions:htmlcleaner</id>
      <version>1.01.01</version>
      <type>jar</type>
      <properties>
        <war.bundle>true</war.bundle>
        <cocoon.bundle>true</cocoon.bundle>
      </properties>
    </dependency>
    
    <dependency>
      <id>nekodtd:nekodtd</id>
      <version>0.1.11</version>
      <properties><cocoon.bundle>true</cocoon.bundle></properties>
    </dependency>
    
    <dependency>
      <id>nekohtml:nekohtml</id>
      <version>0.9.5</version>
      <properties><cocoon.bundle>true</cocoon.bundle></properties>
    </dependency>

Then open file /hippo-cms/editor/src/config/forms-datatype.xconf and change 
  
  <convertor name="htmlcleaner" 
src="org.apache.cocoon.forms.datatype.convertor.HtmlCleaningConvertorBuilder"/>

into

  <convertor name="htmlcleaner" 
src="nl.hippo.cocoon.forms.datatype.convertor.HtmlCleaningConvertorBuilder"/>

Rebuild the cms and your issue should be fixed. If not, please let me know!

Regards,
Arthur Bogaart

[EMAIL PROTECTED] - 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 
> Hippo WCMTech
> Sent: donderdag 7 augustus 2008 9:27
> To: Hippo CMS development public mailinglist
> Subject: [HippoCMS-dev] Randomly added spaces within Xinha
> 
> Hello,
> 
> we discovered a problem with the Xinha editor in the CMS.
> 
> When we open a document for editing ("edit document" of the 
> workflow), sometimes Xinha randomly adds space in the text, 
> at random places thus (and this is quite annoying, especially 
> when the space is added inside a word).
> 
> We thought it was because of the limited length of a line, 
> but if I enter a line a several hundreds of 'a', no space is 
> ever added and the word is kept as a whole...
> 
> Any idea?
> 
> Thank you very much,
> 
> Jean-Pierre
> Smals
> ********************************************
> 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