Skip to content

Commit 756f16f

Browse files
committed
Release 3.3. Fixed Redmine Bug#1188
1 parent 1751be2 commit 756f16f

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>Forth-ICS</groupId>
55
<artifactId>3MEditor</artifactId>
6-
<version>3.3-SNAPSHOT</version>
6+
<version>3.3</version>
77
<packaging>war</packaging>
88

99
<name>3MEditor</name>

src/main/java/gr/forth/ics/isl/x3mlEditor/Index.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,8 @@ protected void processRequest(HttpServletRequest request, HttpServletResponse re
139139
if (output.equals("html")) {
140140
xmlMiddle.append("</xml>");
141141
if (mappingFileAsString.contains("<source>")) {
142-
System.out.println("NEW");
143142
xmlMiddle.append("<schemaVersion>").append("1.2+").append("</schemaVersion>");
144143
} else {
145-
System.out.println("OLD");
146144
xmlMiddle.append("<schemaVersion>").append("1.1").append("</schemaVersion>");
147145
}
148146

src/main/java/gr/forth/ics/isl/x3mlEditor/upload/UploadReceiver.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public void doPost(HttpServletRequest req, HttpServletResponse resp) throws IOEx
106106

107107
String use = "";
108108
if (xpath != null) {
109-
if (filename.endsWith("rdf") || filename.endsWith("rdfs") || filename.endsWith("ttl")|| filename.endsWith("nt")) {
109+
if (filename.endsWith("rdf") || filename.endsWith("rdfs") || filename.endsWith("ttl") || filename.endsWith("nt")) {
110110
if (xpath.endsWith("/@rdf_link")) {
111111
use = "rdf_link";
112112
} else if (xpath.endsWith("/@thesaurus_link")) {
@@ -261,7 +261,8 @@ private void writeResponse(String filename, PrintWriter writer, String failureRe
261261
String json = "{\"success\": true, \"filename\": \"" + filename + "\", \"mime\": \"" + mime + "\"}";
262262
writer.print(json);
263263

264-
} else {
264+
} else {
265+
failureReason = failureReason.replaceAll("\\\\'", "");//Added because we had a problem when error message contained \'
265266
writer.print("{\"error\": \"" + failureReason + "\"}");
266267
}
267268

src/main/webapp/readme.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<fieldset>
3030
<legend>3MEditor</legend>
3131
Version: <b>3.3</b><br/>
32-
Build: <b>2018-05-30 (da3b891decdd7c7e11cb16f46676f9a4655b60be)</b>
32+
Build: <b>2018-05-30 ()</b>
3333
</fieldset>
3434

3535
<fieldset>
@@ -38,7 +38,8 @@
3838
<h4 style="text-decoration: underline;">2018</h4>
3939

4040
<h5 style="text-decoration: underline;">May</h5>
41-
<p>30 May 2018:<b>Release 3.3</b> Updated x3ml engine to 1.9.0-SNAPSHOT to support thesaurus on transformation. Thesaurus may now also be nt or rdf.</p>
41+
<p>30 May 2018:<b>Release 3.3</b>. Updated x3ml engine to 1.9.0-SNAPSHOT to support thesaurus on transformation. Thesaurus may now also be nt or rdf.
42+
Fixed Redmine Bug#1188</p>
4243
<p>29 May 2018: Release 3.3 almost ready. Editor updated to work with x3ml schema version 1.4. It now supports thesaurus uploading and usage by x3ml
4344
engine when transforming.</p>
4445
<p>02 May 2018: Updated isl.Reasoner version once more to fix an issue with nt files. Fixed Redmine Bug#1050 (Cannot update constant value inside additional)

0 commit comments

Comments
 (0)