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

Re: A simple guy with a simple problem

  • From: Jonathan Borden <jborden@m...>
  • To: Sean McGrath <sean@d...>
  • Date: Thu, 15 Mar 2001 14:51:11 -0500

simple problems
Sean McGrath wrote:

>
> Grove/Infoset approach: Possible to get the processing right
> and leave the document "the same". Serious complexity
> jump both in terms of the underlying abstractions to grasp and
> the coding required.
>
> My oft-repeated thesis is that I am loath to concede that
> the complexity of the grove/infoset approach is unavoidable.

All too often the terms "infoset" or "grove" are thrown about in a way that
suggests some incomprehensible complexity. In day to day practice, and
particularly for a "simple guy with a simple problem" I say this:

You have posed the wrong problem! Who cares if the document is identical?
SAX (or DOM or XPath or JDOM etc etc etc) provides an interface to handle
processing of your document. When using one of these common interfaces a
bunch of irrelevent information is thrown out. The "infoset" is just a fancy
term that says what information is relevent and what is irrelevent.
Basically this says that if you can't get the information from a SAX or DOM
interface then forget about it (remember you are a simple guy with a simple
problem).

> I am championing the complete separation of DTD and
> instance as a first step towards exploring an alternative,
> layered approach to this sort of processing which makes
> a parsing based paradigm workable whilst leaving
> the unaffected parts of a document "the same" en route to
> further processing stages.
>

Firstly simple guys with simple problems _don't_ use internal subsets. Just
because your toolset includes a fancy wrench doesn't mean that you ought use
it for tightening a simple nut. My advice is to put that wrench away for a
day in which your simple wrench doesn't work -- but don't throw it away
because the day you need it, you'll be glad its in your toolbox.

-Jonathan



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.