Package: python-webdav Version: 0.9.8-3 Severity: wishlist Dear Maintainer,
there's currently no way to return property values from dav_interface.get_prop() that are anything else than plain characters strings with no XML-unsafe characters. While PROPFIND.mk_prop_response() would accept a xml.dom.minidom.Element or even a list list of those, the Element can only be created from inside mk_prop_response(): the xml.dom.minidom implementation requires the Document object for instantiating Nodes, but PROPFIND.mk_prop_response() and PROPFIND.get_propvalues() do not pass the Document object down to dav_interface.get_prop(). I'm not sure what the best way to add support for non-string property values would be. Passing the Document as another parameter to get_prop() would break existing code using pywebdav. Maybe introducing a new method get_prop2() and falling back to the one? If the check is done outside the loop, it may be reasonably efficient. -- System Information: Debian Release: 7.0 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable'), (100, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.8-trunk-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python-webdav depends on: ii python 2.7.3-4 ii python-pkg-resources 0.6.24-1 python-webdav recommends no packages. python-webdav suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org