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

Re: Towards XML 2.0

  • From: Andrew Welch <andrew.j.welch@gmail.com>
  • To: Ben Trafford <ben@prodigal.ca>
  • Date: Wed, 8 Dec 2010 10:03:25 +0000

Re:  Towards XML 2.0
> On Tue, 2010-12-07 at 20:25 -0500, Kurt Cagle wrote:
>> That's one of the central problems with any solution of getting XML on
>> the browser

For me "getting XML on the browser" isn't the goal.. it's making XML
easier to work with for the average dev - the reading and writing of
config files, generating the intermediate formats etc.

The typical problems that I see that frustrate people to point of
hating XML are just because they've treated it as a string - encoding
issues, broken namespaces, lone amperstands and left angle brackets
etc.  What appears to be a simple change to the file (say using a
regex) breaks it completely, and for encoding issues this can be a
real pain to track down.

I've spent so much time telling people "you can't treat xml as a
string" and then tried to explain some ways to do the update... people
lose interest quickly when faced with SAX (try teaching SAX to someone
to make a small change to a config file!), then get confused later
when I mention Saxon, they really don't want to learn a new language
like XSLT or XQuery, then there's JDOM or XOM or DOM... all options,
all come with yet more libraries to add to the project.

Perhaps I'm missing the golden simple way and a helpful teaching
manner, but I can see the will to live draining from their eyes as I
talk XMLFilterImpl and buffering the Characters...

The 'next xml' needs to be treatable as a string... JSON is just a
string, right?


-- 
Andrew Welch
http://andrewjwelch.com


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