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

Re: XML Schemas: Best Practices

  • From: Jeff Rafter <jeffrafter@e...>
  • To: "Roger L. Costello" <costello@m...>
  • Date: Mon, 05 Mar 2001 15:57:12 -0800

Re: XML Schemas: Best Practices
> (1) There are many other schema languages besides XML Schemas:
>
>     - Schematron
>     - TREX
>     - RELAX

From my (very limited) experience with TREX it does not support this kind of
constraint (unless there is a TREX implementation of datatypes other XML
Schema Datatypes).  Which is not to say that it should not be considered for
future Best Practices-- it does offer several features that are not
available in W3C XML Schemas (such as interleave, ambiguous content models,
the not element and many more)-- and it is easy to learn.

> (3) The third option is to write a stylesheet to check the constraints.
> [Note: I got this idea from an article written by Rick Jelliffe.]

I think this is a great idea, but I don't see how it differs from option 1
fundamentally.  XSLT in this case is Yet Another Validation Language.  It
has to be learned as well.  Now, if you wanted to recommend a specific
validation language for this purpose (though I think that may be a bad idea)
then I think XSLT is a definite option-- of course Schematron is probably
better formalized for validation. Should options 1 and 3 be combined? or
more fully separated (for each possible schema language)?

Best Regards,
Jeff Rafter


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.