You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Stephen McConnell <mc...@apache.org> on 2003/07/22 22:39:54 UTC
[AMTAGS] sorting out the configuration schema
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?
Comments?
Steve.
p.s. What is the plural of schema?
--
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
Re: [AMTAGS] sorting out the configuration schema
Posted by Stephen McConnell <mc...@apache.org>.
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
RE: [AMTAGS] sorting out the configuration schema
Posted by Gonzalo Diethelm <go...@diethelm.org>.
> > p.s. What is the plural of schema?
>
> schema. It's kind of like the plural of deer being deer.
Nope. The plural can be either "schemata" (more proper) or
"schemas" (accepted nowadays). You can check it at
http://dictionary.reference.com/search?q=schema
Regards,
--
Gonzalo A. Diethelm
gonzalo.diethelm@aditiva.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org
Re: [AMTAGS] sorting out the configuration schema
Posted by Berin Loritsch <bl...@apache.org>.
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