Skip to content
Snippets Groups Projects
Commit 33b4623b authored by gmantele's avatar gmantele
Browse files

TAP: Fix incorrect XML format: the INFO for PROVIDER was not ended properly =>...

TAP: Fix incorrect XML format: the INFO for PROVIDER was not ended properly => an error was raised by TOPCAT when a Java error was occuring in TAP or in a query execution.
parent 9acc3d8d
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,8 @@ package tap.resource; ...@@ -16,7 +16,8 @@ package tap.resource;
* You should have received a copy of the GNU Lesser General Public License * You should have received a copy of the GNU Lesser General Public License
* along with TAPLibrary. If not, see <http://www.gnu.org/licenses/>. * along with TAPLibrary. If not, see <http://www.gnu.org/licenses/>.
* *
* Copyright 2012 - UDS/Centre de Données astronomiques de Strasbourg (CDS) * Copyright 2012,2014 - UDS/Centre de Données astronomiques de Strasbourg (CDS),
* Astronomisches Rechen Institute (ARI)
*/ */
import java.io.BufferedInputStream; import java.io.BufferedInputStream;
...@@ -26,22 +27,21 @@ import java.io.IOException; ...@@ -26,22 +27,21 @@ import java.io.IOException;
import java.io.PrintWriter; import java.io.PrintWriter;
import java.net.MalformedURLException; import java.net.MalformedURLException;
import java.net.URL; import java.net.URL;
import java.text.DateFormat; import java.text.DateFormat;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;
import java.util.Date; import java.util.Date;
import java.util.HashMap; import java.util.HashMap;
import java.util.Iterator; import java.util.Iterator;
import java.util.Map; import java.util.Map;
import javax.servlet.ServletConfig; import javax.servlet.ServletConfig;
import javax.servlet.ServletException; import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponse;
import tap.ServiceConnection; import tap.ServiceConnection;
import tap.TAPException;
import tap.ServiceConnection.LimitUnit; import tap.ServiceConnection.LimitUnit;
import tap.TAPException;
import tap.db.DBConnection; import tap.db.DBConnection;
import tap.error.DefaultTAPErrorWriter; import tap.error.DefaultTAPErrorWriter;
import tap.formatter.OutputFormat; import tap.formatter.OutputFormat;
...@@ -394,7 +394,7 @@ public class TAP< R > implements VOSIResource { ...@@ -394,7 +394,7 @@ public class TAP< R > implements VOSIResource {
output.print(service.getProviderDescription()); output.print(service.getProviderDescription());
output.println("]]>\n\t\t</INFO>"); output.println("]]>\n\t\t</INFO>");
}else }else
output.println("\">"); output.println("\" />");
} }
// Print the query (if any): // Print the query (if any):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment