[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...>
  • Date: Tue, 05 Jun 2001 04:30:17 +0700

trex asn.1
Rick Jelliffe wrote:

> The grammar-based schema languages are trying
> to interpose some type system between markup structure
> and the model, without any guarantee that their type systems
> will be any easier to map to a model than the original structures
> were. Witness XML Schemas, which is conceived in terms
> of "components" (its model) but has no analog of "component"
> in either its type system or its markup. TREX and RELAX
> seem to snuffling for diamonds in the same sandpit, with as
> much chance for success.

I do not see either TREX or RELAX as trying to interpose a type system
between markup structure and the model (I assume you mean a
conceptual/semantic model).
In fact, this is one of the big differences in philosophy I see between
TREX and RELAX on the one hand, and W3C XML Schema on the other.

TREX and RELAX both avoid modelling features such as inheritance.  The
focus of TREX and RELAX is, like that of XML, syntax.  TREX and RELAX
are markup-centric: they allow you to describe the syntax of an
XML-based language. They don't build complex information structures
(like the PSV infoset) that attempt to provide a richer model than that
which is inherent in well-formed XML.  TREX and RELAX don't impose
anything on XML other than what it already inherent in well-formed XML. 
That's why, unlike XML Schema, TREX and RELAX don't modify the infoset.

I don't believe the use of TREX and RELAX interposes a type system
between an XML-based language and a semantic model, any more than the
use of regular expressions interposes a type-system between a
string-based language and a semantic model.

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