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

Re: XML5: Re: MicroXML

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

Re: XML5:  Re:  MicroXML
On Wed, 2010-12-15 at 20:24 -0800, Henri Sivonen wrote:

> To the extent there are people who like Namespaces but who consider
> Draconian behavior a disadvantage for XML, making XML processing
> non-Draconian would give them Namespaces together non-Draconian
> behavior without putting xmlns into HTML. That is, I think Namespaces
> are bad and Draconian error handling is bad, so to make a combination
> that has Namespaces but not Draconian error handling, I think it makes
> more sense to remove one bad thing (Draconian error handling) from XML
> than to add a bad thing (xmlns syntax) to HTML.

Well, this is why I wrote my "unobtrusive namespaces" proposal, to
reduce the syntactic objections. It doesn't address any complaints
about browser APIs and namespaces though.

The XML specification forbids a parser from saying something was XML
if it wasn't. But it doesn't require a "yellow screen of death" and
never has. Error correction is perfectly OK as long as the API
provides a way for the application to determine that the input was
not well-formed XML.

So, you don't need to call it a new version of XML, and you don't need
a new version of XML. E.g. have a required callback for well-formedness
errors, that can return TRY_TO_FIX or GIVE_UP_NOW, and all is well.

(One could argue it's a bug in APache, IIS, etc. to label something as
XML if it's not well-formed; certainly it's in violation of the HTTP
spec, but the Web has always been a bit loose with such things :-) )

For the special case of RSS, I think it'd be better to say that RSS is not
in fact regular XML ,and needs an RSS parser (sadly).

Liam

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


  • Follow-Ups:
    • Re: XML5
      • From: Henri Sivonen <hsivonen@iki.fi>

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.