XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] IE9 and application/xhtml+xml

On 19.8.2011 9:50, Jesper Tverskov wrote:
> All major browsers today support mimetype "application/xhtml+xml":
> IE9+, Safari, Firefox, Opera, Chrome. They all render XML webpages
> incrementally. Very nice.
> 
> They all, except IE9, show an error message if there is a well-formedness error.
> 
> But IE9 switches to HTML parsing instead of showing an error message!

No, IE9 stops processing and renders content before the first error.

> Question. IE9's behavior is in my opinion in opposition to what the
> spec demands. 

AFAIK no specification ever prohibited web-browser from trying to fix
broken XHTML by using different more lenient parser.

> I find it confusing but could
> it be the way forward to get "application/xhtml+xml" more widely
> adopted?

Maybe, but realistically what is advantage of serving web page as
application/xhtml+xml instead of text/html? Try to forget to XML bias
which most of xml-dev subscribers probably have. ;-)

				Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------

OpenPGP digital signature



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS