[postgis-devel] [PostGIS] #2092: libxml2.8.0 namespace prefix issue
PostGIS
trac at osgeo.org
Sun Nov 11 16:23:21 PST 2012
#2092: libxml2.8.0 namespace prefix issue
----------------------+-----------------------------------------------------
Reporter: colivier | Owner: colivier
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.0.2
Component: postgis | Version: 2.0.x
Keywords: |
----------------------+-----------------------------------------------------
This one use to work with libxml2 2.7x
{{{
SELECT 'linestring_1',
ST_AsEWKT(ST_GeomFromGML('<gml:LineString><gml:coordinates>1,2
3,4</gml:coordinates></gml:LineString>'));
}}}
But don't work anymore with 2.8.0
Removing the ns_prefix string make it work:
{{{
SELECT 'linestring_1',
ST_AsEWKT(ST_GeomFromGML('<LineString><coordinates>1,2
3,4</coordinates></LineString>'))
}}}
Defining a gml namespace uri don't seems to change behaviour.
Issue on both 1.5 and 2.0 branch
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/2092>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list