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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to