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=30597>. 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=30597 [configuration] HierarchicalConfigurationXMLReader stores comments as text nodes ------- Additional Comments From [EMAIL PROTECTED] 2004-08-13 18:50 ------- The problem seems to be in HierarchicalXMLConfiguration which also stores comments as configuration keys. In the constructHierarchy() method there is the statement else if (w3cNode instanceof CharacterData) IMO it should be sufficient to change this into else if (w3cNode instanceof Text) (because Comment is a subinterface of CharacterData, too). Oliver --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]