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

Re: XMLisms and HTML parsing and modes (was: Re: XML5)

  • From: Liam R E Quin <liam@w3.org>
  • To: Henri Sivonen <hsivonen@iki.fi>
  • Date: Thu, 16 Dec 2010 17:13:44 -0500

Re:  XMLisms and HTML parsing and modes (was: Re: XML5)
On Thu, 2010-12-16 at 11:44 -0800, Henri Sivonen wrote:

> > I had thought it applied to XML tags in general, but it seems not.
> It's a problem that people have that misconception. It's *very*
> annoying that XML came up with <foo/> and then people started thinking
> that <div/> was an empty element in HTML, too, and keep bugging
> developers of HTML consuming software about it. HTML legacy started
> accumulating before XML existed, so it's not OK to change stuff just
> because XML added something new and XML and HTML look alike.

This <syntax /> came from SGML and was already legal in HTML from a
formal standards perspective. It's *very* annoying the the... no...
I don't think pointing fingers is productive.

We have to work with what we have.  I don't think going back to the
full SGML syntax rules would be a good idea for either dialect.
Who was there first isn't a good argument really.

The XML empty element syntax was chosen because it was already
legal SGML syntax and it worked (at the time) in Web browsers, for
elements the Web browsers already knew were declared as empty.



Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org www.advogato.org

[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.