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

RE: Fast text output from SAX?


asn.1 to text
Stephen D. Williams wrote:
> I want to write an application that allows a form
> editor to define a data schema and data structure
> that mirrors the form with named fields.  The 
> application can create XML documents/objects with
> the new format and input data from a dynamic GUI.
>  It sends the schema (optionally) and the XML form
> data objects to another process which dynamically
> interprets and displays them.
> Trivial with XML, or esXML because the structure and
> naming are integral and the library and application
> can produce and consume the data interpretively.
	There is no reason you can't do this with ASN.1 as well.
Reading a schema is pretty much the same problem no matter what schema
language you're using. ASN.1, XML Schema, whatever,... it is just a
matter of code.
	Building the parsers dynamically is also pretty easy. Even
though traditionally ASN.1 based applications have been "compiled,"
there is no inherent reason for this to be the case. For instance, you
can get a "Compile-And-Go" system from OSS Nokalva that creates
parsers based on ASN.1 on the fly -- just like you would from an XML
Schema. Thus, you have "no IDL compiling, no code stubs, no rebuilding
applications" or any of the other stuff you worry about in your
message. 

> Even with XER, doesn't the ASN.1 have to be
> compiled into code at some point?
	Why would this be necessary? If we can write interpreters
driven by XML Schemas, then it shouldn't be hard to imagine doing the
same for ASN.1. In any case, it has already been done. See the
reference to "Compile-And-Go" above. 

	There isn't anything weird or mysterious about ASN.1. It is
just another schema language. The distinctive thing about ASN.1 is
that it has been carefully designed to allow it to be mapped to a
large number of alternative encodings. Thus, it works just as well
with XML as it does with a variety of binary encodings. 

		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.