Bug 30387 - propfind with string property name containing no namespace is getting hardcoded to DAV: namespace
Summary: propfind with string property name containing no namespace is getting hardcod...
Status: NEW
Alias: None
Product: Slide
Classification: Unclassified
Component: WebDAV client (show other bugs)
Version: 2.1
Hardware: Other other
: P3 normal (vote)
Target Milestone: ---
Assignee: Slide Developer List
URL:
Keywords:
Depends on:
Blocks: 31521
  Show dependency tree
 
Reported: 2004-07-29 15:40 UTC by Jessica Lee
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jessica Lee 2004-07-29 15:40:43 UTC
When making a WebdavResource.propFindMethod call and passing a vector with 
property name strings, if I have a string property name with null namespace, 
the PropFindMethod.setPropertyNames(Enumeration propertyNames) method hardcodes 
the namespace to DAV:.
 
See line 288 in source
 * $Header: /home/cvs/jakarta-
slide/webdavclient/clientlib/src/java/org/apache/webdav/lib/methods/PropFindMeth
od.java,v 1.4 2004/04/22 07:02:48 ozeigermann Exp $
 * $Revision: 1.4 $
 * $Date: 2004/04/22 07:02:48 $

Shouldn't the DAV: not be hardcoded there?  There may be other places which 
would need to change.  This would also mean that constants for WebDAV 
properties would have to be changed to contain the DAV: namespace?