ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Ws Wiki] Update of "FrontPage/Woden/ValidationAPI" by LawrenceMandel
Date Mon, 10 Dec 2007 18:56:12 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification.

The following page has been changed by LawrenceMandel:
http://wiki.apache.org/ws/FrontPage/Woden/ValidationAPI

New page:
= Woden Validation API =
This page captures the goals of the Woden validation API and potential options for implementation
that will achieve the goals.

== Goals of the Validation API ==
 1. Enable validation with any implementation of the Woden API
 2. Enable 3rd parties to add new validation assertions to Woden
 3. Allow for specification of dependencies among assertions for the benefit of
  * Performance (only run assertions that have a chance to pass)
  * User experience (only show one error message per error) 

== Goal 1: Enable validation with any implementation of the Woden API ==
This goal requires that the validation API and assertions only reference Woden's API. No references
can be made to Woden's implementation classes.

== Goal 2: Enable 3rd parties to add new validation assertions to Woden ==
This goal requires a public assertion interface that adopters can implement and contribute
to Woden.

The following are two potential assertion interfaces with pros and cons:

 1. public Interface IAssertion {
  public void validate(Description desc, ErrorReporter errorReporter);
}

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@ws.apache.org
For additional commands, e-mail: general-help@ws.apache.org


Mime
View raw message