avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: [AMTAGS] sorting out the configuration schema
Date Tue, 22 Jul 2003 20:48:25 GMT
Stephen McConnell wrote:

> 
> Here is a proposal that should sort out the configuration
> schema aspect required by Phoneix:
> 
>  @avalon.configuration schema="relax-ng"
> 
> The above tag would translate to an <info> item entry of
> the following form:
> 
>  <type>
>    <info>
>      <schema>relax-ng</schema>
>    </info>
>  </type>
> 
> If a schema validation is declared, a container could:
> 
>  (a) ignore it and assume all is well and potentially fail
>      at runtime
>  (b) force validate and fail on validation
> 
> Should declaration of a schema require validation?

No.  Validation should be an option to be turned on or off, as it
can be expensive.  In fact Validation has much better use in tool
support than it does in runtime validation.

> 
> Comments?

I think the
    @avalon.configuration schema="schema-type"
approach is satisfactory.

> 
> Steve.
> 
> p.s. What is the plural of schema?
> 

schema.  It's kind of like the plural of deer being deer.

-- 

"They that give up essential liberty to obtain a little temporary safety
  deserve neither liberty nor safety."
                 - Benjamin Franklin


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Mime
View raw message