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

RE: SAX for Binary Encodings (preserving investment) (ASN.1 an


asn.1and ber


Bob Wyman wrote:
> 
> Simon St.Laurent wrote:
> > I think you'll likely find massive opposition to such a thing, both 
> > here and at saxproject.org.
> 
> Amelia A. Lewis wrote:
> >Second the motion.
> 
> 	Would this go down easier if rather than proposing a 
> SAX 3, the proposal was to develop an extension to the SAX 2 
> XMLReader interface and then use the standard feature and 
> property facilities to allow callers to define which callback 
> should be made when
> characters() would normally be called? This could be done 
> without perturbing the core SAX 2 interfaces at all.


I have a very strong feeling that we should NOT try to change/extend SAX.

The most sensible thing to do is to implement SAX2 over BER and PER (using
schema information) in such a way that TEXT, and only TEXT, is presented to
the application.  

The application should receive the same series of callbacks, with the same
parameters, regardless of whether PER, BER, or XML is being parsed.  In
other words, the application should not be aware that PER or BER, rather
than XML, is being parsed (*).  When writing, the application should not be
aware that PER or BER, rather than XML, is being produced (*).  

This would enable us to use ASN.1 technologies and XML technologies together
easily.  A "binary-enabled SAX", instead, wouldn't take us anywhere.

Alessandro


(*) except, perhaps, when initializing the parsing process or the writing
process




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.