avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen McConnell <mcconn...@apache.org>
Subject Re: [AMTAGS] sorting out the configuration schema
Date Tue, 22 Jul 2003 21:44:08 GMT


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:mcconnell@apache.org
http://www.osm.net

Sent via James running under Merlin as an NT service.
http://avalon.apache.org/sandbox/merlin




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


Mime
View raw message