firethorn

changeset 4229:9605f8ca89bb 2.1.30-stv-uws-fix

Added Missing UWS xsd location in UWS Job output
author Stelios <stv@roe.ac.uk>
date Fri May 10 18:15:43 2019 +0300 (2019-05-10)
parents 46f9c4cb9431
children da9e0640f31b f0ff7aefaef1
files firethorn-webapp/src/main/java/uk/ac/roe/wfau/firethorn/webapp/tap/UWSJob.java
line diff
     1.1 --- a/firethorn-webapp/src/main/java/uk/ac/roe/wfau/firethorn/webapp/tap/UWSJob.java	Fri May 10 18:09:33 2019 +0300
     1.2 +++ b/firethorn-webapp/src/main/java/uk/ac/roe/wfau/firethorn/webapp/tap/UWSJob.java	Fri May 10 18:15:43 2019 +0300
     1.3 @@ -533,7 +533,7 @@
     1.4  			StringBuilder writer = new StringBuilder();
     1.5  			String ownerId = ((this.getOwnerId() == null) ? "" : this.getOwnerId());
     1.6  	        writer.append("<?xml version='1.0' encoding='UTF-8'?>");
     1.7 -	        writer.append("	<uws:job xmlns:uws='http://www.ivoa.net/xml/UWS/v1.0' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xlink='http://www.w3.org/1999/xlink' xsi:schemaLocation='http://www.ivoa.net/xml/UWS/v1.0'>");
     1.8 +	        writer.append("	<uws:job xmlns:uws='http://www.ivoa.net/xml/UWS/v1.0' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xlink='http://www.w3.org/1999/xlink' xsi:schemaLocation='http://www.ivoa.net/xml/UWS/v1.0 http://www.ivoa.net/xml/UWS/UWS-v1.0.xsd'>");
     1.9  	     
    1.10  	            writer.append("<uws:jobId>" + this.getJobId() + "</uws:jobId>");
    1.11  	            writer.append("<uws:ownerId xsi:nil='true'>" + ownerId + "</uws:ownerId>");