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 34819] - [digester] NodeCreateRule Failing
Date Wed, 11 May 2005 15:52:49 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34819>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34819





------- Additional Comments From ms419@freezone.co.uk  2005-05-11 17:52 -------
>Firstly, could you please run your test again with logging enabled?
>See the section titled "How do I enable debugging output" in the FAQ:
>  http://wiki.apache.org/jakarta-commons/Digester/FAQ

Huh - I enabled debugging output, as described - yet I don't see any more
detailed output

Here's the full output of digester build tests with debugging enabled -
http://www.sfu.ca/~jdbates/tmp/commons-digester/screenlog

It's wiered because I see the call to log.error("Begin event threw exception",
e) (Digester.java:1275) - & according to the commons logging docs,
-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog
-Dorg.apache.commons.logging.simplelog.defaultlog=debug should do the trick...

>And secondly, could you please write a simple SAX app which attempts to set the
>content handler after parsing has started and see what happens?

I think your right - aelfred pukes on setting the handler when parsing has
started - even if it's setting to the current value - setDTDHandler(this)

This test case reproduces the problem, I think -
http://www.sfu.ca/~jdbates/tmp/commons-digester/Test.java

But this shouldn't be a difficult fix - is there any reason
reader.setDTDHandler(this) (Digester.java:905) shouldn't depend on the 'if
(reader == null)' (Digester.java:901) clause?

Thanks again for your work on this!

Jack

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message