[postgis-devel] [PostGIS] #2092: libxml2.8.0 namespace prefix issue
PostGIS
trac at osgeo.org
Sun Nov 11 17:51:54 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: |
----------------------+-----------------------------------------------------
Comment(by pramsey):
The problem is is_kml_namespace (probably is_gml_namespace has similar
issues, they just aren't tested as much) testing the name space element,
which looks like this:
{{{
$11 = {
next = 0x0,
type = XML_NAMESPACE_DECL,
href = 0x0,
prefix = 0x100a038e0 "kml",
_private = 0x0,
context = 0x0
}
}}}
Note that (a) it exists and (b) is has a null href. The routine expects
that if you have an ns element, it's got everything, and that if you don't
have one, you can assume none was declared. I guess the old routine
stripped the prefixes without populating the name space elements, fun.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2092#comment:3>
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