[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: Jonathan Borden <jborden@m...>
  • To: James Clark <jjc@j...>, Rick Jelliffe <ricko@a...>
  • Date: Sun, 03 Jun 2001 23:02:45 -0400

asn structure
Gentlemen,
>
>
> 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.

What sort of "semantic model" are we talking about? The ones I am familiar
with are concerned at the core with type hierarchies or at least things that
look awfully alot like type hierarchies.

Of course I think types can be represented in a very simple fashion i.e. any
constraint defines a type, and a type is no more nor less than a constraint.

>
> 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.
>

And I would say "nor any less than a regular expression interposes ..." that
is to say a regular expression defines a type. Thinking of types in this way
imposes no complexity on information models etc.  ... another way of saying
this is that the type system _defines_ the semantic model.

-Jonathan


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.