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

Re: SAX: Character Stream vs. Byte Stream proposal...

  • From: David Megginson <ak117@f...>
  • To: xml-dev@i...
  • Date: Fri, 17 Apr 1998 13:37:07 -0400

what is a character stream
Tyler Baker writes:

 > Typically, low-level stuff such as this I feel should be
 > implemented once and then reused over and over again.  There are
 > only so many ways to write character encoders / decoders and I
 > would wager that most parsers out there pretty much have very
 > similiar implementations for reading from byte streams.  XML's
 > beauty is not in the fact the spec defines support for about 6 or
 > so different character encoding formats, it is in everything else.
 > If another character encoding format comes out, then every SAX
 > parser will have to possibly do a rewrite.  If people could agree
 > upon one good efficient dependable implementation, then no one
 > (other than the people doing the 600 or so lines of character
 > encoding implementation code) will have to do a thing.  Of course,
 > people could plug in their own character encoder / decoder
 > implementations if they so choose, but at least they would have the
 > choice.

The nice thing here is that all of this can be built on top of SAX
instead of inside it.  Some implementors are already complaining --
quite understandably -- that SAX has grown far too large.  However,
there is a great opportunity here for someone (or a group of people)
to write a separate SAX toolkit that includes what you suggest and
much more (such as classes implementing AttributeList and Locator,
with copy constructors).


All the best,


David

-- 
David Megginson                 ak117@f...
Microstar Software Ltd.         dmeggins@m...
      http://home.sprynet.com/sprynet/dmeggins/

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto: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.