[Mapbender-commits] r2322 - branches/2.5/http/sld/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Apr 1 11:33:28 EDT 2008


Author: astrid_emde
Date: 2008-04-01 11:33:28 -0400 (Tue, 01 Apr 2008)
New Revision: 2322

Modified:
   branches/2.5/http/sld/classes/StyledLayerDescriptor.php
Log:
xml header commented out

Modified: branches/2.5/http/sld/classes/StyledLayerDescriptor.php
===================================================================
--- branches/2.5/http/sld/classes/StyledLayerDescriptor.php	2008-04-01 15:31:51 UTC (rev 2321)
+++ branches/2.5/http/sld/classes/StyledLayerDescriptor.php	2008-04-01 15:33:28 UTC (rev 2322)
@@ -16,7 +16,7 @@
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
+
 /**
  * This file contains the class definitions for the sld-editor.
  *
@@ -83,8 +83,8 @@
 	 */
 	function generateXml($offset = "")
 	{
-		$temp = "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n";
-		$temp .= $offset."<StyledLayerDescriptor";
+		#$temp = "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n";
+		$temp = $offset."<StyledLayerDescriptor";
 		if ($this->version != "") $temp .= " version=\"".htmlspecialchars($this->version)."\"";
 		$temp .= " xsi:schemaLocation=\"http://www.opengis.net/sld StyledLayerDescriptor.xsd\"";
 		$temp .= " xmlns=\"http://www.opengis.net/sld\"";
@@ -208,5 +208,5 @@
  */
 function __autoload($class_name) {
     require_once $class_name . '.php';
-}
+}
 ?>
\ No newline at end of file



More information about the Mapbender_commits mailing list