[postgis-devel] ST_asGML strictness

Olivier Courtin olivier.courtin at oslandia.com
Mon Mar 22 23:07:38 PDT 2010


On Mar 23, 2010, at 12:53 AM, strk wrote:

> There would be no way to obtain this:
>
> <:Point><:pos srsDimension="2">0 0</:pos></:Point>

Well I dont think it even make sense, to have an empty
prefix in XML:

echo "<:foo xmlns:='http://foo.bar' />" | xmlllint -
-:1: namespace error : Failed to parse QName 'xmlns:'


So the 3 previous possibilities look fine (no prefix, gml prefix,
an another prefix)

--
Olivier



More information about the postgis-devel mailing list