[opencms-dev] Firefox write Valid XHTML code - IE Fails

Stefan Uldum Grinsted sug at interactive.as
Fri Jun 24 12:58:38 CEST 2005


Hi Borja

I'm rather sure that only the MSDHtml editor creates invalid html tags. 
But there is also an editor_configuration.xml file in:

/system/workplace/editors/msdhtml/

You could try to remove the matching regular expression for IE in that 
file, to force the HTMLArea editor to be used in IE.

But before you do try the above, i just found a user preference por the 
preferred editor.
I found it under Preferencer->Editors. Change the Page attribute to 
HtmlArea.

That might just do the trick. But only for the current user of cause.

Med venlig hilsen
Stefan Uldum Grinsted
sug at interactive.as




"Borja Marcos Suarez" <borja.suarez at fundacionctic.org> 
Sent by: opencms-dev-bounces at opencms.org
24-06-2005 12:40
Please respond to
The OpenCms mailing list <opencms-dev at opencms.org>


To
"The OpenCms mailing list" <opencms-dev at opencms.org>
cc

Subject
RE: [opencms-dev] Firefox write Valid XHTML code - IE Fails






Thanks Stefan but it?s not this.
 
In /system/workplace/editors/htmlarea/editor_configuration.xml file I have 
the following lines and Internet Explorer matches with the first regular 
expression.
 
            <agent>^Mozilla/4\.0 \(compatible; MSIE 6\.\d*; .*\)$</agent>
            <agent>^Mozilla/4\.0 \(compatible; MSIE 5\.\d*; .*\)$</agent>
            <agent>^Mozilla/5\.0 \(.* rv:1\..*\) Gecko/200\d* .*$</agent>
 
The problem is that IE writes HTML elements uppercase, without quotes and 
so on while Firefox writes the right code.
 
Is someone editing with IE and generating valid xhtml pages?? How?
 
I?d like to try to change this generator code or to write a class that 
checks the written code and corrects it but I can?t find where is 
generated this code (.js, .jsp, java class,????)
 
What do you think??
 
Thanks for your help,
 
Borja Marcos
 
 

De: opencms-dev-bounces at opencms.org 
[mailto:opencms-dev-bounces at opencms.org] En nombre de Stefan Uldum 
Grinsted
Enviado el: viernes, 24 de junio de 2005 11:08
Para: The OpenCms mailing list
Asunto: RE: [opencms-dev] Valid HTML code
 

Hi. 

I beleave you just have to add an entry in the file: 

/system/workplace/editors/htmlarea/editor_configuration.xml 

so HTMLArea is used in IE. I don't have the correct line, but it should be 
easy as pie. 

Best regards
Stefan Uldum Grinsted
sug at interactive.as



"Borja Marcos Suarez" <borja.suarez at fundacionctic.org> 
Sent by: opencms-dev-bounces at opencms.org 
24-06-2005 10:59 


Please respond to
The OpenCms mailing list <opencms-dev at opencms.org>



To
"The OpenCms mailing list" <opencms-dev at opencms.org> 
cc
 
Subject
RE: [opencms-dev] Valid HTML code
 


 
 




Yeah!

The problem appears only with IE, mmm...I wonder why ;)

Editing with Firefox elements are written in lowercase and are HTML valid.


Now the problem is how to convince content editors to avoid using IE.


Thanks for your response Andras,




-----Mensaje original-----
De: opencms-dev-bounces at opencms.org 
[mailto:opencms-dev-bounces at opencms.org] En nombre de Andras Balogh
Enviado el: viernes, 24 de junio de 2005 10:03
Para: The OpenCms mailing list
Asunto: Re: [opencms-dev] Valid HTML code

Hello,

Which WYSIWYG editor are You using? Have you tried with Mozilla FF and 
HTMLArea?
Or what you describe is happening in IE?

Best regards,
Andras.

Borja Marcos Suarez wrote:

> Hello,
>
> When editing pages with the WYSIWYG editor the HTML elements are 
> written as uppercase letters (LI, P, A...).
>
> This is not valid under W3C recommendation; can anyone tell me where 
> or how can I change all the elements to lowercase?
>
> I'm not sure if I have to change the java code or change a .js file.
>
> Please, help :)
>
> Thanks in advance.
>
> **********************************************************
> Borja Marcos Suárez
>



_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev


_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev

_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050624/5e8a752e/attachment.htm>


More information about the opencms-dev mailing list