<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
<br><br><div>> Date: Thu, 3 Nov 2011 15:15:23 +0100<br>> From: sredl@ccss.cz<br>> To: tomkralidis@hotmail.com<br>> CC: owslib-devel@lists.sourceforge.net<br>> Subject: WFS 1.1.0<br>> <br>> <br>> Hi Tom,<br>> <br>> thank you very much for WFS 1.1.0. I have fixed two small bugs (see the <br>> patch below).<br>> <br>> Here:<br>> <br>> http://sourceforge.net/apps/trac/owslib/browser/trunk/owslib/feature/wfs110.py#L222<br>> <br>> the BoundingBox wouldn't find the lower and upper corner as it wouldn't <br>> know the proper namespace.<br>> <br>> And just a typo here:<br>> <br>> http://sourceforge.net/apps/trac/owslib/browser/trunk/owslib/feature/wfs110.py#L242<br>> <br>> Hope that helps. Thank you again,<br>> <br>> Michal<br>> <br>> <br>> Index: wfs110.py<br>> ===================================================================<br>> --- wfs110.py   (revision 1763)<br>> +++ wfs110.py     (working copy)<br>> @@ -219,7 +219,7 @@<br>> <br>>           # bbox<br>>           self.boundingBoxWGS84 = None<br>> -        b = BoundingBox(elem.find(nspath_eval('ows:WGS84BoundingBox', <br>> namespaces)))<br>> +        b = BoundingBox(elem.find(nspath_eval('ows:WGS84BoundingBox', <br>> namespaces)), namespaces['ows'])<br>>           if b is not None:<br>>               self.boundingBoxWGS84 = (<br>>                       float(b.minx), float(b.miny),<br>> @@ -239,7 +239,7 @@<br>> <br>>           # MetadataURLs<br>>           self.metadataUrls = []<br>> -        for m in elem.findall(nspath('MetadataURL')):<br>> +        for m in elem.findall(util.nspath('MetadataURL')):<br>>               metadataUrl = {<br>>                   'type': testXMLValue(m.attrib['type'], attrib=True),<br>>                   'format': testXMLValue(m.find('Format')),<br>> <br><br>Thanks Michal for the patch!  Applied in r1764.<br></div>                                        </div></body>
</html>