cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuil Batsis (Manos)" <mbat...@humanmarkup.org>
Subject Re: XHTML Serilization instead of HTML S.
Date Thu, 19 Sep 2002 09:54:48 GMT

Probably because what you have there is not XHTML. You don't have a 
DOCTYPE declaration. For more information about how Mozilla chooses 
between the XHTML and HTML display modes (using MIME, DOCTYPE and file 
extentions), see [1].

Your markup, is not XHTML; a namespace alone is not enough. AFAIK, there 
is no XHTML DTD that accepts marginheight attributes on the body tag ;-)


[1] http://www.mozilla.org/newlayout/xml/

Manos




Alexander Schatten wrote:
> Greg Jones wrote:
> 
>> How are you creating your HTML. This looks like the issue might be in
>> your .XSL file that is creating the <A href></A> tag.  The two tags
>> XHTML and HTML should work the same.
>>
> 
> how could this be an issue of the XSL file??? the xsl file has to be XML 
>   well-formed, hence you have to write XHTML. the xslt prozessor e.g. 
> xalan then has the ability to create valid HTML instead of XHTML.
> 
> the problem is, that mostly XHTML works the same like HTML in browsers, 
> but especially mozilla showes strange behaviour when serving XHTML 
> documents e.g. by using the <a /> element.
> 
> the behaviour is the following: when you move the mouse over a text 
> paragraph, where there is a <a name=""/> tag before, the text of the 
> complete paragraph turns into the color of a link and behaves like a 
> link, though it is no, off course, and clicking is ignored.
> 
> when you move the mouse away, the link color is also away again. 
> strange? yes it is. if you do not believe me, try
> 
> http://popowa.ifs.tuwien.ac.at:9000/cocoon/oswp/index.html
> 
> 
> with Mozilla 1 and you will notify this behaviour. and this is off 
> course not desired!
> 
> 
> 
> Alex
> 
> 
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
> 
> 
> 



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message