restore default namespace after XML parsing, to guard against weird "invalid register...
authorRichard Fairhurst <richard@systemed.net>
Sun, 5 Dec 2010 20:48:59 +0000 (20:48 +0000)
committerRichard Fairhurst <richard@systemed.net>
Sun, 5 Dec 2010 20:48:59 +0000 (20:48 +0000)
net/systemeD/halcyon/connection/Trace.as
net/systemeD/potlatch2/collections/Imagery.as
net/systemeD/potlatch2/utils/BikeShopLoader.as
net/systemeD/potlatch2/utils/GpxImporter.as
net/systemeD/potlatch2/utils/KmlImporter.as
net/systemeD/potlatch2/utils/TrackLoader.as

index 4662bf4589d6c48e1e97a9076582e540e2541b6c..2986f1d8f2621562a003b334e69d400e2b3e7585 100644 (file)
@@ -127,6 +127,7 @@ package net.systemeD.halcyon.connection {
                                layer.registerPOI(node);
             }
 
+                       default xml namespace = new Namespace("");
             layer.paint.updateEntityUIs(layer.getObjectsByBbox(map.edge_l,map.edge_r,map.edge_t,map.edge_b), true, false);
         }
     }
index fd3a3aed38e58de43f862615f2d2eb28b4f8df09..6dc69575ac070a68713cb8d57f7d16e7d9303dec 100644 (file)
@@ -146,6 +146,7 @@ package net.systemeD.potlatch2.collections {
                 }
                 attribution[ImageryProvider.Attribution]=areas;
             }
+                       default xml namespace = new Namespace("");
                        bg.attribution=attribution;
                        setAttribution();
                }
index 71fc11888b859a47b70fad8b824a3e6a1882dbad..7b396dbf9adf2622576a9cacb42dcb51d6bf34b5 100644 (file)
@@ -62,6 +62,7 @@ package net.systemeD.potlatch2.utils {
               tags["description"] = String(placemark.description);
               var marker:Marker = layer.createMarker(tags, lat, lon);
             }
+                       default xml namespace = new Namespace("");
             layer.paint.updateEntityUIs(layer.getObjectsByBbox(map.edge_l,map.edge_r,map.edge_t,map.edge_b), true, false);
         }
 
index 40f41df1b5dd4c646ec302df5b382412ce7f3696..43070d44d03c8289f22977e33d57bad2d0cf2ee7 100644 (file)
@@ -44,6 +44,8 @@ package net.systemeD.potlatch2.utils {
                                var node:Node = container.createNode(tags, wpt.@lat, wpt.@lon);
                                container.registerPOI(node);
                        }
+
+                       default xml namespace = new Namespace("");
                }
        }
 }
index 9e9922a95901770981d8e5ce3a04f2bcac0c13f7..b8ee48df8e571ee4b5434838caec0e23a0dc984b 100644 (file)
@@ -72,6 +72,7 @@ package net.systemeD.potlatch2.utils {
                     }
                 }
             }
+                       default xml namespace = new Namespace("");
         }
 
         private function importNode(coordinates:String, tags:Object): Node {
index 4a0e170107a2eb1ad015342a5a21bcb6103c879d..f11dcd3150c0c1bcdcc474dc0ac007397c5503d6 100644 (file)
@@ -71,6 +71,7 @@ package net.systemeD.potlatch2.utils {
                 if (nodestring.length > 0) { layer.createWay({}, nodestring); }
                        }
             
+                       default xml namespace = new Namespace("");
                        layer.paint.updateEntityUIs(layer.getObjectsByBbox(left,right,top,bottom), false, false);
                }