OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: DTDs, W3 XML Schema, RELAX, or Schematron?

[ Lists Home | Date Index | Thread Index ]
  • From: Eric van der Vlist <vdv@dyomedea.com>
  • To: xml-dev@lists.xml.org
  • Date: Tue, 14 Nov 2000 11:13:17 +0100

Linda van den Brink wrote:
> 
> Eric van der Vlist wrote:
> > MHO is that different validation techniques will be used for different
> > needs.
> 
> Then what's really interesting to me, is which validation technique will be
> used for which need, and why?

Your list of pros and cons was pretty good.

These grounds are still moving and it's difficult to give a simple
general answer (it would be easier to give advises knowing the
constraints).

A major difference between schema based validation techniques (DTD,
Relax and W3C XML Schema) and schematron is that schema based approaches
are strict (they forbid everything that hasn't been allowed) while
schematron is permissive (it allows everything that hasn't been
forbidden).

The tools and your overall architecture may be to take into account as
well.

For instance, if it's important that your validation is done directly by
a XML editor, it may exclude Schematron and Relax (and even W3C XML
Schema depending on the tool and on your schedule).

If you can are defining an environment where you can pass your documents
into steps that you fully control, the choice is more open which can
also bring composite solutions (such as a transformation to prepare the
document to fit into a specific validation system).

Eric
 
> Linda

-- 
------------------------------------------------------------------------
Eric van der Vlist       Dyomedea                    http://dyomedea.com
http://xmlfr.org         http://4xt.org              http://ducotede.com
------------------------------------------------------------------------




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS