|
[HepData-svn] r1362 - trunk/hepdata-webapp/src/main/java/cedar/hepdata/formatsblackhole at projects.hepforge.org blackhole at projects.hepforge.orgTue Jun 22 16:23:23 BST 2010
Author: whalley Date: Tue Jun 22 16:23:25 2010 New Revision: 1362 Log: added missing Dataset and DatasetPoint terminators on exeption Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/AidaFormatter.java Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/AidaFormatter.java ============================================================================== --- trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/AidaFormatter.java Tue Jun 22 15:50:58 2010 (r1361) +++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/AidaFormatter.java Tue Jun 22 16:23:25 2010 (r1362) @@ -142,6 +142,8 @@ } } catch (NullPointerException npe) { s.append("<!-- Can't render this dataset, due to missing/incompatible information: please report this problem! -->\n"); + s.append(" </dataPoint>\n"); + s.append(" </dataPointSet>\n"); } return s.toString(); }
More information about the HepData-svn mailing list |