|
[HepData-svn] r1657 - trunk/hepdata-webapp/src/main/java/cedar/hepdata/formatsblackhole at projects.hepforge.org blackhole at projects.hepforge.orgWed Nov 6 15:06:09 GMT 2013
Author: whalley Date: Wed Nov 6 15:06:09 2013 New Revision: 1657 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:02:08 2013 (r1656) +++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/HepMLFormatter.java Wed Nov 6 15:06:09 2013 (r1657) @@ -91,9 +91,9 @@ if(err.getNormType() != null){ s.append(" norm='" + err.getNormType().toShortName() + "'"); } s.append(" >\n"); if(err.getComment() != null){ - s.append(" <comment>\n"); - s.append(" comment='" + err.getComment() + "'"); - s.append(" </comment>\n"); + s.append(" <comment>\n"); + s.append(" '" + err.getComment() + "'\n"); + s.append(" </comment>\n"); } s.append(" </error>"); } @@ -163,7 +163,7 @@ s.append(" >\n"); if(err.getComment() != null){ s.append(" <comment>\n"); - s.append(" comment='" + err.getComment() + "'"); + s.append(" '" + err.getComment() + "'\n"); s.append(" </comment>\n"); s.append(" </error>"); } @@ -183,7 +183,7 @@ s.append(" >\n"); if(err.getComment() != null){ s.append(" <comment>\n"); - s.append(" comment='" + err.getComment() + "'"); + s.append(" '" + err.getComment() + "'\n"); s.append(" </comment>\n"); } s.append(" </error>");
More information about the HepData-svn mailing list |