Petr Kuzel wrote:
> Yes, parameter entities. My scanner can then generate an additional info
> without a need for private interface.

What extra information. I don't see a problem with adding
augmentations to the other handlers -- I'm just curious as
to what additional DTD information you'd like to pass along.

> Once in history I even thought about a method augment(Augmentations)
> that could be called prior particular handler callback if needed.
> Later pipe components must propagate it in same manner. It is alternative
> approach to the extra parameter. Unfortunately it may complicate logic.

This is a bad idea because there's no way to guarantee that
the two separate callbacks can be associated together. Since
the parser is configured as a pipeline of separate components,
there may be components later in the pipeline that add or
remove method calls. Then the augmentations passed separately
are no longer in sync.

> >   public void setValues(String value, String nonNormalizedValue);
> 
> It is an interface so I would keep method count as low as possible.
> -1

Okay. Do you want to submit a patch to fix this problem?

-- 
Andy Clark * [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to