From: Paul Ramsey Date: Mon, 30 Nov 2009 20:44:56 +0000 (+0000) Subject: Move the fromGML test into the in_gml.sql file, so that it will be properly excluded... X-Git-Tag: 1.5.0b1~144 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=214aa172b5085aa37589362aa43552a1da35d697;p=postgis Move the fromGML test into the in_gml.sql file, so that it will be properly excluded when libxml2 is not available. git-svn-id: http://svn.osgeo.org/postgis/trunk@4945 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/regress/in_gml.sql b/regress/in_gml.sql index 45a5c2760..9487b331a 100644 --- a/regress/in_gml.sql +++ b/regress/in_gml.sql @@ -1069,6 +1069,10 @@ SELECT 'double_30', ST_AsEWKT(ST_GeomFromGML('1 -1.23E 21 $0%@#$^%#')); +-- Ticket #273 -- +SELECT '#273', ST_AsEWKT(ST_GeomFromGML('1,2')); + + diff --git a/regress/in_gml_expected b/regress/in_gml_expected index 264efe670..3a1805290 100644 --- a/regress/in_gml_expected +++ b/regress/in_gml_expected @@ -345,3 +345,4 @@ ERROR: invalid GML representation ERROR: invalid GML representation ERROR: invalid GML representation ERROR: invalid GML representation +#273|POINT(1 2) \ No newline at end of file diff --git a/regress/tickets.sql b/regress/tickets.sql index 96fe57236..dc901c09f 100644 --- a/regress/tickets.sql +++ b/regress/tickets.sql @@ -220,9 +220,6 @@ SELECT '#272', ST_LineCrossingDirection(foo.line1, foo.line2) As l1_cross_l2 , FROM (SELECT ST_GeomFromText('LINESTRING(25 169,89 114,40 70,86 43)') As line1, ST_GeomFromText('LINESTRING(2.99 90.16,71 74,20 140,171 154)') As line2 ) As foo; --- #273 -- -SELECT '#273', ST_AsEWKT(ST_GeomFromGML('1,2')); - -- #277 -- SELECT '#277', ST_AsGML(2, GeomFromText('POINT(1 1e308)')); diff --git a/regress/tickets_expected b/regress/tickets_expected index d03154cee..574d38553 100644 --- a/regress/tickets_expected +++ b/regress/tickets_expected @@ -61,7 +61,6 @@ SELECT #263|SRID=4326;POINT(-119.5438 34.9443)|t|t|t #271|t #272|-2|2 -#273|POINT(1 2) #277|1,1e+308 #299|2 #304