it's as Ingo said, there is no need to deal with the prefix.

Your should use Property.getNamespaceURI() to determine the
namespace (i.e. "DAV:" for WebDAV property) and Property.getLocalname()
to get the properties name without the prefix. So you have to never
mind the prefix actually used.

Regards, Stefan



Paul Hussein wrote:
It matters when I want to somehow determine which is a custom property and
which is not.

In IIS the system ones are prefixed with a:, and in slide d:.


Is there another way to determine what is a predefined system property, and a custom one?


Cheers

Paul.


-----Original Message-----
From: Ingo Brunberg [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 23, 2004 9:29 AM
To: [EMAIL PROTECTED]
Subject: Re: Property Namespaces question


That's because it doesn't really matter which prefix you use. It's just XML. The important part is the namespace itself which is bound to the prefix by a xmlns declaration.

Ingo


Hi,

Can someone do me the favour of answering this question.

Why when I connect to a IIS WebDAV server when i call

property.getName() on

a property it is prefixed by 'a:' and for Slide it is prefixed

by 'D:' when

I explicitly enter my namespace when creating the property.

Is there a standard in the protocol for this or is this vendor

independant,

and why does it not prefix with the namespace I entered.


Cheers


Paul.


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





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




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



Reply via email to