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

getPrefixes method in XMLUtils should be public

           Summary: getPrefixes method in XMLUtils should be public
           Product: Axis
           Version: pre-release
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Basic Architecture
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


on the 2002/03/28 nightly build.

in org.apache.axis.utils.XMLUtils.java:

    private static Hashtable getPrefixes(Document d) {}

It is a utility method. Unless it exposes something bad, it should probably 
be public. It seemed odd that related methods (eg getNewPrefix) are 
public and this is not....

At the least, getPrefix() and getNamespace() in XMLUtils should be re-
factored to actually use getPrefixes(), which would make sense, 
especially if you were caching the Hashtable for performance.

Reply via email to