W3C home > Mailing lists > Public > ietf-dav-versioning@w3.org > July to September 2001

RE: Use of attributes

From: Lisa Dusseault <lisa@xythos.com>
Date: Mon, 6 Aug 2001 12:01:13 -0700
To: "Clemm, Geoff" <gclemm@rational.com>, "DeltaV" <ietf-dav-versioning@w3.org>
> Since (as you indicate) one should not place properties in
> the default namespace, having the default be something that
> we discourage and is likely to not occur, does not make much
> sense to me.

I think what Julian pointed out is different.  A live property in the NULL
namespace would need to be represented.  XML allows elements to have no
namespace.  DAV did not forbid this.

> The fact that the default is the DAV: namespace is specified
> in the DTD declaration in the protocol.  We could repeat that
> in text I suppose.

That's not true, and I would object to that if it were true.  Anything can
be the default namespace, or you don't need to have one.  The default
namespace is declared in each document.  E.g.

  <mydoc xmlns="foo" xmlns:D="DAV:">

In the above example, the foo namespace is the default.  None of these is
the NULL namespace.

  <mydoc xmlns:D="DAV:">

In the second example, the default namespace is in the NULL namespace. There
are two elements in the NULL namespace.

Both DAV clients and servers must be able to accept DAV request/response
bodies where DAV: is the default namespace, where some other namespace is
the default namespace, and where the null namespace is the default
namespace.  Both clients and servers need to be able to handle extensions
that are in the null namespace.

Received on Monday, 6 August 2001 15:01:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:55:47 UTC