Subject: Re: instance-of schema-element
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Fri, 14 Mar 2008 18:43:53 +0000
|
On 14/03/2008, John Snelson <john.snelson@xxxxxxxxxx> wrote:
> It would seem useful to have a validation mode that assigned a type of
> xs:anyType to an element that failed validation - raising errors is such
> a drastic measure to resort to in a language without the ability to trap
> those errors.
yes along those lines - you would need some way of determining it had
failed validation as opposed to having the type annotations stripped
or just not added in the first place.
--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/
|