473,563 Members | 2,747 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

XHTML support?


Hey all,

Does anyone know if all the newer browsers support XHTML? My main target is
IE6/NN6+(firefox/mozilla/etc), but I'd like to know if Safari, Opera,
Konqueror, and other browsers also support it.
Anyone know of any major compatibility problems with XHTML?
How do older browsers, such as Netscape 4, react to the doctype?

TIA

--
--
~kaeli~
Murphy's Law #2000: If enough data is collected, anything
may be proven by statistical methods.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 20 '05 #1
21 4164
On Tue, 17 Aug 2004 07:48:00 -0500, kaeli <ti******@NOSPA M.comcast.net>
wrote:

Hey all,

Does anyone know if all the newer browsers support XHTML? My main target
is
IE6/NN6+(firefox/mozilla/etc), but I'd like to know if Safari, Opera,
Konqueror, and other browsers also support it.
Anyone know of any major compatibility problems with XHTML?
How do older browsers, such as Netscape 4, react to the doctype?

TIA


XHTML code is essentially HTML, and as such it's relatively portable to
different browsers. The real problem comes when you serve the document. If
you do not serve your XHTML as text/html, IE cannot handle it. However, in
this case browsers which could have parsed the XML will not. So it's a
choice: serve as text/html and lose the primary benefit of doing XHTML,
serve as application/xml+xhtml and lose the most prevalent UA, or work out
a complex content-negotiation craziness that allows you to serve the
proper document to the user despite what might be cached for them
someplace.

In short - as long as IE or any similar UA exists which holds market share
and cannot handle XHTML properly, HTML 4.01 is the best available way to
code the document.
Jul 20 '05 #2
kaeli wrote:
Does anyone know if all the newer browsers support XHTML? My main target
is IE6/NN6+(firefox/mozilla/etc), but I'd like to know if Safari, Opera,
Konqueror, and other browsers also support it.
Real XHTML?
* Unsupported by IE, lynx and links.
* Supported by Gecko (Mozilla, Firefox, NN 6+ etc)
* Opera - I think has XHTML support.
* Safari - I think it fakes XHTML by treating application/xhtml+xml as
text/html.

XHTML served as text/html?
* Most browsers can error correct
* Emacs W3 (correctly under SGML rules) interprets XHTML self-closing tags
as elements followed by a >
How do older browsers, such as Netscape 4, react to the doctype?


They don't. Guessing the intelligence of the page author based on the
doctype is a new thing.

--
David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 20 '05 #3
In article <cf************ *******@news.de mon.co.uk>,
David Dorward <do*****@yahoo. com> wrote:
Real XHTML?
* Safari - I think it fakes XHTML by treating application/xhtml+xml as
text/html.


It throws up a fatal error when the XHTML is not well-formed, for all it
is worth.

--
Kris
<kr*******@xs4a ll.netherlands> (nl)
Jul 20 '05 #4
David Dorward <do*****@yahoo. com> wrote:
Real XHTML? - - * Opera - I think has XHTML support.


In a sense. Some people might say it has too good support: it does not
recognize predefined entities like &auml; (this is permitted by XHTML
rules), and it refuses to display the page at all if there is a single
"well-formedness" error like missing end tag.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 20 '05 #5
On Tue, 17 Aug 2004 18:59:51 +0000 (UTC), Jukka K. Korpela
<jk******@cs.tu t.fi> wrote:
David Dorward <do*****@yahoo. com> wrote:
Real XHTML?

- -
* Opera - I think has XHTML support.


In a sense. Some people might say it has too good support: it does not
recognize predefined entities like &auml; (this is permitted by XHTML
rules), and it refuses to display the page at all if there is a single
"well-formedness" error like missing end tag.


The wellformedness issue is mandated by the XML specs; MSIE and Mozilla
also honor it. Opera renders as good as it can up until the error,
followed by an error message, while the latest releases of Mozilla will
only show an error message.

--
Rijk van Geijtenbeek

The Web is a procrastination apparatus:
It can absorb as much time as is required to ensure that you
won't get any real work done. - J.Nielsen
Jul 20 '05 #6
"Jukka K. Korpela" <jk******@cs.tu t.fi> wrote:
Real XHTML?- -
* Opera - I think has XHTML support.


In a sense. Some people might say it has too good support: it does not
recognize predefined entities like &auml;


Incorrect.
and it refuses to display the page at all if there is a single
"well-formedness" error like missing end tag.


Also incorrect, that's the way Gecko based UAs work.

