[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 hard for


how to edit xml online
Norman Gray wrote:
> Was this addressed to me?
	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. If the mapping is complete
and correct, and I have an XML editor that uses SAX to read XML files,
it should also be possible for me to use that XML editor to edit your
stuff... (I would see "XML" even though what was read was your
syntax.)
	This is very much like what we did with ALL-IN-1 way back in
the early 80's. I defined a thing we called a "Text-Dataset Access
Block" (Text-DSAB) which allowed us to do things like edit Wang, IBM,
or Xerox wordprocesing documents with a single editor. The idea was to
define a single in-memory datastructure that defined a superset of
what wordprocessor files could express and then create mappings to and
from the Text-DSAB for each file format. It was sweet... We could edit
"anything" with a single editor and thus were able to gain quite a bit
of business in the commericial office automation world... While other
vendors were constantly fighting for "their" document format, we
simply didn't care -- our code worked with anything...

	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. However, the SAX and Infoset discussion is yet another
permathread that we probably shouldn't open up in this context...

		bob wyman


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.