[ka-Map-users] Parse error in htdocs/XMLOverlay/xmlgetline.php

Lorenzo Becchi lorenzo at ominiverdi.com
Mon Sep 18 09:24:12 EDT 2006


Daniel thanks for this bugfix
I've committed on CVS

ciao
lorenzo




On 13/set/06, at 23:32, Daniel Ceregatti wrote:

> Hi list,
>
> I keep my project in svn. I export from ka-map CVS, and commit to  
> svn. I
> have a post-commit hook which runs a lint check on all php files. It
> found this:
>
> PHP Parse error:  syntax error, unexpected T_STRING in
> ka-map/htdocs/XMLOverlay/xmlgetline.php on line 12
>
> Parse error: syntax error, unexpected T_STRING in
> ka-map/htdocs/XMLOverlay/xmlgetline.php on line 12
> Errors parsing ka-map/htdocs/XMLOverlay/xmlgetline.php
>
> The fix:
>
> diff -Naup xmlgetline.php.orig xmlgetline.php
> --- xmlgetline.php.orig 2006-09-13 14:29:38.939888250 -0700
> +++ xmlgetline.php      2006-09-13 14:29:43.600179500 -0700
> @@ -8,8 +8,8 @@
>
>  header("Content-Type: text/xml");
>  header("Cache-Control: no-store, no-cache, must-revalidate");
> -?>
>  echo '<?xml version="1.0" encoding="UTF-8"?>';
> +?>
>  <kml xmlns="http://earth.google.com/kml/2.0">
>  <Placemark>
>    <description>Transparent green wall with yellow outlines</ 
> description>
>
> Daniel Ceregatti
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users



More information about the ka-Map-users mailing list