Hi,
I would love to use a syntax like
<conditions> <condition name="cond1" value="i<5"/> <condition name="cond2" class="org.domain.FileChanged"/> </conditions>
with the ExcaliburCompoenentSelector.
<role name="org.domain.ConditionSelector" shorthand="conditions" default-class="org.apache.avalon.excalibur.component.ExcaliburComponentSelector"> <hint shorthand="condition" class="org.domain.ExpressionCondition"/> </role>
But the ECS only allows 'component-instance' with a class attribute or a defined element name and using the class specified the the hint role. It is perhaps possible to change the implementation to use the class attribute in other elements than 'component-instance'?
I attached a patch file for the ECS.
You should also look at Cocoon's ExtendedComponentSelector which allows this kind of features
Sylvain
-- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
