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

RE: The relentless march of abstraction

  • From: Eric Bohlman <ebohlman@e...>
  • To: Don Park <donpark@d...>, XML-Dev <xml-dev@l...> (E-mail)
  • Date: Tue, 27 Feb 2001 01:07:30 -0600

xml dollar sign
2/26/01 8:56:01 PM, Don Park <donpark@d...> wrote:

>I think infoset spec confuses people because there is no
>obvious use for it, like the way a history major would feel
>in a linear algebra class.  IMHO, 99% of XML users will find
>no use for it.  I found "Appendix D: What is not in the
>Information Set" useful as a list of what not to depend on
>when designing systems, but rest is just elevator music to me.

I think it confuses people because it's a description of an abstract model, 
not a concrete programming API.  The way I see it (yeah, I was a math major), 
the infoset model specifies which aspects of an XML document are invariant 
under certain (editing) transformations of that document.  For example, '$', 
'&#36', and '&#x24' make exactly the same contribution to the infoset, and 
therefore any application that relies on the infoset should not change its 
behavior if the particular method of writing a dollar sign in the source 
document changes (I picked the dollar sign because in WML, a literal dollar 
sign has different semantics from a dollar sign written as a numeric character 
reference.  This sort of dependency severely constrains parser APIs).

Note that there are always going to be some applications that do require 
purely lexical information about documents.  If you have a book in which each 
chapter is physically represented as an external parsed entity and you want to 
run it through a filter that looks up and inserts details for bibliographic 
references, you really do want its output to have the same physical entity 
structure as its input, rather than condensing the entire book into a single 
parsed entity.  But many applications don't require those lexical details, and 
an abstract model like the infoset tells implementers what details they can 
handle themselves and what details they can delegate to the parser.




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.