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

RE: XUL Compact Syntax Study Now Online - Is XML too hardfor A


RE:  XUL Compact Syntax Study Now Online - Is XML too hardfor A

Bob,

On Wed, 21 Apr 2004, Bob Wyman wrote:

> 	No. Not really. You just got caught in the cross-fire of the
> meta-discussion. What you have done, mapping to and from SAX events,
> is a correct way to approach this problem. Because you have done this,
> it means, in theory, that I am completely shielded from your syntax.
> i.e. I can read it with the same tools that I might be reading XML and
> if I really want to, I should be able to convert it either to XML or
> to some other syntax of my own choosing.

Indeed.  Very much so.  Your description of the ALL-IN-1 editor does
sound sweet, and exactly the sort of thing that the Infoset makes
possible.

I remember being rather inspired by a description of TechnoTeacher's
GroveMinder.  Similarly to your editor, you define all your processing on
the grove/infoset, which means you don't have to care where the assorted
input groves come from.  They could come from pointy-bracket-land, or
databases, or some sort of funky custom back-end, and the grove/infoset
processor doesn't have to either know or care!

This did promote the rather nice view that DSSSL wasn't a mapping of
elements to elements, but from groves to groves.  That will have led
directly into the specification of XSL as a mapping from Infoset to
Infoset.  That appeals to me.  But it's yet another can of worms.

> 	One problem: SAX isn't Infoset. Thus, there are some
> limitations to your mappings that might have been better addressed by
> mapping to Infoset. Ideally, SAX would map to Infoset as well and thus
> give you the mapping to and from XML or any other syntax derived from
> Infoset.

Pity.  ASN.1 or the infoset might be a project for the future; but for
now, SAX was what XT and javax.xml.transform.Transformer wanted, so SAX
was what they got....  (well, I could have used DOM, but there's yet
another worm-can).

All the best,

Norman


-- 
---------------------------------------------------------------------------
Norman Gray                        http://www.astro.gla.ac.uk/users/norman/
Physics and Astronomy, University of Glasgow, UK     norman@a...

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.