--
Spartanicus
Jul 20 '05 #7
In article <op************ **@news.individ ual.net>, ne*****@yahoo.c om
enlightened us with...

In short - as long as IE or any similar UA exists which holds market share
and cannot handle XHTML properly, HTML 4.01 is the best available way to
code the document.


Wow, you know, for such a popular browser, it doesn't seem to support much of
the new stuff. I can't get it to do XML right, either.
I was just using XML for passing some info to and from my applications, so I
figured I'd check out XHTML again. The last I checked on it, like a year or
more ago, it wasn't supported. I was hoping that would have changed. Guess
not.

Thanks to everyone who replied.

--
--
~kaeli~
A man needs a mistress... just to break the monogamy.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 20 '05 #8
David Dorward wrote:
kaeli wrote:

Does anyone know if all the newer browsers support XHTML? My main target
is IE6/NN6+(firefox/mozilla/etc), but I'd like to know if Safari, Opera,
Konqueror, and other browsers also support it.

Real XHTML?
* Unsupported by IE, lynx and links.
...
* Safari - I think it fakes XHTML by treating application/xhtml+xml as
text/html.


BTW, the latest development version of Lynx also treats
application/xhtml+xml as text/html, which seems to be adequate for text
browsers (which don't have to bother with xml-stylesheet PIs, and CDATA
sections within script and style elements).

Jul 20 '05 #9
On Tue, 17 Aug 2004 14:51:21 -0500, kaeli <ti******@NOSPA M.comcast.net>
wrote:
Wow, you know, for such a popular browser, (IE) doesn't seem to support
much of
the new stuff.


As the old Lily Tomlin line goes, "We don't have to care. We're the Phone
Company."
Jul 20 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

24
4677
by: Nobody | last post by:
Okay, you are all so smart in here. Answer me this: IE6 in standards mode doesn't seem to hide scrollbars on the body element (overflow:hide) Ain't this a quandary. I have it in my head that I need to specify html instead. The scrollbars do hide on Gecko browsers though, so there is definitely a disagreement among browser developers on...
20
3272
by: John Bokma | last post by:
Hi, I converted most (not all) of my pages at http://johnbokma.com/ to XHTML. I thought this was just a small change from 4.01. However someone stated quite vaguely that my pages are *not* XHTML since when a UA requests a page and states that it can handle XML the server still responds with a Content-type: text/html I see that...
37
2710
by: Roedy Green | last post by:
does converting the XHTML make matters better or worse vis a vis CSS not behaving the way you expect? -- Bush crime family lost/embezzled $3 trillion from Pentagon. Complicit Bush-friendly media keeps mum. Rumsfeld confesses on video. http://www.infowars.com/articles/us/mckinney_grills_rumsfeld.htm Canadian Mind Products, Roedy Green....
16
7076
by: Mcginkel | last post by:
I am trying to find a way to load XHTML content in an Iframe. I use to do this in html by using the following code : var iframeObject = document.createElement("iframe"); MyDiv.appendChild(iframeObject); var data = "<html><head><title>testing</title></head><body>data</body></html>" iframeObject.contentDocument.open();...
82
5636
by: Buford Early | last post by:
I read this in http://annevankesteren.nl/2004/12/xhtml-notes "A common misconception is that XHTML 1.1 is the latest version of the XHTML series. And although it was released a bit more than a year later then the first version of XHTML 1.0, the second edition is actually newer. Furthermore, XHTML 1.1 is not really the follow-up of XHTML...
12
2401
by: Alex D. | last post by:
How can I stop asp.net from rendering XHTML istead of HTML? My javascripts are rendering wrong because of that. It is rendering &amp; to clients instead of &. Any help? Thanks, Alejandro.
11
4195
by: Tomek Toczyski | last post by:
What is the best way to attach a caption to an image in xhtml? I can attach a caption to a table by a "<caption>" tag but I would like to do sth similar to an image. How to do it in a natural way? -tt.
22
2846
by: Gianni Rondinini | last post by:
hi all. please excuse the misusage of some tech terms, but writing in english is not as easy as in italian :) i'm designing our new website and, since i want to do something that will last as long as possible and since i'm not in a hurry at all, i wanted to use the most up-to-date authoring language. i use quite a lot html 4.01 in the...
6
7835
by: Rolf Welskes | last post by:
Hello, if I have for example: <table style="width: 100%; height: 100%;" border="1"> <tr> <td style="width: 100px">k </td> <td style="width: 100px">k </td> </tr>
0
7664
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7948
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6250
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5484
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5213
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3642
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2082
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1198
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.