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

Re: Type and Structure Re: ASN.1 and XML

  • From: James Clark <jjc@j...>
  • To: Rick Jelliffe <ricko@a...>, xml-dev@l...
  • Date: Mon, 04 Jun 2001 18:40:49 +0700

Re: Type and Structure Re: ASN.1 and XML
> Grammars should be an implementation technique,
> not the nub of the question.

Yes. I wouldn't claim that people should necessarily model their information
structures directly in a grammar-based language such as TREX or RELAX.  I
think it's a fine strategy for people to model in some higher-level language
(such as the component-oriented one which you sketched) and then map into a
grammar as one possible implementation technique.  However, whatever
mechanism you use for modelling the conceptual structures, you still need a
mechanism to describe the syntax, so that you can interchange the
representations of these structures.  Grammars are one such mechanism, which
have been proven by more than a decade of experience to be useful for this.
I certainly wouldn't claim that they are the best possible mechanism in all
cases; in some cases, mechanisms like Schematron may be better.

One way to look at a type in the context of XML is simply that it is a set
of XML documents.  In that sense, RELAX, TREX and indeed Schematron all
define types. I am afraid I still don't see how RELAX or TREX are
interposing a type system between the markup structure and the conceptual
model, except in a completely vacuous sense that is equally true of
Schematron.  I see RELAX or TREX as a mechanism for the describing the
syntax that you use to represent a conceptual model in XML.  I don't see how
that is a hindrance to conceptual modelling.

James



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.