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

Re: RELAX NG


relax pub
2/2/2002 3:03:05 AM, tariq abdur-rahim <ecliptoid330@y...> 
wrote:


>Can anyone briefly explain to me what exactly is RELAX
>NG, how it is implemented, and what is its
>relationship to XML.

RELAX NG is a schema definition language for XML, analogous to W3C 
Schema Definition Language (part 1, structures) but considerably 
simpler and more formally elegant.  It *is* XML in its basic syntax 
(although there is a non-XML "shorthand" syntax for convenient 
editing) and defines the criteria for a valid XML document.  See 
http://www.oasis-open.org/committees/relax-ng/

It is *not* from the World Wide Web Consortium, however.  It is an 
"open standard" in that it is the product of an OASIS technical 
committee operating under OASIS open standards process 
http://www.oasis-open.org/committees/process.shtml. It is being 
incorporated into the "real" international standard ISO 19757
http://www.y12.doe.gov/sgml/sc34/document/0275.htm. 

There are several implementations of schema validators and data 
binding tools that use RELAX NG syntax; these are described in a 
section on on the OASIS relax-ng page mentioned above.  Perhaps most 
significant is Sun's Multi Schema Validator, which handles several 
XML schema syntaxes.  In short, RELAX is as much of a "real" standard 
and viable option for "real" work as is the W3C schema spec.  The 
question of which is most appropriate for a given task is an 
interesting question; see Eric van der Vlist's excellent articles on 
this subject: http://www.xml.com/pub/a/2002/01/23/relaxng.html
http://www.xml.com/pub/a/2001/12/12/schemacompare.html and the ones 
linked off them.

I'm not sure if this is what you were asking with "how is it 
implemented" but as I understand it the elegant mathematical 
underpinnings of RELAX NG make it relatively straightforward to write 
a validator.  See http://www.xml.gr.jp/relax/divideAndValidate.html 





  • References:
    • RELAX NG
      • From: tariq abdur-rahim <ecliptoid330@y...>

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.