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

Re: W3C schema, RelaxNG, and Schematron


schematron relax ng
On lun, 2005-04-18 at 10:16 -0700, Dan Vint wrote:

.../...

> 4) The extension methods should be supported at least by the core tools on 
> Java and MS platforms. So we test with Xerces-J and MS-XML parsers.

Since MSXML does not support RELAX NG, that means that if you were using
RNG, you'd be using it to generate W3C XML Schema, doesn't it? 

> We have not found a way to do all of the above, we can answer different 
> parts but  not all the requirements. We essentially have two approaches 
> currently and would like to find the ultimate solution that answered all of 
> the above. I'm wondering  if RelaxNG or Schematron might help some of this 
> without creating too much of a burden maintaining these other environments.

If you need to limit yourselves to using RNG as an authoring language to
generate WXS schemas, that won't buy you the support of non
deterministic models that you're mentioning below.

.../...

> Any ideas?

You could explore the fact that XML schemas are XML documents and can be
generated. Bob DuCharme has published a nice description of some of the
things you can do in this domain:
http://www.snee.com/xml/schemaStages.html

Also, you could consider doing double validations (ie a validation
against the core schema and a validation against the derived schema).
That would give you more flexibility than using the derivation methods
allowed by W3C XML Schema; you could leave the schema designer do miore
or less what he/she wants assuming you'd always be validating to the
core schema in addition to validating against the derived one.

Finally, you can apply schemas to W3C XML schemas. These schemas can use
any schema languages (you could restrict the W3C XML Schema schema for
WXS, but also the RELAX NG one for WXS or write Schematron constraints
to check your good practices).

These are just raw ideas, I hope they can help!

Eric  

-- 
Le premier annuaire des apiculteurs 100% XML!
                                                http://apiculteurs.info/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(ISO) RELAX NG   ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------


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.