DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14969>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14969 roundtrip of namespaces in mixed property content broken ------- Additional Comments From [EMAIL PROTECTED] 2003-03-28 23:26 ------- Here's the crux of the problem, modules/dav/main/props.c#dav_prop_exec does not pass the namespace to the store hook: err = (*propdb->db_hooks->store)(propdb->db, &name, ctx->prop, propdb->mapping); The function handling the "store" has no idea how to map the namespace id back to the name for deserialization. For the mod_dav_fs, it will have to store it in some normalized form on the backend. It should pass this namespace array, like: err = (*propdb->db_hooks->store)(propdb->db, propdb->ns_xlate, &name, ctx->prop, propdb->mapping); or probably better would be to pass an apr_xml_doc type instead of apr_xml_elem. 'course, this is going to break any backend to mod_dav, but it is critical to maintaining namespaces in property value tags. I've tested this exact change and it resolved an issue with our backend (a variant on Catacomb.) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
