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

Re: XML API specification

  • From: dgd@c... (David Durand)
  • To: xml-dev@i...
  • Date: Fri, 28 Feb 1997 12:04:55 -0500

thread in xml
At 2:54 PM +0000 2/27/97, Peter Murray-Rust wrote:
>In message <199702271419.JAA24115@n...> gtn@e... (Gavin Nicol)
>writes:
>> I think that for the *parser*, we should define an event-handling
>> interface, as it is much simpler to build certain applications
>> that way, and because you can build a tree from a stream of
>> events if you need to.
>
>In CoST Joe English supported both eventStreams and trees (I'm sure Joe will
>have some wisdom on this one).  I started off using the event mechanism
>and switched to a tree-based one but I suspect that this was the nature of
>the
>application.

An addition to my previous advocacy of event-based processing.

It may be worth defining/supplying classes for a standard tree
representation, and a standard builder class that can create those -- so we
define the stream, but provide a ready-cooked abstract sytnax tree
representation for those who want it.

Personally I see groves as semantically equivalent to the API, but as so
obscure that they should not be a priority for our explanations of the API.
We probably need to refer to groves, for those who already know about them.
However, very few of our target audience of implementors will already know
about groves, nor will they care, if they can understand the API without
them.

I see XML-groves and XML-API as parallel and needing to be in synch. I
don't see either as having to depend on the other, though, and frankly,
given the relative penetration of groves and Java into the "global
developer consciousness", I don't see groves as that high a priority.


  -- David




_________________________________________
David Durand              dgd@c...  \  david@d...
Boston University Computer Science        \  Sr. Analyst
http://www.cs.bu.edu/students/grads/dgd/   \  Dynamic Diagrams
--------------------------------------------\  http://dynamicDiagrams.com/
MAPA: mapping for the WWW                    \__________________________



xml-dev: A list for W3C XML Developers
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To unsubscribe, send to majordomo@i... the following message;
unsubscribe xml-dev
List coordinator, Henry Rzepa (rzepa@i...)


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.