X-Git-Url: https://git.phdru.name/?p=extfs.d.git;a=blobdiff_plain;f=xml;h=70df1c5b98e2bfc4de1b9690a9644f3df61209e3;hp=e8049dd146e85617042f90f364c0e2ca413bc73d;hb=b8d8fa6472bdcdb76918dae57893910d411c8245;hpb=1c8482de93f54ce3724f8c93197620272657ed94 diff --git a/xml b/xml index e8049dd..70df1c5 100755 --- a/xml +++ b/xml @@ -40,9 +40,9 @@ The VFS was inspired by a FUSE xmlfs: https://github.com/halhen/xmlfs """ -__version__ = "1.1.0" +__version__ = "1.1.1" __author__ = "Oleg Broytman " -__copyright__ = "Copyright (C) 2013 PhiloSoft Design" +__copyright__ = "Copyright (C) 2013, 2014 PhiloSoft Design" __license__ = "GPL" force_implementation = None # Can be None for default choice, @@ -327,9 +327,10 @@ if use_lxml: this_nsmap = node.nsmap parent = node.getparent() if parent is not None: - parents_nsmap = parent.nsmap - for key in parents_nsmap: - del this_nsmap[key] + parent_nsmap = parent.nsmap + for key in parent_nsmap: + if this_nsmap[key] == parent_nsmap[key]: + del this_nsmap[key] return this_nsmap def has_ns(self, node):