On 4 Jan 2004, at 15:47, Mike Oliver wrote:


Stefano,

Not silly at all see below.

Ollie

Stefano Mazzocchi wrote:


On 3 Jan 2004, at 17:15, Mike Oliver wrote:


Gents,

I would like to propose an enhancement to the Slide Client PropPatch method such that the command line can be used to more fully expose the webdavresource proppatchMethod signatures. Currently only

webdavResource.proppatchMethod(
               path, new PropertyName("DAV:",name), value)

Is implemented and this does not allow specification of another namespace other than DAV:

Currently the above line IS what is in the Slide Client, i.e. no choice as to which namespace the propput can use, "DAV:" is hard coded in the Slide Client. That's my point, and part of my proposal is to open that up so a "whatever:" namespace CAN be used. Since namespaces are used to allow disambiguation of names, the hard coding of the DAV: namespace means that if there is a conflict between the name you need to use and a DAV: name you are scrod.


I don't see this. Why can't you do


webdavResource.proppatchMethod(path, new PropertyName("whatever:",name),value);

The proposal is not to change webdavResource as it has plenty of overloaded signatures for proppatch that accomodate many more than the ONE implemented in the Slide Client.java

Gotcha.


Then +1, having hardcoded "DAV:" namespace is not only silly, but totally harmful!

--
Stefano.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to