[opencms-dev] Re: OpenCmsHtml Bug ???

Martin Rioux martin.rioux at crim.ca
Mon May 1 21:45:49 CEST 2006


Hi

The only thing I did is to remove the value of the property 
"content-conversion" when I create a new file (XML content type). If this 
property  "content-conversion" is set to a empty String, everything is fine.

I have the same kind of problem when I do  "cleanup HTML code" (In 
FCKEditor) with a normal html page (page with free text). If the html source 
page is something like :

"a sample text ... jfwioaejf ojf ioawjfioeawj foijaw foiawj ifxdddddd"

when I do html clean up in Fckeditor, the last 10 characters are remove. But 
if the file is enclosed in a html tag like "<p>a sample text ... jfwioaejf 
ojf ioawjfioeawj foijaw foiawj ifxdddddd</p>" everything is fine if I do a 
"cleanup HTML code".

I think those problems are related.

Martin



----- Original Message ----- 
From: "Jonathan Woods" <jonathan.woods at scintillance.com>
To: "'The OpenCms mailing list'" <opencms-dev at opencms.org>
Cc: <martin.rioux at crim.ca>
Sent: Monday, May 01, 2006 1:55 PM
Subject: RE: OpenCmsHtml Bug ???


> Martin -
>
> You said:
>
>>>> I have exerienced a problem with type="OpenCmsHtml" of a xml-content.
> When creating a new file (ex. structured content -> job offering) the
> property content-conversion is set to "cleanup;xhtml". When you edit the
> file the last 10 characters of the "long description" (excluding spaces) 
> are
> not saved. If you set the property  content-conversion to "" everthing is
> fine.
>
> I get something similar.  I have a custom XML content type (i.e. a new
> schema) in which elements of type OpenCmsHtml seem to lose the last 10 or 
> so
> characters, either on saving or when they're read back in (haven't yet
> confirmed which).  Did you get to the bottom of this?
>
> Jon
>
> 





More information about the opencms-dev mailing list