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

Schema, BNF and parsing

  • To: xml-dev@l...
  • Subject: Schema, BNF and parsing
  • From: Andrew Jeavons <apj@a...>
  • Date: Fri, 04 Mar 2005 12:49:51 -0500

bnf schema
First apologies if this is OT for this list or contains egregious 
assumptions and statements....I am not by any means a XML expert.

I have recently started working with a product which uses XML as the 
definition framework. We have a XML (QML we call it) which
describes how to ask questions. So QML has elements like "text", "sub 
question" and so on. We develop scripts which are validated for syntactic
validity and then passed to an execution engine. Of course the QML written 
has to conform to the schema defined. As far as I can currently work
out we use a 2666 line XLST script to check QML. QML is not a complex 
"language", it reminds me of IBM MVS JCL - 5 verbs and 200 qualifiers for 
the verbs.
2666 lines of anything to check this "language" seems extreme. I have 
written parsers using YACC in the past and it seems to me for numerous 
reasons using
some sort of BNF/EBNF defined grammer and Bison/YACC type tools will be 
VASTLY more efficient and flexible. What I would like to ask is are there any
tools anywhere to convert a schema to BNF/EBNF ?

thanks
andrew

Andrew Jeavons



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-2007 All Rights Reserved.