CloudPolis / webdav-client-cpp

:cloud: C++ WebDAV Client provides easy and convenient to work with WebDAV-servers.
http://cloudpolis.github.io/webdav-client-cpp/
Other
120 stars 52 forks source link

Handling of XML namespaces in PROPFIND responds #17

Closed telkamp closed 6 years ago

telkamp commented 6 years ago

Having a QNAP NAS as WebDAV server where Apache is installed. PROPFIND requests returns a respond like this: [...]

/temp/dir_with_files_and_dirs/ [...] So we get "D" instead of "d" and "lp1:resourcetype" instead of "d:resourcetype" This is not handled correctly by webdav-client-cpp, e.g. in the ::info method. For an example of a PROPFIND respond see also http://people.apache.org/~thorsten/proposal/docs/components/repository/webdav.html Nice code example here: https://stackoverflow.com/questions/21162186/pugixml-parse-namespace-with-prefix-mapping-and-without-prefix-mappig
rusdevops commented 6 years ago

@telkamp, Thanks for the comment, soon we will solve this issue.