Augmentation (defaulting from the DTD) tightly
binds DTDs to instances. I think there is healthy consensus tight binding
of DTDs to instances is a bad idea.
len
-----Original Message-----
From: dorchard100@gmail.com
[mailto:dorchard100@gmail.com] On Behalf Of David
Orchard
Sent: Thursday, January 22, 2009
2:54 PM
To: Andrew Welch
Cc: G. Ken Holman;
xml-dev@lists.xml.org
Subject: Re: [xml-dev] Validate
**against** a schema OR validate **with** a schema?
Defaulting
values came from SGML days and DTDs.. So it's been around for a
while. Many folks have wanted the validation and augmentation steps
separate though no real progress on that.
Dave
On Thu, Jan 22, 2009 at 12:51 PM, Andrew Welch <andrew.j.welch@gmail.com> wrote:
>> 2. I validated the XML instance document with
the schema.
>
> ... when I'm using validation to augment my
XML....
imho, "validation" and "augment" should be kept separate...
If you
need the augmentation call the step just that, not validation.
I don't know the history of it, but I would guess defaulted values
were a late addition to the validation process, rather than something
included from the beginning??