[Pywps-commits] r953 - trunk/pywps

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Jun 24 18:55:34 CEST 2010


Author: jachym
Date: 2010-06-24 18:55:33 +0200 (Thu, 24 Jun 2010)
New Revision: 953

Modified:
   trunk/pywps/Exceptions.py
Log:
closing ticket #1528, thanks to Tom Kralidis

Modified: trunk/pywps/Exceptions.py
===================================================================
--- trunk/pywps/Exceptions.py	2010-06-11 06:51:06 UTC (rev 952)
+++ trunk/pywps/Exceptions.py	2010-06-24 16:55:33 UTC (rev 953)
@@ -28,7 +28,6 @@
 
 called = 0
 
-
 class WPSException(Exception):
     """WPSException should be base class for all exceptions
     """
@@ -40,8 +39,9 @@
         # formulate XML
         self.document = Document()
         self.ExceptionReport = self.document.createElementNS("http://www.opengis.net/ows","ExceptionReport")
-        self.ExceptionReport.setAttribute("xmlns","http://www.opengis.net/ows")
+        self.ExceptionReport.setAttribute("xmlns","http://www.opengis.net/ows/1.1")
         self.ExceptionReport.setAttribute("xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance")
+        self.ExceptionReport.setAttribute("xsi:schemaLocation","http://www.opengis.net/ows/1.1 http://schemas.opengis.net/ows/1.1.0/owsExceptionReport.xsd")
         self.ExceptionReport.setAttribute("version","1.0.0")
         self.document.appendChild(self.ExceptionReport)
 



More information about the Pywps-commits mailing list