Return-Path: Delivered-To: apmail-xml-commons-dev-archive@www.apache.org Received: (qmail 24695 invoked from network); 22 Jun 2005 15:02:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Jun 2005 15:02:25 -0000 Received: (qmail 69894 invoked by uid 500); 22 Jun 2005 15:02:24 -0000 Delivered-To: apmail-xml-commons-dev-archive@xml.apache.org Received: (qmail 69862 invoked by uid 500); 22 Jun 2005 15:02:24 -0000 Mailing-List: contact commons-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list commons-dev@xml.apache.org Received: (qmail 69849 invoked by uid 99); 22 Jun 2005 15:02:23 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jun 2005 08:02:23 -0700 Received: by ajax.apache.org (Postfix, from userid 99) id 91E7613; Wed, 22 Jun 2005 17:02:22 +0200 (CEST) From: bugzilla@apache.org To: commons-dev@xml.apache.org Subject: DO NOT REPLY [Bug 35467] New: - System.err.println statement should be removed X-Bugzilla-Reason: AssignedTo Message-Id: <20050622150222.91E7613@ajax.apache.org> Date: Wed, 22 Jun 2005 17:02:22 +0200 (CEST) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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=35467 Summary: System.err.println statement should be removed Product: XmlCommons Version: 1.x Platform: Other OS/Version: other Status: NEW Severity: minor Priority: P2 Component: Resolver AssignedTo: commons-dev@xml.apache.org ReportedBy: elharo@metalab.unc.edu Libraries such as the Apache ResolvingXMLReader should not talk to the user. In particular they should not print things on System.err and Systsem.out unless speciifcally told to do so. The following fragment in CatalogManager.java is at issue: if (!ignoreMissingProperties) { System.err.println("Cannot find "+propertyFile); // there's no reason to give this warning more than once ignoreMissingProperties = true; } I didn't call this class directly. My code used ResolvingXMLReader. Presumably ResolvingXMLReader called into CatalogManager somehow. In this case, if the XMLReader that is calling CatalogManager has a configured SAX ErrorHandler, then this message should be sent as a warning through that ErrorHandler by invoking its warning() method. If that XMLReader does not have such an ErrorHandler, then this message should be dropped. -- 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.