Uploaded image for project: 'XML-RPC'
  1. XML-RPC
  2. XMLRPC-100

Misspelt method name in org.apache.xmlrpc.serializer.CharSetXmlWriterFactory

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0rc1
    • Fix Version/s: 3.0
    • Component/s: Source
    • Labels:
      None
    • Environment:
      jdk 1.4.2, Windows XP

      Description

      The class org.apache.xmlrpc.serializer.CharSetXmlWriterFactory overrides the method newXmlWriter method in its superclass but because of a spelling mistake it never gets called.

      In org.apache.xmlrpc.serializer.BaseXmlWriterFactory there is a method defined as:

      protected XMLWriter newXmlWriter()

      In org.apache.xmlrpc.serializer.CharSetXmlWriterFactory the method is overriden as:

      protected XMLWriter newXMLWriter()

      Note the differece Xml/XML. Because of this CharSetXmlWriterFactory always returns instances of XMLWriterImpl rather than CharSetXMLWriter. I noticed this in the 3.0rc1 release and also in the svn trunk.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mattpreston Matt Preston
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: