[HepData-svn] r1667 - trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Mon Nov 11 15:09:56 GMT 2013


Author: whalley
Date: Mon Nov 11 15:09:56 2013
New Revision: 1667

Log:
fix for no spires etc id

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	Mon Nov 11 14:58:32 2013	(r1666)
+++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/HepMLFormatter.java	Mon Nov 11 15:09:56 2013	(r1667)
@@ -24,7 +24,11 @@
 	    StringBuffer s = new StringBuffer();
         s.append("<hepml>\n");
         s.append("  <data timestamp='" + _getTimestamp() + "'>\n");
-        s.append("    <paper spiresId='" + p.getSpiresId() + "' inspireId='" + p.getInspireId() + "' redId='" + p.getRedId() + "' preprintDate=''>\n");
+        s.append("    <paper");
+        s.append(" spiresId='" + p.getSpiresId() + "'");
+        s.append(" inspireId='" + p.getInspireId() + "'");
+        s.append(" redId='" + p.getRedId() + "'");
+        s.append(" preprintDate=''>\n");
         s.append("      <title>\n");
         s.append("        " + p.getTitle() + "\n");
         s.append("      </title>\n");


More information about the HepData-svn mailing list