W3C home > Mailing lists > Public > www-tag@w3.org > June 2002

Re: Two messages from James Clark that ought to be read

From: David Luce <edgebender@yahoo.com>
Date: Mon, 10 Jun 2002 08:57:53 -0700 (PDT)
Message-ID: <20020610155753.78656.qmail@web12306.mail.yahoo.com>
To: Tim Bray <tbray@textuality.com>, www-tag@w3.org

James is absolutely correct.
We've been doing a Proof-of-Concept with a key goal of
separating validation from application or even data
layers. Our test case requires lighter validation at
the beginning and stronger validation towards the end.


The test case is in international freight logistics.
Here we have a customer provide initial booking
information and then ask an operations person to
complete the data set.

Our solution is to apply different schemas temporally
(at different times within the process) or even
dependent on the user role.

We are somewhat new to XSDs, but have found them very
useful for data typing, setting a field to be
non-nillable, etc. Unfortunately, we've not found
mechanism to support heuristic validation rules such
as a Estimated Time of Arrival must be equal to or
less than an Estimated Time of Departure.

It would be useful if this type of logic could be
embedded within the XSD rather than a piece of Java or
even possibly an XSLT. 

Again, these heuristic validation rules must also be
applied temporally.

Dave

--- Tim Bray <tbray@textuality.com> wrote:
> 
> from xml-dev:
> 
>  
>
http://lists.xml.org/archives/xml-dev/200206/msg00274.html
> 
>  
>
http://lists.xml.org/archives/xml-dev/200206/msg00275.html
> 
>   -Tim
> 
s

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
Received on Monday, 10 June 2002 11:58:01 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:32:32 UTC