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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Capitalism and XML (was RELAX NG Marketing)

[ Lists Home | Date Index | Thread Index ]

"Bullard, Claude L (Len)" scripsit:

> 1.  More productive.  Can one compose faster, is it easier to learn, 
> does is do what I need to do in the framework?

Well, I'm a fairly bright sort of guy, and I could run RNG into my
rapidly aging brain with no trouble, but XSD (part 1) is still defeating

I would say that RNG is far and away the least restrictive schema
language of its type (excluding Schematron, Examplotron, Hook, etc.).
In essence, if you can write down RNG, and it makes any sense at all
(no elements within attributes or consecutive datatypes, e.g.) then it just
*works*, period.  It has three syntaxes: XML-instance, programming-language,
and DTD, for validators, schema authors, and legacy respectively.

Its main weakness as against XSD is that it has no key/keyref support
other that DTD-compatible ID, IDREF, and IDREFS (which are technically
an extension, but supported in the existing validators).  These were
present in earlier drafts, but were too messy and hard to get right
in the general case, and were dropped from RNG 1.0.  Identity
constraints are really orthogonal to structural ones in any case.
This is a job waiting for someone to have a brain-wave.

The spirit of RNG is closely related to that of DTDs: there is a smooth
mental upgrade path.  As a result, the DTD-RNG conversion tool is a masterpiece
of structure preservation: it does its very best to make whatever structuring
in the way of parameter entities that the DTD has, appear transparently
in the RNG as well.

John Cowan <jcowan@reutershealth.com>     http://www.reutershealth.com
I amar prestar aen, han mathon ne nen,    http://www.ccil.org/~cowan
han mathon ne chae, a han noston ne 'wilith.  --Galadriel, _LOTR:FOTR_


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

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