- From: "Len" <cbullard@h...>
- To: "'David Orchard'" <orchard@p...>, "'Andrew Welch'" <andrew.j.welch@g...>
- Date: Thu, 22 Jan 2009 17:53:41 -0600
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@g...
[mailto:dorchard100@g...] On Behalf Of David
Orchard
Sent: Thursday, January 22, 2009
2:54 PM
To: Andrew Welch
Cc: G. Ken Holman;
xml-dev@l...
Subject: Re: 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@g...> 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??
_______________________________________________________________________
XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.
[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@l...
subscribe: xml-dev-subscribe@l...
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
|
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
|