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

Re: RE: Why is there little usage of XML on the 'visible Web'?

  • To: xml-dev@l...
  • Subject: Re: RE: Why is there little usage of XML on the 'visible Web'? because XML has not gratefull degradation.
  • From: Tei <oscar.vives@g...>
  • Date: Thu, 20 Jul 2006 11:17:49 +0200
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=hGDXmx5oVv46wjYAetCnBZ3sVLzcZoVNlXs7M1tH8CTYV6R4uT6JtBGW4B8Qd0XEM8uE6J9B5Con6pSYV2J/18zc9muLrHydavLTIL19Mf/Dzy7ID9aoVwO2oynpgFxPSKBi5dKCfsvQDHrOlL3ZGuuwcyMWZkm1mT+XVY0/rjI=

xml code visible error
On 7/20/06, juanrgonzaleza@c...
<juanrgonzaleza@c...> wrote:
> After reading some really strange replies i would add that not everyone
> knows that not everyone know about Paris.
>
> I wonder how many of that people is designing the next semantic (XML) web.
>

I program a quake game engine (telejano.berlios.de). This game engine
able mods (new games) with this engine. By design decision I recover
from all errors (as posible), the other options is to crash with any
error. I, as engine coder, will care about errors, and my users are
programmers, but my users users are people playing a game. People
playing a game will get angry if the game crash because a resource
file is invalid. EVEN if this resource file is XML. So we need
gratefull degradation. A XML file can define a menu, if the file is
corrupt, the menu will not show, but the game will not crash. And a
error mensaje will be at stderr (well...the game console ).
I guest other engine programmers will feel that this is the right
decision (Gecko, Microsoft HTML render engine, etc).  But XML, by
design, has not gratefull degradation. My old movile phone show a
ERROR 501 (???) if load a invalid xml WML file. So.. its maybe a bad
idea to send text/xml to the client, because any error => bad error.
As a engine coder myself I guest HTML fit better than XML for the
visible web.

I also program remote XUL applications with PHP (here I am the user of
a engine, Gecko). Because my users will use spanish, and I am a poor
programer, a PHP code mystake may break my application (XUL will not
like this solitary &) . So the app will stop with a ugly error.  From
a intelectual POV, I like XML that way: Your code is invalid, your
application will break. But not everyone live IT because love IT and
intelectual questions. So XML will be like ugly for some tipe of
people ( >99% of the world ), the people that hate ugly errors, and
compiler warnings, etc.

Example: Warnings are very good for compilers user, but will confuse
the hell of final users. ( John Sixpack read a alert box with message
"The buffer has been reread withouth new content, this can mean a
offset overflow or repeated ticket", his head roll... and die ).


Conclusion:
Why is there little usage of XML on the 'visible Web'?
Gratefull degradation is good for final users. And is bad, evil and
greedy for programmers. XML has not gratefull degradation by design.
So its not good for final users = visible web.

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.