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

Binary data parser grammar using XML

  • From: Sankaranarayanan K V <sankar@d...>
  • To: xml-dev@l...
  • Date: Tue, 12 Dec 2000 14:53:54 +0530

binary parser
Hi,

Are there any tools which can take a data format specification in XML
and generate code to parse messages conforming to that?

Let me explain what I'm looking for with an example.

Say, I have got a message 8 bytes in length with two integers a and b.
I am looking for a tool using which I can specify

(1) the format of the message (e.g., sequence of type, length, value)

and get either of the following:

(1) generated code using which I can access named fields
    e.g., I can write 

    msg.a(5); 
    msg.b(6);

_or_

(2) a library which can read format specifications at run-time and
    enable access to data fields:

    e.g., I may write:

    msg.set("a", 5);
    msg.set("b", 6);

I would like to the data format grammar specified in XML to have similar
powers as that of ASN.1. For example, I should be able to specify
complex data types like structures and sequences.

Any tools?

Thanks.
Regards
Sankar

-- 
Sankaranarayanan K. V.          | sankar@m...
Motorola India Electronics Ltd  | http://www.mot.com/miel


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.