W3C home > Mailing lists > Public > public-html@w3.org > July 2009

Re: Proposal: @parsing="loose | strict"

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 14 Jul 2009 00:32:57 -0700
Message-ID: <4A5C34A9.4030209@mit.edu>
To: Doug Schepers <schepers@w3.org>
CC: "public-html@w3.org" <public-html@w3.org>
Doug Schepers wrote:
> To meet this need, I propose a new attribute, 'parsing', which, when 
> placed on the document root, defines the type of parsing which a UA must 
> use when parsing the document.  The values would be "loose" and 
> "strict", with loose parsing as the default (an omitted @parsing 
> attribute would result in loose parsing).
...
> and very little implementation cost, since browsers will already have both modes

Is the proposal actually to parse part of the document (with which 
parser?), then switch to an XML parser in some cases?  Or something else?

If that's the proposal, how is that better than the existing ability to 
select the XML parser using the MIME type?  It seems strictly more 
difficult from an implementation standpoint (very very complex to 
specify and implement, in fact), and the XHTML MIME type is 
well-enough-supported by servers that I have a hard time believing that 
someone who wants to send data with that type can't.

If that's not the proposal, then we are in fact proposing a third 
parsing mode, sounds like (with corresponding spec and implementation 
complexity).  This might be worth it, but I just want us to be clear on 
the costs.

-Boris
Received on Tuesday, 14 July 2009 07:33:39 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:48 UTC