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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0rc1
    • 3.0
    • Source
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: