[postgis-devel] XML Prefixes

Paul Ramsey pramsey at opengeo.org
Sun Nov 11 16:24:27 PST 2012

I think I found the magic incantation (bah,Sunday afternoon well spent...)

xmldoc = xmlReadMemory(xml, xml_size, "noname.xml", NULL, XML_PARSE_SAX1);


On Sun, Nov 11, 2012 at 4:10 PM, Oliver Courtin
<olivier.courtin at oslandia.com> wrote:
> Le 12 nov. 2012 à 01:00, Paul Ramsey a écrit :
> Hi Paul,
>>> I just sat down at my desktop computer for the first time in a while
>>> and built 1.5 and made check on it, and got errors in the in_gml
>>> regression.
>>> It looks like libxml2 2.8.0 is returning "gml:Point" as the tag name
>>> for a "Point" and not returning anything in the namespace slot. I'm
>>> upgrading my macports on the laptop now to see if the problem happens
>>> on all my machines, but I'm wondering if anyone else has seen in_gml
>>> regressions starting to fail with newer versions of libxml2?
>>> I haven't found any way to force libxml2 to recognize and strip the
>>> namespace prefix either, it's a stumper.
>> Confirmed, I've not got it broken on both my laptop and desktop. The
>> common element seems to be moving to libxml2 2.8.0
> I also have the same kind of regression issue with  1.5 branch and libxml2 2.8.0
> (didn't yet try, but guess it should be the same for 2.0 branch)
> Need to explore it further to look for a solution/workaround...
> O.
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel

More information about the postgis-devel mailing list