Berin Loritsch wrote:
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.
Yep - I agree.
So as far as the tag spec is concerned - it is a container implementation concerns as to the usage of validation schemata information (not Steve's proper use of the word!). In particular, a container may choose to exercise validation via a tool, during runtime, or not at all.
Comments?
I think the @avalon.configuration schema="schema-type" approach is satisfactory.
OK.
Steve.
--
Stephen J. McConnell mailto:[EMAIL PROTECTED] http://www.osm.net
Sent via James running under Merlin as an NT service. http://avalon.apache.org/sandbox/merlin
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
