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

                 Key: XMLRPC-100
                 URL: http://issues.apache.org/jira/browse/XMLRPC-100
             Project: XML-RPC
          Issue Type: Bug
          Components: Source
    Affects Versions: 3.0rc1
         Environment: jdk 1.4.2, Windows XP
            Reporter: Matt Preston


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.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to