<br><font size=2 face="sans-serif">Hi Borja</font>
<br>
<br><font size=2 face="sans-serif">I'm rather sure that only the MSDHtml
editor creates invalid html tags. But there is also an editor_configuration.xml
file in:</font>
<br>
<br><font size=2 face="sans-serif">/system/workplace/editors/msdhtml/</font>
<br>
<br><font size=2 face="sans-serif">You could try to remove the matching
regular expression for IE in that file, to force the HTMLArea editor to
be used in IE.</font>
<br>
<br><font size=2 face="sans-serif">But before you do try the above, i just
found a user preference por the preferred editor.</font>
<br><font size=2 face="sans-serif">I found it under Preferencer->Editors.
Change the Page attribute to HtmlArea.</font>
<br>
<br><font size=2 face="sans-serif">That might just do the trick. But only
for the current user of cause.</font>
<br><font size=2 face="sans-serif"><br>
Med venlig hilsen<br>
Stefan Uldum Grinsted<br>
sug@interactive.as<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>"Borja Marcos Suarez"
<borja.suarez@fundacionctic.org></b> </font>
<br><font size=1 face="sans-serif">Sent by: opencms-dev-bounces@opencms.org</font>
<p><font size=1 face="sans-serif">24-06-2005 12:40</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
The OpenCms mailing list <opencms-dev@opencms.org></font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">"The OpenCms mailing list"
<opencms-dev@opencms.org></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">RE: [opencms-dev] Firefox write Valid
XHTML code - IE Fails</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2 color=#000080 face="Arial">Thanks Stefan but it’s not
this.</font>
<br><font size=2 color=#000080 face="Arial"> </font>
<br><font size=2 color=#000080 face="Arial">In /system/workplace/editors/htmlarea/editor_configuration.xml
file I have the following lines and Internet Explorer matches with the
first regular expression.</font>
<br><font size=2 color=#000080 face="Arial"> </font>
<br><font size=2 color=#000080 face="Arial">
<agent>^Mozilla/4\.0 \(compatible; MSIE 6\.\d*; .*\)$</agent></font>
<br><font size=2 color=#000080 face="Arial">
<agent>^Mozilla/4\.0 \(compatible; MSIE 5\.\d*; .*\)$</agent></font>
<br><font size=2 color=#000080 face="Arial">
<agent>^Mozilla/5\.0 \(.* rv:1\..*\) Gecko/200\d* .*$</agent></font>
<br><font size=2 color=#000080 face="Arial"> </font>
<br><font size=2 color=#000080 face="Arial">The problem is that IE writes
HTML elements uppercase, without quotes and so on while Firefox writes
the right code.</font>
<br><font size=2 color=#000080 face="Arial"> </font>
<br><font size=2 color=#000080 face="Arial">Is someone editing with IE
and generating valid xhtml pages?? How?</font>
<br><font size=2 color=#000080 face="Arial"> </font>
<br><font size=2 color=#000080 face="Arial">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,…???)</font>
<br><font size=2 color=#000080 face="Arial"> </font>
<br><font size=2 color=#000080 face="Arial">What do you think??</font>
<br><font size=2 color=#000080 face="Arial"> </font>
<br><font size=2 color=#000080 face="Arial">Thanks for your help,</font>
<br><font size=2 color=#000080 face="Arial"> </font>
<br><font size=2 color=#000080 face="Arial">Borja Marcos</font>
<br><font size=2 color=#000080 face="Arial"> </font>
<br><font size=2 color=#000080 face="Arial"> </font>
<div align=center>
<br>
<hr></div>
<br><font size=2 color=#000080 face="Arial">De: opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] En nombre de Stefan Uldum Grinsted<br>
Enviado el: viernes, 24 de junio de 2005 11:08<br>
Para: The OpenCms mailing list<br>
Asunto: RE: [opencms-dev] Valid HTML code</font>
<br><font size=2 color=#000080 face="Arial"> </font>
<br><font size=2 color=#000080 face="Arial"><br>
Hi. <br>
<br>
I beleave you just have to add an entry in the file: <br>
<br>
/system/workplace/editors/htmlarea/editor_configuration.xml <br>
<br>
so HTMLArea is used in IE. I don't have the correct line, but it should
be easy as pie. <br>
<br>
Best regards<br>
Stefan Uldum Grinsted<br>
sug@interactive.as<br>
<br>
</font>
<p>
<table width=100%>
<tr valign=top>
<td width=46%><font size=2 color=#000080 face="Arial">"Borja Marcos
Suarez" <borja.suarez@fundacionctic.org> <br>
Sent by: opencms-dev-bounces@opencms.org </font>
<br><font size=2 color=#000080 face="Arial">24-06-2005 10:59 </font>
<p>
<br>
<table border=4 width=100%>
<tr valign=top>
<td width=100% bgcolor=white><font size=2 color=#000080 face="Arial">Please
respond to<br>
The OpenCms mailing list <opencms-dev@opencms.org></font></table>
<br>
<td width=53%>
<br>
<table width=100%>
<tr valign=top>
<td width=15%><font size=2 color=#000080 face="Arial">To</font>
<td width=84%><font size=2 color=#000080 face="Arial">"The OpenCms
mailing list" <opencms-dev@opencms.org> </font>
<tr valign=top>
<td><font size=2 color=#000080 face="Arial">cc</font>
<td><font size=2 color=#000080 face="Arial"> </font>
<tr valign=top>
<td><font size=2 color=#000080 face="Arial">Subject</font>
<td><font size=2 color=#000080 face="Arial">RE: [opencms-dev] Valid HTML
code</font></table>
<br><font size=2 color=#000080 face="Arial"> </font>
<p>
<br>
<table width=100%>
<tr valign=top>
<td width=50%><font size=2 color=#000080 face="Arial"> </font>
<td width=49%><font size=2 color=#000080 face="Arial"> </font></table>
<br></table>
<br><font size=2 color=#000080 face="Arial"><br>
<br>
<br>
Yeah!<br>
<br>
The problem appears only with IE, mmm...I wonder why ;)<br>
<br>
Editing with Firefox elements are written in lowercase and are HTML valid.<br>
<br>
<br>
Now the problem is how to convince content editors to avoid using IE.<br>
<br>
<br>
Thanks for your response Andras,<br>
<br>
<br>
<br>
<br>
-----Mensaje original-----<br>
De: opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org]
En nombre de Andras Balogh<br>
Enviado el: viernes, 24 de junio de 2005 10:03<br>
Para: The OpenCms mailing list<br>
Asunto: Re: [opencms-dev] Valid HTML code<br>
<br>
Hello,<br>
<br>
Which WYSIWYG editor are You using? Have you tried with Mozilla FF and
<br>
HTMLArea?<br>
Or what you describe is happening in IE?<br>
<br>
Best regards,<br>
Andras.<br>
<br>
Borja Marcos Suarez wrote:<br>
<br>
> Hello,<br>
><br>
> When editing pages with the WYSIWYG editor the HTML elements are <br>
> written as uppercase letters (LI, P, A...).<br>
><br>
> This is not valid under W3C recommendation; can anyone tell me where
<br>
> or how can I change all the elements to lowercase?<br>
><br>
> I'm not sure if I have to change the java code or change a .js file.<br>
><br>
> Please, help :)<br>
><br>
> Thanks in advance.<br>
><br>
> **********************************************************<br>
> Borja Marcos Suárez<br>
><br>
<br>
<br>
<br>
_______________________________________________<br>
This mail is send to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
http://mail.opencms.org/mailman/listinfo/opencms-dev<br>
<br>
<br>
_______________________________________________<br>
This mail is send to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
http://mail.opencms.org/mailman/listinfo/opencms-dev</font><font size=2><tt><br>
<br>
_______________________________________________<br>
This mail is send to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
http://mail.opencms.org/mailman/listinfo/opencms-dev</tt></font>
<br>