|
[HepData-svn] r1658 - trunk/hepdata-webapp/src/main/java/cedar/hepdata/formatsblackhole at projects.hepforge.org blackhole at projects.hepforge.orgWed Nov 6 15:14:51 GMT 2013
Author: whalley Date: Wed Nov 6 15:14:51 2013 New Revision: 1658 Log: more tweaks for errors in HepML formatter Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/HepMLFormatter.java Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/HepMLFormatter.java ============================================================================== --- trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/HepMLFormatter.java Wed Nov 6 15:06:09 2013 (r1657) +++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/HepMLFormatter.java Wed Nov 6 15:14:51 2013 (r1658) @@ -92,10 +92,10 @@ s.append(" >\n"); if(err.getComment() != null){ s.append(" <comment>\n"); - s.append(" '" + err.getComment() + "'\n"); + s.append(" " + err.getComment() + "\n"); s.append(" </comment>\n"); } - s.append(" </error>"); + s.append(" </error>\n"); } for (XAxis xax : ds.getXAxes()){ s.append(" <xaxis id='xax-99-" + xax.getId() + "' xaxisId='" + xax.getId() + "' header='" + xax.getHeader() + "'>\n"); @@ -163,9 +163,9 @@ s.append(" >\n"); if(err.getComment() != null){ s.append(" <comment>\n"); - s.append(" '" + err.getComment() + "'\n"); + s.append(" " + err.getComment() + "\n"); s.append(" </comment>\n"); - s.append(" </error>"); + s.append(" </error>\n"); } } for (Point pt : yax.getPoints()){ @@ -183,10 +183,10 @@ s.append(" >\n"); if(err.getComment() != null){ s.append(" <comment>\n"); - s.append(" '" + err.getComment() + "'\n"); + s.append(" " + err.getComment() + "\n"); s.append(" </comment>\n"); } - s.append(" </error>"); + s.append(" </error>\n"); } s.append(" </point>\n"); }
More information about the HepData-svn mailing list |