W3C home > Mailing lists > Public > public-html-xml@w3.org > August 2011

Re: Suggested revised text for HTML/XML report intro

From: David Carlisle <davidc@nag.co.uk>
Date: Wed, 17 Aug 2011 10:12:52 +0100
Message-ID: <4E4B8614.1040402@nag.co.uk>
To: John Cowan <cowan@mercury.ccil.org>
Cc: "public-html-xml@w3.org" <public-html-xml@w3.org>
On 16/08/2011 23:45, John Cowan wrote:
> David Carlisle scripsit:
>
>> For an xml5-style lenient xml parse (which I'd only define as part
>> of, or companion to, html rather than changing xml itself)
>
> What would be the benefit of lenient XML parsing in the XHTML
> context? You might just as well use the HTML syntax.
>

Well, as I mentioned, I wouldn't want lenient parsing in most xml
contexts, I want the process to die given bad input. It's in a browser,
or similar situations where lenient parsing makes most sense.

There are many things you get on the xml/xhtml side that you don't get
on the html parsing side of the browser. Notably the ability to mix
elements or attributes from other namespaces (or no-namespace for that
matter) and have them parse as xml to be styled by xsl or css or
whatever. Sometimes the disadvantages out-way the advantages (I'm
seriously considering switching the NAG documentation from xhtml+mathml
to html(5)) but sometimes using the xhtml side of things _is_ the right
answer to the "extensibility" issues that plagued the html discussions
for quite some time.

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________
Received on Wednesday, 17 August 2011 09:13:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 17 August 2011 09:13:19 GMT