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=6133>. 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=6133 Receive an Index out of bounds error ------- Additional Comments From [EMAIL PROTECTED] 2002-01-31 14:16 ------- There is one thing that I am doing that seems to be causing the problem. I am setting the contenthandler and errorhandlers to another object that is subclassed from defaultHandler but is not the class that instantiates the XMLReader. I have set up my Parser class to allow you to create it in three ways: if no parameters the content and error handlers are set to "this" ie the class itself if one parameter the content and error handlers are set to the passed in object if two parameter the content and error handlers are set to the respective passed in objects This way I can have other objects handling the contents and errors with out having to create more callbacks. When I use the empty constructor I don't get any problems, the problem seems to appear only when I use a seperate content/error handler. When I started this I had the parser object know about the parent object and so could pass the contect and errors on to it, but this means that a second set of call would have to be made in order for handling of the data because I wanted to make the parser class as generic as possible for use by other areas. Thanks for your assistance. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
