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=32478>.
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=32478





------- Additional Comments From [EMAIL PROTECTED]  2004-12-10 02:33 -------
Created an attachment (id=13718)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=13718&action=view)
Alternative "stateless" take on JoranConfigurator

I took a shot at reworking JoranConfigurator to have static "configure" methods
that throw exceptions on fatal errors such as missing config file, non-well
formed, etc.  I think that is an improvement since it allows the caller to
easily implement fallback configuration if things go totally awry.  

As it stands, it doesn't really fit well with ConfigurationBase which would
probably be a better base class for JoranDocument than JoranConfigurator.

I did get everything to compile, but was failing defaultInit.TestCase2.xmlTest.
 Anyway, might give you something to thing about.

I did do a little tweak to JoranDocument.replay that attempts to tolerate an
exception being thrown in JoranInterpret.startElement or endElement.  If an
exception is thrown in startElement, it discards all content until the matching
end element.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to