users@jaxb.java.net

Re: Programmatic validation

From: Matthew L Daniel <mdaniel_at_scdi.com>
Date: Mon, 29 Nov 2004 14:42:27 -0500

> >I would like to ensure that <endtime> is greater than
> ><starttime>.

I would like to mention that you cannot express constraints such as this
using the current XML Schema spec. Thus, if I tried to load an XML
document and it threw a ValidationException because of a _business_rule_
error, I would be confused.

I just wanted to implore the JAXB team to not take this concept too far.

  Just my USD$0.02,
  -- /v\atthew

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net