Incorrect xml changeLog generated if no endDate (toXML method in ChangeLogSet) ------------------------------------------------------------------------------
Key: SCM-171 URL: http://jira.codehaus.org/browse/SCM-171 Project: Maven SCM Type: Bug Components: maven-scm-api Environment: all Reporter: Olivier Lamy 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" ); -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira