Near the end of the startElement method, we see this:

        List rules = getRules().match(namespaceURI, match);
        if ((rules != null) && (rules.size() > 0)) {
          ...
        } else {
            if (debug) {
                log.debug("  No rules found matching '" + match + "'.");
            }
        }

It would be nice if I could register an interface implementation that
contains a method that gets invoked in the else clause, so I can know
if no rules match the name.  That way I can put out an error message if
I want.  Somthing like this:


        } else {
            callback.notify(name);
            if (debug) {
                log.debug("  No rules found matching '" + match + "'.");
            }
        }

Of course, callback is not a very good name, but you get the idea.

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

Reply via email to