Changeset 7721 for trunk


Ignore:
Timestamp:
Apr 12, 2010, 6:23:12 PM (15 years ago)
Author:
Pieter Naber
Message:

This troubling with the <?xml version="1.0" encoding="UTF-8"?> statement at the beginning of the KML file...

Location:
trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/inc/KMLFile.class.php

    r7720 r7721  
    88class KMLFile {
    99        private $template = '
    10                 <\?xml version="1.0" encoding="UTF-8"?>
    1110                <kml xmlns="http://www.opengis.net/kml/2.2">
    1211                        <Document>
  • trunk/src/inc/LogHandler.class.php

    r7720 r7721  
    8585
    8686                if ($logno <= LOG_LEVEL_ECHO) {
     87                        // TODO: David: Make it possible to echo as comment in a KML, HTML, SQL or an other file
    8788                        echo $errorString;
    8889                }
  • trunk/src/index.php

    r7720 r7721  
    5555
    5656// And echo the result to the screen
     57// TODO: Need to fix this wierd error... Or is it just USBWebserver? Line is invisible!
     58echo '<?xml version="1.0" encoding="UTF-8"?>';
    5759echo $kmlFile->toString();
    5860?>
Note: See TracChangeset for help on using the changeset viewer.