W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2006

[whatwg] 9.1.2.1: trailing slash and atheism

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 1 Dec 2006 20:28:05 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0612012012250.4460@dhalsim.dreamhost.com>
On Fri, 1 Dec 2006, Charles Iliya Krempeaux wrote:
> > 
> > This section has nothing to do with XML. If the document was parsed by 
> > an XML parser, then there are much bigger problems afoot, such as MIME 
> > type mislabelling, or a faulty UA.
> 
> Sometimes web developers parse (non-XML) HTML with an XML parser because 
> it's the tool they have on hand.

The solution to this is to provide better tools (which is already 
happening, by the way -- if people want to join the effort, #whatwg on 
Freenode is a good place to start), not to make the language slightly more 
compatible with a fundamentally broken approach.

Some people use books as paperweights. What you are asking is equivalent 
to asking bookmakers to make their books heavier and less prone to opening 
in air currents, because then they would be better paperweights.


> If a PHP developer wants to analyse an HTML page; that developer may try 
> to use SimpleXML <http://php.net/simplexml> because that's what they 
> have on hand and know how to use.  There's no SimpleHTML available in 
> PHP.

As part of HTML5, we will have to provide these tools. Writing a spec for 
how to parse HTML was the first step.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 1 December 2006 12:28:05 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:30 UTC