[relaxng-user] "Converting DTDs (and DTD developers) to RELAX NG schemas" paper

John Cowan cowan at mercury.ccil.org
Fri Nov 21 22:00:31 ICT 2003


James Clark scripsit:

> 1. You suggest doing RNG validation in addition to DTD validation. So
> long as you do RNG DTD-compatibility checking, RNG validation alone is
> enough (although I can well imaging non-technical reasons for doing DTD
> validation).
> 
> 2. With DTD validation, you can only check that the document is valid
> with respect to the DTD that the document specifies.  In many cases,
> even in a DTD-based environment, there is a requirement that the
> document use a specific DTD, but DTD validation provides no way to
> enforce this.  RNG validation helps with this too.

Since DTDs can be used as validation schemas, the true division is between
an incorporated DTD and a validation schema rather than between DTD
validation and RNG/WXS validation.

-- 
Is a chair finely made tragic or comic? Is the          John Cowan
portrait of Mona Lisa good if I desire to see           jcowan at reutershealth.com
it? Is the bust of Sir Philip Crampton lyrical,         www.ccil.org/~cowan
epical or dramatic?  If a man hacking in fury           www.reutershealth.com
at a block of wood make there an image of a cow,
is that image a work of art? If not, why not?               --Stephen Dedalus


More information about the relaxng-user mailing list