Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-171

Incorrect xml changeLog generated if no endDate (toXML method in ChangeLogSet)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0-beta-3
    • maven-scm-api
    • None
    • all

    Description

      The method toXML in http://svn.apache.org/viewcvs.cgi/maven/scm/trunk/maven-scm-api/src/main/java/org/apache/maven/scm/command/changelog/ChangeLogSet.java?rev=374372&view=markup
      generate a bad xml if the end date is not specified.
      The lines :
      if ( endDate != null )

      { buffer.append( " end=\"" ) .append( formatter.format( endDate ) ) .append( "\">" ); }

      buffer.append( "\n" );
      should be :
      if ( endDate != null )

      { buffer.append( " end=\"" ) .append( formatter.format( endDate ) ) .append( "\"" ); }

      buffer.append( ">\n" );

      Attachments

        Activity

          People

            evenisse Emmanuel Venisse
            olamy Olivier Lamy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: