[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: MicroXML

  • From: James Clark <jjc@jclark.com>
  • To: Henri Sivonen <hsivonen@iki.fi>
  • Date: Thu, 16 Dec 2010 14:50:36 +0700

Re:  MicroXML
On Thu, Dec 16, 2010 at 2:15 PM, Henri Sivonen <hsivonen@iki.fi> wrote:
On Dec 15, 2010, at 23:10, James Clark wrote:

> > (a) Allowing something like <br></br>
> There's legacy content that looks "wrong" if that doesn't render as two line breaks.
> > (b) Allowing something like <a/>
> There's legacy content that looks "wrong" if that's treated as an empty element.
> And this legacy content starts with "<!DOCTYPE html>"?

We want to minimize variation between modes. More modes leads to more code and testing. Unfortunately, there's one mode-dependent parsing behavior:

So the heart of the issue is what is the relative priority as between

  (a) reducing variation between modes
  (b) having standards mode behave in a reasonable way

HTML5 has given absolute priority to (a).  I think there is scope for reasonable people (especially those not associated with browser vendors) to disagree with that priority.

Your link was very interesting.  Back in April 2009, both Gecko and WebKit ignored </br> in standards mode.  Now, thanks to HTML5, they interpret it as a break.

Is it now the case that in a modern HTML5-compliant browser the only effect of putting <!DOCTYPE html> at the beginning is the last quirk you mention (<table> ending a <p>)?


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


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.