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

Re: A multi-step approach on defining object-oriented natureof


.net multi step operation
8/20/2002 6:49:50 PM, bob mcwhirter <bob@w...> wrote:

>> Now putting it all together:
>> 
>> "DOM: a specification of implementation of
>> representation of representation of our data".
>> 
>> Any problem with this definition?
>
>Many might argue that the DOM is an in-memory representation of our data,
>and XML is just a serialization of that repsentation to octets.

Right.   I think it's better to say that DOM is an
application programming interface to the XML InfoSet.  The InfoSet could
represent HTML after being fixed up by the parser, XML after the parser
has done its job, or some other syntax (WikiML, for example) after being
parsed into Infoset-compatible form.

[OK, "an" infoset, not "the" InfoSet as far as namespaces are concerned!
Dare, if you want a concrete illustration of why namespaces are problematic,
consider how differently they are represented in the various specs.]

So, what's an "interface"?  "a specification of implementation of
something whose implementation is susceptible of specification" may
be a joke and I'm humor-impaired, but it's not a particularly great
definition.  How about "a specification of a software operation
as seen by a program that uses it, without reference to its internal 
implementation."

So, the DOM is a "specification of a standard set of operations on
an XML InfoSet, without reference to its physical data structures or
internal implementation."




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.