You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by bu...@apache.org on 2005/02/10 22:23:38 UTC
DO NOT REPLY [Bug 33503] New: -
PropPatchMethod() fails with duplicate names in different namespaces
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33503>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=33503
Summary: PropPatchMethod() fails with duplicate names in
different namespaces
Product: Slide
Version: 2.1
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: P2
Component: WebDAV client
AssignedTo: slide-dev@jakarta.apache.org
ReportedBy: gianugo@apache.org
PropPatchMethod uses an Hashtable to bulk-add properties to be changed before
executing the method. Unfortunately, the Hashtable keys are built using the
property's localName + namespace prefix. This means that these two different
properties:
<a xmlns="foo"/>
<a xmlns="bar"/>
lead to a name collision in the resulting hashtable, so only the latter
survives. Patch is trivial (use the namespace URI instead than the prefix) and
attached.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org