commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 13022] - Pass namespace URI and name args to the Rule methods
Date Thu, 26 Sep 2002 10:25:29 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13022>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13022

Pass namespace URI and name args to the Rule methods





------- Additional Comments From smanux@lfjr.net  2002-09-26 10:25 -------
I don't think this is the best way to get info about the parsed element. With
this patch a rule will retrieve its state from 2 differents sources :
- the digester's parameter stack
- the arguments of begin()/body()/end() with the tag name and the URI

I believe it would be cleaner to widen the concept of parameter stack to a rule
state stack. A rule state object could contain :
- an org.w3c.dom.Element object providing the element name, its URI and
attributes (we don't need a complete implementation of the interface)
- a Map containing properties (the parameter array and the parent rule could fit
here)

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message