[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: DTDs, W3 XML Schema, RELAX, or Schematron?
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 ------------------------------------------------------------------------
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|