Hi Lawrence, This looks good. I was wondering about the discovery /
factory mechanism behind creating the IAssertion (should that be
IAssertion or just Assertion?) instances. Perhaps the OSGi bundle /
extension mechanism is the way to go. A while back we were considering
that for the WSDL extensions. Alternatively a
META-INF/woden-assertions file in the jar containing the impl objects.

Cheers,
Jeremy

On 10/12/2007, Apache Wiki <[EMAIL PROTECTED]> wrote:
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to