W3C home > Mailing lists > Public > public-xml-er@w3.org > February 2012

Re: Deployment and media types

From: David Carlisle <davidc@nag.co.uk>
Date: Wed, 29 Feb 2012 18:00:01 +0000
Message-ID: <4F4E67A1.5080701@nag.co.uk>
To: Mark Baker <distobj@acm.org>
Cc: public-xml-er@w3.org
On 29/02/2012 17:25, Mark Baker wrote:

> So one hand I wanted to ask the seemingly innocuous question, "What
> media type?", and on the other, I wonder if we really want to go down
> this path.
>


Others can speak up if they disagree, but I think there has been an
implicit assumption so far that xml-er would be used as an alternative
parser for things served with an xml media type.

This would match current practice where xml editors and the like already
accept broken xml (otherwise they wouldn't be able to help the user to
fix it) and other systems have been known to fall back to html parsing
if xml parsing fails. Using an xml-er parser rather than an html parser
is hopefully going to be a better match for the intention, and if an
xml-er parser acts like an xml parser on well formed input there is no
need to parse with xml first and use xml-er only on failure as that is
not externaly disnguishable from just parsing with xml-er.

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, 29 February 2012 18:00:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 29 February 2012 18:00:31 GMT