Another multi-part
email (sorry, can't help it)
1. Specifiying
properties / attributes for Rules
I am writing a
custom rule that I want to pass 2 parameters to. Built-in rules already do this,
but I can see how the SchemaProcessor, etc know what to do.
I am going to just
put the accessors/mutators into the class and see if through the magic of Java
Beans that it works, but if this doesn't work, what is the right way to do
this...or is there (see part 2).
2. Would it be
useful and feasible to have an extenstion point for Rules like there is for
Translators? It did seem odd to me at first that there wasn't. I realise the
list of contributors at this point is low, but I think that, barring
complexities within the parsing system, should be reapplying a common pattern,
increase consistency, should not affect simplicity (as you don't "see" an
extension point until you want to use it) and should also make it easier to
contribute rules.
Steve Gibson
Software Engineer
COWWW Software
