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

Re: DTDs, W3C Schemas, RELAX NG, Schematron?


Re:  DTDs
James Clark wrote:
> 
>....
> 
> I agree that the emphasis on named typing in W3C XML Schema is a profound
> difference from RNG.  One interesting question is whether it would be
> possible to build a schema language that supports named typing yet still has
> (at least most of) the simplicity and power of RNG.  However, I still have
> my doubts that named typing is appropriate for XML.  I would speculate that
> named typing is part of what makes use of DCOM and CORBA lead to the kind of
> relatively tight coupling that is exactly what I thought we were all trying
> to avoid by moving to XML.

And insofar as it is important to map from elements to programming
language types, it isn't necessarily clear that this is the role of a
*schema language*. As you suggest, two partners might decide to agree on
syntax (as specified in an XML schema) and yet differ in how they map
those to programming language types. I think we should have the option
of sharing a type-mapping, but it should be a choice separate from
deciding to share a schema. Also, I think a type-mapping language should
probably be more XPath-y to allow (for example) for type mapping based
on attribute values or the referents of links.

 Paul Prescod

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.